Roblox listening for HumanoidRootPart.CFrame changes?

How would I listen for a player movement event? That includes falling due to gravity

1 Like

A changed event for the players position

1 Like

Changed event does not work with CFrame, Position, Velocity, etc

2 Likes

Can somebody answer please? –

You could listen via all of the Humanoid events. There are a ton of them for walking/falling etc.

If you don’t wanna do that you could just check the torso’s velocity.magnitude > 0 and put that in a loop/heartbeat.

Loop/Heartbeats do not sync with player movement, gives the script a delay, but I’ll try humanoid events

Only way to do that is to check each frame using a loop/heartbeat event if the CFrame has changed sadly, you could always make your own custom event that fires when that happens, though. Even with humanoid events, it isn’t always guaranteed to fire when the character moves.

Heartbeats and loops do sync with player movements as long as it’s not going over the network

I already tried Heartbeat, Stepped and even RenderStepped, they are all out of sync

Heartbeat fires after physics, so no, it syncs.

Source
3 Likes

Found out what the problem was Syncing part movement with character movement? - #3 by RoyStanford

1 Like