Answered by
5 years ago Edited 5 years ago
This is just an example, since you didn't show us the script, but you could do something like this with a while loop in a local script-
01 | player = game.Players.LocalPlayer |
03 | IdleAnim = script:WaitForChild(Animation 1 ) |
07 | tool.Equipped:Connect( function )(IdleAnim) |
11 | tool.Unequipped:Connect( function )(IdleAnim) |
15 | while player.Walkspeed = 0 and CanAnim do |
16 | player.Character.Humanoid:LoadAnimation(IdleAnim) |
It would be best if you show post the script here and link it, because this i'm sure that the script I made doesn't work, and it would clear things up for better scripters than me.