Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Animation script isn't working? Not receiving an error?

Asked by 6 years ago
Edited 6 years ago
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.

0
Are you trying to play the animation when the player clicks or equips it hellmatic 1523 — 6y

Answer this question