I am trying to play an animation when the user activates a tool. It prints to the console “Hello World”, but the animation won’t play.
I then tried putting the script alone and trying to make it run at server start, it worked, then I did that same thing but equipped the tool before the animation was supposed to play and it didn’t play.
How could I fix this?
local player = game.Players.LocalPlayer
local Animation = Instance.new("Animation", player.Character)
Animation.AnimationId = "rbxassetid://myAnimationID"
local AnimationLoaded = player.Character.Humanoid:LoadAnimation(Animation)