Advertisement
Guest User

new

a guest
Jul 21st, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.13 KB | None | 0 0
  1. on join:
  2. if {noob.%player%} is true:
  3. clear player's inventory
  4. teleport player to {darkloc}
  5. open chest with 1 row named "&cClasses" to player
  6. wait 1 tick
  7. format slot 0 of player with gray glass pane named "&7JutouRPG" to be unstealable
  8. format slot 1 of player with gray glass pane named "&7JutouRPG" to be unstealable
  9. format slot 2 of player with gray glass pane named "&7JutouRPG" to be unstealable
  10. format slot 6 of player with gray glass pane named "&7JutouRPG" to be unstealable
  11. format slot 7 of player with gray glass pane named "&7JutouRPG" to be unstealable
  12. format slot 8 of player with gray glass pane named "&7JutouRPG" to be unstealable
  13. format slot 3 of player with stick named "&cMage" to close then run [make player execute command "/mage"]->[set {noob.%player%} to false]->[make console execute command "warp spawn2 %player%"]->[set {class.%player%} to "mage"]
  14. format slot 4 of player with iron sword named "&cWarrior" to close then run [make player execute command "/warrior"]->[set {noob.%player%} to false]->[make console execute command "warp spawn2 %player%"]->[set {class.%player%} to "warrior"]
  15. format slot 5 of player with iron axe named "&cArcher" to close then run [make player execute command "/archer"]->[set {noob.%player%} to false]->[make console execute command "warp spawn2 %player%"]->[set {class.%player%} to "archer"]
  16. else:
  17. teleport player to {spawnloc}
  18.  
  19. every 5 seconds:
  20. loop all players:
  21. if {noob.%loop-player%} is true:
  22. clear loop-player's inventory
  23. open chest with 1 row named "&cClasses" to loop-player
  24. wait 1 tick
  25. format slot 0 of loop-player with gray glass pane named "&7JutouRPG" to be unstealable
  26. format slot 1 of loop-player with gray glass pane named "&7JutouRPG" to be unstealable
  27. format slot 2 of loop-player with gray glass pane named "&7JutouRPG" to be unstealable
  28. format slot 6 of loop-player with gray glass pane named "&7JutouRPG" to be unstealable
  29. format slot 7 of loop- player with gray glass pane named "&7JutouRPG" to be unstealable
  30. format slot 8 of loop-player with gray glass pane named "&7JutouRPG" to be unstealable
  31. format slot 3 of loop-player with stick named "&cMage" to close then run [make loop-player execute command "/mage"]->[set {noob.%loop-player%} to false]->[make console execute command "warp spawn2 %loop-player%"]->[set {class.%loop-player%} to "mage"]
  32. format slot 4 of loop-player with iron sword named "&cWarrior" to close then run [make loop-player execute command "/warrior"]->[set {noob.%loop-player%} to false]->[make console execute command "warp spawn2 %loop-player%"]->[set {class.%loop-player%} to "warrior"]
  33. format slot 5 of loop-player with iron axe named "&cArcher" to close then run [make loop-player execute command "/archer"]->[set {noob.%loop-player%} to false]->[make console execute command "warp spawn2 %loop-player%"]->[set {class.%loop-player%} to "archer"]
  34.  
  35. command /noobify <offline player>:
  36. permission: *
  37. trigger:
  38. set {noob.%arg-1%} to true
  39. send "&aSuccessful!"
  40.  
  41. on join:
  42. if {noob.%player%} is not set:
  43. set {noob.%player%} to true
  44.  
  45.  
  46. command /mage:
  47. trigger:
  48. if {noob.%player%} is true:
  49. set {_stick} to a stick
  50. enchant {_stick} with sharpness 5
  51. give player {_stick} named "&cWand"
  52. give player a saddle named "&7Horse"
  53. give player a book named "&7Quest Book"
  54.  
  55. command /warrior:
  56. trigger:
  57. if {noob.%player%} is true:
  58. give player a iron sword named "&cSword"
  59. give player a saddle named "&7Horse"
  60. give player a book named "&7Quest Book"
  61.  
  62. command /archer:
  63. trigger:
  64. if {noob.%player%} is true:
  65. give player a iron axe named "&cBow"
  66. give player a saddle named "&7Horse"
  67. give player a book named "&7Quest Book"
  68.  
  69. command /setdarkness:
  70. permission: *
  71. trigger:
  72. set {darkloc} to player's location
  73.  
  74. command /warn [<player>] [<text>]:
  75. permission: staff.warn
  76. permission message: No permission.
  77. trigger:
  78. if arg-1 is set:
  79. if arg-2 is set:
  80. send "&cYou have warned &r%arg-1% &cfor &r%arg-2%&c."
  81. send "&cYou have been warned for &r%arg-2%&c." to arg-1
  82. else:
  83. send "&cInvalid usage, use &r/warn player reason"
  84.  
  85. command /vanish:
  86. permission: staff.vanish
  87. permission message: No permission
  88. trigger:
  89. if {vanish.%player%} is not set:
  90. set {vanish.%player%} to true
  91. send "&cYou are now &rINVISIBLE &cto all &rNON-STAFF&c players."
  92. hide player from all players
  93. loop all players:
  94. if loop-player has permission "staff.vanish":
  95. reveal player to loop-player
  96. stop
  97. if {vanish.%player%} is false:
  98. set {vanish.%player%} to true
  99. send "&cYou are now &rINVISIBLE &cto all &rNON-STAFF&c players."
  100. hide player from all players
  101. loop all players:
  102. if loop-player has permission "staff.vanish":
  103. reveal player to loop-player
  104. stop
  105. if {vanish.%player%} is true:
  106. set {vanish.%player%} to false
  107. send "&cYou are now &rVISIBLE &cto all players."
  108. reveal player to all players
  109.  
  110.  
  111. command /trash:
  112. trigger:
  113. open chest with 3 rows named "&cTrash" to player
  114. wait 1 tick
  115. format slot 0 of player with stick named "&cThrow anything into here and then close the chest" to be unstealable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement