Animations don't play

animations will not play in this simple local script
script:

local tool = script.Parent

tool.Activated:Connect(function(hit)
        local hum = game.Players.LocalPlayer.Character:WaitForChild("Humanoid")
	    local Animator = hum:FindFirstChild("Animator")
		local anim = Instance.new("Animation")
		anim.AnimationId = "rbxassetid://11817692882"
		local SwingAnim = Animator:LoadAnimation(anim)
		SwingAnim:Play()
end)

I have this connected to a serverscript to but didn’t put that part in

ok so they do play, but only when you are not holding the tool

I published it wrong lol
it’s all fixed now

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