#basic movement animation script help

1 messages · Page 1 of 1 (latest)

forest coral
#

so im trying to make it where the player playes a animation where their move direction is not 0 but to stop the animation when it hits 0, for some reason the animation wont stop playing and i would like to know if i may have coded this wrong, and how to fix it

left thunder
#

Hum.Movedirection.Magnitude < 0

#

Use Movedirection.Magnitude

forest coral
#

ok ill see if that works thanks

#

it dident work sorry

snow geode
#

you can use while true do instead of hum.MoveDirection and below

#

and add an if statement to checking each one

#

and you should use "local char = plr.Character or plr.CharacterAdded:Wait()"

#

instead using repeat until

#

Also you should add a player moves checking