Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Animation not playing?

I made a script, when the player equips and clicks with a tool, the animation is put in their humanoid and played! The playing part isn't happening though. Here is my script

wait(1)
script.Parent.Equipped:connect(function(mouse)
    mouse.Button1Down:connect(function()
	local animation = script.Slash
	local plyr = script.Parent.Parent.Name
	local char = workspace:FindFirstChild(plyr)
	local anim = char.Humanoid:LoadAnimation(animation)
	print (anim)
	print("done")
    end)
end)

Please help!!! Thank you!!!

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.