How could I make a slime block system?

I need a slime block system in my game that is similar to Minecraft. When you fall onto the block, you get launched back up to a height depending on from how high you jumped before hitting the block.

I have tried using velocity and checking the height from when the player started falling. It worked, but not consistently. Jumping from too high, would not trigger the system. Lag would not make the player jump again.

Next, I tried to use BodyVelocity. It semi-worked. It didn’t give the same feeling as the slime blocks in Minecraft, was too slow launching me back up, and annoyingly would launch me up when I just stood on it. When I stood on it, due to not falling from a height, It would just lock my player in place for a second, let me move for a second, and so on.

I am thinking about using TweenService on the HumanoidRootPart, but I don’t know if that would work as intended.

If you have any ideas or can help me in any way, please let me know in the comments!

1 Like

If you are using a .touched event, change it to a Ray Cast. Touched events are affected by lag. If the Ray finds any of the characters body parts, then make them jump higher.