#I can't fix this script to stop an animation
18 messages · Page 1 of 1 (latest)
when the player stops walking the animation stop
to avoid running on the air
but its not working
(Ps: its a toggle sprint)
good for mobile players
.
i'm not sure this would work, but maybe add a check? if the player's speed is 0 then stop the animation from playing
give that a try
i'm trying to do this
you know how i can do that?
i tried doing this
local function isPlayerMoving()
local velocity = char.HumanoidRootPart.Velocity
return velocity.magnitude > 0
end
try this
ok
** You are now Level 10! **