Advertisement
bonniekawaiidesu

Untitled

Mar 2nd, 2019
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. prefix = "/e "
  2. game.Players.PlayerAdded:connect(function(p)
  3. p.Chatted:connect(function(m)
  4. m = m:lower()
  5. if m == prefix.."chld" then
  6. local a = Instance.new("Animation",p.Character)
  7. a.AnimationId = "rbxassetid://2914872449"
  8. local h = p.Character:FindFirstChild'Humanoid'
  9. local t = h:LoadAnimation(a)
  10. t:Play()
  11. --elseif m == prefix.."" then
  12. --code
  13. end
  14. end)
  15. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement