Problems with tool animations

Hello everyone, I’m trying to make an animation ff¡or a tool but id doesn’t work.

local tool = script.Parent
local anim = script.Parent:WaitForChild("Anim")
local debounce = false
local char = game.Players.LocalPlayer.Character or  game.Players.LocalPlayer.CharacterAdded:Wait()
local thing = char.Humanoid:LoadAnimation(anim)

tool.Activated:Connect(function()
		print("Tool was activated")
		if debounce == false then
		thing:Play()
		debounce = true
		wait(1)
		debounce = false
		end
	end)

1 Like
  1. Is your animation object set up with the animation ID?

  2. Is your animation’s priority high enough? You’ll need to configure that through the animation editor.

image

Core is in line with the default character animations, which can get a little weird (mixed up animations). Set your priority to idle, moement, or action.

2 Likes