Advertisement
eea

cmds

eea
Aug 4th, 2021 (edited)
435
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1.  
  2. owner.Chatted:Connect(function(message)
  3. if message:sub(1,6) == "//size" then
  4. local size = message:sub(8)
  5. local Char = owner.Character
  6. local Human = Char:WaitForChild("Humanoid")
  7. for s = Human.BodyHeightScale.Value,tonumber(size),(tonumber(size) - Human.BodyHeightScale.Value)/100 do
  8. Human.BodyWidthScale.Value = s
  9. Human.BodyDepthScale.Value = s
  10. Human.BodyHeightScale.Value = s
  11. Human.HeadScale.Value = s
  12. wait()
  13. end
  14. end
  15. if message:sub(1,6) == "//jump" then
  16. local jump = message:sub(8)
  17. local Char = owner.Character
  18. local Human = Char:WaitForChild("Humanoid")
  19. Human.JumpPower = jump
  20. end
  21. if message:sub(1,7) == "//speed" then
  22. local speed = message:sub(9)
  23. local Char = owner.Character
  24. local Human = Char:WaitForChild("Humanoid")
  25. Human.WalkSpeed = speed
  26. end
  27.  
  28. if message:sub(1, 8) == "//health" then
  29. local health = tonumber(message:sub(10))
  30. local hum = owner.Character.Humanoid
  31. if health > hum.MaxHealth then
  32. hum.MaxHealth = health
  33. hum.Health = health
  34. else
  35. hum.Health = health
  36. end
  37. end
  38. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement