Cannot stop animation after unequipped tool?
I have been trying to make a two handed gun for my game using a animation, but i can't make it stop when i want it to. I'm stumped
Can anyone help?
Thanks in advance
My last attempt(inside localscript):
1 | script.Parent.Equipped:Connect( function () |
2 | animation = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script.Parent.GunIdle) |
6 | script.Parent.Unequipped:Connect( function () |
7 | animation = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script.Parent.GunIdle) |
Also would like to add, no errors are produces.
Link to gif: https://gyazo.com/89aa581f12f434344febb75ce4149007