Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- prefix = "/e "
- game.Players.PlayerAdded:connect(function(p)
- p.Chatted:connect(function(m)
- m = m:lower()
- if m == prefix.."chld" then
- local a = Instance.new("Animation",p.Character)
- a.AnimationId = "rbxassetid://2914872449"
- local h = p.Character:FindFirstChild'Humanoid'
- local t = h:LoadAnimation(a)
- t:Play()
- --elseif m == prefix.."" then
- --code
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement