Kamado

Untitled

Jun 28th, 2019
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /speed [<text>] [<number>]:
  2. Executable by: players
  3. Permission: skript.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 1 is "fly":
  26. if arg 2 is not set:
  27. send "&a&oPlease use&8: &7/speed fly (number)"
  28. if arg 2 is 1:
  29. set the player's fly speed to 0.1
  30. message "&7Fly speed set back to normal."
  31. if arg 2 is 2:
  32. set the player's fly speed to 2
  33. message "&7Fly speed set to 2"
  34. if arg 2 is 3:
  35. set the player's fly speed to 3
  36. message "&7Fly speed set to 3"
  37. else:
  38. send "&8&m----------------------------"
  39. send "&a&oPlease use &7fly&8/&7walk &8(&enumber&8)"
  40. send "&7Available speed for fly and walk&8:"
  41. send "&e1/2 or 3"
  42. send "&8&m----------------------------"
Add Comment
Please, Sign In to add comment