Sorry if this is late reply, but I'm looking into a similar block function. The given code here doesn't quite do what I want. I don't want the player pushed into the air when they collide with the block. I want them to interact with the block normally, but if the player jumps, I want to be able to double (or more) their jump height.
Anyone know of a way to do this? I've looked at examples of "jump boots" and the like, but they're not quite working.