Advertisement
Kamado

Speed

May 8th, 2021
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. command /speed [<text>] [<number>]:
  2. executable by: players
  3. permission: admin
  4. permission message: &cYou don't have permission.
  5. trigger:
  6. if arg 1 is not set:
  7. send "&8&m----------------------------"
  8. send "&a&oPlease use &7fly&8/&7walk &8(&enumber&8)"
  9. send "&7Available speed for fly and walk&8:"
  10. send "&e1/2 or 3"
  11. send "&8&m----------------------------"
  12. else:
  13. if arg 1 is "walk":
  14. if arg 2 is not set:
  15. send "&a&oPlease use&8: &7/speed walk (number)"
  16. if arg 2 is 1:
  17. set the player's walk speed to 0.2
  18. message "&7Walking set back to normal."
  19. if arg 2 is 2:
  20. set the player's walk speed to 2
  21. message "&7Walking speed set to 2."
  22. if arg 2 is 3:
  23. set the player's walk speed to 3
  24. message "Walking speed set to 3."
  25. if arg 2 is more than 3:
  26. message "&cSorry, but you can only use at number 3"
  27. if arg 1 is "fly":
  28. if arg 2 is not set:
  29. send "&a&oPlease use&8: &7/speed fly (number)"
  30. if arg 2 is 1:
  31. set the player's fly speed to 0.1
  32. message "&7Fly speed set back to normal."
  33. if arg 2 is 2:
  34. set the player's fly speed to 2
  35. message "&7Fly speed set to 2"
  36. if arg 2 is 3:
  37. set the player's fly speed to 3
  38. message "&7Fly speed set to 3"
  39. if arg 2 is more than 3:
  40. message "&cSorry, but you can only use at number 3"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement