Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to tell if a player is moving or not?

How do I know is the player is moving around by Keys , the mobile stick , etc ?

1 comment

0

There is no official way to know, but try checking their walkspeed

1 answer

✓ Accepted answer

Insert a script in the StarterCharacterScripts and write the following:

local Humanoid = script.Parent.Humanoid

Humanoid.Running:Connect(function()
	
	--Write what you want to do to the player here.
	--This function will run as soon as the player moves from their position
	
end)

This discussion is preserved as it was. New answers, comments, and votes are closed.