I’m making a infinite road type game and like all of those types of games the vehicle isn’t actually moving, the road is moving. However I want players to be able to jump off the vehicle and onto the road but I cant figure out how I would make the players move backwards constantly to have an effect to make it look like they actually jumped off. Something like this: 2021-11-02 12-50-54
I believe you’d most likely change the players CFrame (with HumanoidRootPart)
You can read more on how to do this here CFrame | Roblox Creator Documentation and there are also a bunch of tutorials around on moving parts, then you’d just have to insert this into a loop.
That’s not lag, that’s because you’re not moving the HMR’s CFrame correctly. You’re decreasing the Y component of the CFrame by too little each time in the loop so it only moves slightly down.
repeat
task.wait()
HMR.CFrame -= CFrame.new(0, -0.5, 0) --change these values to fit your needs
until HMR.CFrame.Y == 0 --whatever Y value corresponds with hitting the ground
1 Like