local Tool = script.Parent
local Animation = Tool.Animation

Tool.Equipped:Connect(function()
	local Character = Tool.Parent
	local Humanoid = Character.Humanoid

	local AnimationTrack = Humanoid:LoadAnimation(Animation)
	AnimationTrack:Play()
end)

https://imgur.com/a/XVVVNeD

This just ends up doing nothing and I don't really know where I made an error