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

How I get when the player moves?

When they "walk", whats the function?

2 answers

✓ Accepted answer

You would use the Running (Event) function. You can detect if a player is or isn't walking.

For a specific player:

game.Workspace.Player1.Humanoid.Running:connect(function(speed)
	if speed > 0 then
	--When they're walking.
	else
	--If they aren't.
	end
end)

But if you are going to put it into the players then you would replace game.Workspace.Player1 with:

game.Players.LocalPlayer.Character

Hope this helps!

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