Tool = script.Parent
Tool.Activated:connect(function()
local char = Tool.Parent
local hum = char.Humanoid
local a = hum:LoadAnimation(Tool.Animation)
a:Play()
end)
Not receiving an error, animation just wont play.
Tool = script.Parent
Tool.Activated:connect(function()
local char = Tool.Parent
local hum = char.Humanoid
local a = hum:LoadAnimation(Tool.Animation)
a:Play()
end)
Not receiving an error, animation just wont play.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Are you trying to play the animation when the player clicks or equips it