Hi I’m having trouble with my tool animation script.
I’m using a local script to play an animation whenever the tool is activated, for my other games this exact script worked, but now it isn’t. The animation is for a R6 player too, I’ve never made tool animations for that player model type so maybe I’m doing something wrong?
local tool = script.Parent
local animation = Instance.new("Animation")
animation.AnimationId = "rbxassetid://113100054232760"
local debounce = false
tool.Activated:Connect(function()
if debounce == false then
debounce = true
tool.Parent:FindFirstChild("Humanoid").Animator:LoadAnimation(animation):Play()
wait(1)
debounce = false
end
end)
I set the animation ID owner to my group since this is a group game as well. It doesn’t print any errors too, the animation just doesn’t play.