When I click with a tool it's supposed to play an animation which it does, but it only works AFTER the first click (so I have to click twice before the animation actually plays).
local animation = Instance.new("Animation", character)
animation.AnimationId = "rbxassetid://04453025778"
local playAnimation = character:FindFirstChild("Humanoid"):LoadAnimation(animation)
playAnimation:Play()
wait(playAnimation.Length)
*assume that character is already initialized

1 comment
Thank you so much!