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

Why does my '/e handspring' animation not work with no output?

Asked by
obcdino 113
9 years ago

I currently made an animation with the help of the wiki, and I also made a script to play it when you say "/e handspring"

The problem is that it couldn't load it (by the output), so I changed the script into a localscript. Now the output is gone, and the animation still doesn't play.

Any help?

Animation chat script:

game.Players.PlayerAdded:connect(function(plr)
    plr.Chatted:connect(function(msg)
    if msg == "/e handspring" then
    local animation = plr.Character.Humanoid:LoadAnimation(script.Animation)
    animation:Play()
    end
end)
end)

Answer this question