Tool.Equipped not running?

So I have a script inside of a tool(Yes its a local script)

And tool.Equipped and tool.Unequipped are not running.

And I have no idea why! Can anyone tell me?

BTW there are no errors!

local tool = script.Parent

local player = game:GetService('Players').LocalPlayer

player.CharacterAdded:Wait()

local char = player.Character

-- load anims
local anims = tool:FindFirstChild('Anims')

local function loadAnim(anim)
	local loadedAnim = char:WaitForChild('Humanoid'):LoadAnimation(anim)
	return loadedAnim
end


local scrape = loadAnim(anims:WaitForChild('Scrape'))

warn(scrape)

tool.Equipped:Connect(function()
	warn('playing')
	scrape:Play()
end)


tool.Unequipped:Connect(function()
	scrape:Stop()
end)

Nvm figured out i had to set a value in the tool.

I feel so dumb lol

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.