I actually have no idea
✓ ANSWER ACCEPTED
how do I check If a player is moving?
2 answers
✓ Accepted answer
local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.Character:Wait()
local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
local Velocity = HumanoidRootPart.Velocity.Magnitude
while wait(0.01) do
if Player.Character.HumanoidRootPart.Velocity.Magnitude >= 16 then
-- Do stuff here
end
end
Create a LocalScript in StarterCharacterScripts and insert this there.
Hope this helps!
With a simple search, you could find this: https://devforum.roblox.com/t/check-if-the-player-is-moving/535382
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
thank you
No problem!