May you help me fix the animation script?
Here is the script :
01 | player = game.Players.LocalPlayer |
02 | mouse = player:GetMouse() |
05 | anim.a = player.Character.Humanoid:LoadAnimation(script.Dance) |
07 | mouse.KeyDown:connect( function (key) |
14 | elseif key = = "v" then |
15 | x = player.Character.Humanoid:LoadAnimation(script.Dub) |
20 | elseif key = = "b" then |
21 | z = player.Character.Humanoid:LoadAnimation(script.Boogie) |
27 | z = player.Character.Humanoid:LoadAnimation(script.Moon) |
the first problem is when player dies the script is not active and he needs to reset several times to get it work.
the second problem is that when people spam with some button the animation don't stop and he needs to reset what making again the first problem.
Thanks for all the helpers