This doesn't work, but it doesn't look right anyway.
game.Players.PlayerAdded:connect(function(player)
player.Chatted:connect(function(msg)
if msg == "/e flap" then
local animTrack = Humanoid:LoadAnimation(animation)
animTrack:Play()
end
How would I do it properly?

4 comments
Thanks for answering all my questions :3
No problem Wizardel! I just like to help people out. Send me a Friend Request on ROBLOX and on here!
You also forgot to close the PlayerAdded event.
Ah, yes. Let me add that