ArtzifyHD

Options Skript V4

Jul 20th, 2017
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.34 KB | None | 0 0
  1. # # # # # # # # # # # # # # # #
  2. # #
  3. # Name: Options #
  4. # Author: FrostedWeFall #
  5. # Version: 1.1 #
  6. # #
  7. # # # # # # # # # # # # # # # #
  8.  
  9. options:
  10. NoPerm: &8» &7You require the rank &4[ADMINISTRATOR]&7 to execute that command!"
  11.  
  12. on join:
  13. clear player's inventory
  14. wait 3 ticks
  15. set slot 1 of player to ender_chest named "&eGadgets &7(Right Click)"
  16. set slot 7 of player to redstone_repeater named "&eOptions &7(Right Click)" with lore "&7Right click to open the Options menu"
  17. set slot 4 of player to player's skull named "&bFriends &7(Right Click)" with lore "&7Right click to see Friends list"
  18. set slot 8 of player to clock named "&aServer Selector &7(Right Click)" with lore "&7Right click to change lobbys"
  19. set slot 17 of player to arrow
  20. on drop:
  21. world is "hub"
  22. cancel event
  23. on respawn:
  24. clear player's inventory
  25. wait 3 ticks
  26. set slot 7 of player to redstone_repeater named "&eOptions &7(Right Click)" with lore "&7Right click to open the Options menu"
  27. set slot 8 of player to clock named "&aServer Selector &7(Right Click)" with lore "&7Right click to change lobbys"
  28. set slot 4 of player to player's skull named "&bFriends &7(Right Click)" with lore "&7Right click to see Friends list"
  29. set slot 0 of player to ender_chest named "&eGadgets &7(Right Click)"
  30. set slot 17 of player to arrow
  31.  
  32. command /optionshelp:
  33. permission: "admin.options"
  34. permission message: {@NoPerm}
  35. trigger:
  36. message "&8------------------------"
  37. message " &e&nOptions:"
  38. message ""
  39. message "&7Commands:"
  40. message "&b/options &8(open options menu)"
  41. message "&b/help &8(opens help menu)"
  42. message "&b/optionshelp &8(help for the skript)"
  43. message ""
  44. message " &e&nGadgets"
  45. message ""
  46. message "&b/gadgets &8(open menu gadgets)"
  47. message "&8------------------------"
  48. play raw sound "random.orb" at player with pitch 1 volume 1
  49. command /buyarank:
  50. trigger:
  51. message "&4TNTSpleef: &7Buy your rank to get the best benefits, Link: &9https://tntspleefminehut.buycraft.net/"
  52. play raw sound "random.orb" at player with pitch 1 volume 1
  53. command /msgfly:
  54. trigger:
  55. message "&4TNTSpleef: &7Use the dye below to access your options!"
  56. command /msgspeed:
  57. trigger:
  58. message "&4TNTSpleef: &7Use the dye below to access your options!"
  59. command /options:
  60. trigger:
  61. if player has permission "vip.options":
  62. open chest with 6 rows named "&7Player options" to player
  63. wait 0.1 seconds
  64. format slot 0 of player with arrow named "&cBack" with lore "&7Close options menu." to close
  65. format slot 11 of player with experience bottle named "&cFly" with lore "&7Use fly Right Click" to run [make player execute command "/msgfly"]
  66. format slot 19 of player with 351:8 named "&cFly" with lore "&4¡Click to deactivate!" to close then run [make player execute command "/f off"]
  67. format slot 21 of player with 351:10 named "&aFly" with lore "&2¡Click to activate!" to close then run [make player execute command "/f on"]
  68. format slot 15 of player with diamond_boots named "&aSpeed II" with lore "&7Use Speed II Right Click" to run [make player execute command "/msgspeed"]
  69. format slot 23 of player with 351:8 named "&cSpeed II" with lore "&4¡Click to deactivate!" to close then run [make player execute command "/speed no"]
  70. format slot 25 of player with 351:10 named "&aSpeed II" with lore "&2¡Click to activate!" to close then run [make player execute command "/speed yes"]
  71. format slot 37 of player with 368 named "&c¡Off!" with lore "&7View players" to close then run [make player execute command "/p off"]
  72. format slot 38 of player with 381 named "&a¡On!" with lore "&7View players" to close then run [make player execute command "/p on"]
  73. format slot 42 of player with 35:5 named "&7Tag example: &a%player%" with lore "&7Click to have this tag||&7You need: &a[VIP]" to close then run [make player execute command "/nick &a%player%"]
  74. format slot 43 of player with 35:10 named "&7Tag example: &5%player%" with lore "&7Click to have this tag||&7You need: &a[VIP]" to close then run [make player execute command "/nick &5%player%"]
  75. format slot 31 of player with player's skull named "&2¡Buy a Rank!" with lore "&7Buy your rank||&7and gain advantages" to close then run [make player execute command "/buyarank"]
  76.  
  77. on rightclick with redstone_repeater:
  78. if name of player's tool contains "&eOptions &7(Right Click)":
  79. wait 3 ticks
  80. make player execute command "options"
  81. command /f [<text>]:
  82. permission: "vip.options"
  83. permission message: {@NoPerm}
  84. trigger:
  85. if arg 1 is "on":
  86. Send "&aFly Activated correctly" to player
  87. set player's fly mode to on
  88. if arg 1 is "off":
  89. Send "&4Fly Disabled correctly" to player
  90. set player's fly mode to off
  91.  
  92. command /p [<text>]:
  93. permission: "vip.options"
  94. permission message: {@NoPerm}
  95. trigger:
  96. if arg 1 is "on":
  97. Send "&aView Players &2¡ON!" to player
  98. hide all players to player
  99. if arg 1 is "off":
  100. Send "&cView Players &4¡OFF!" to player
  101. reveal all players to player
  102.  
  103. command /speed [<text>]:
  104. permission: "vip.options"
  105. permission message: {@NoPerm}
  106. trigger:
  107. if arg 1 is "yes":
  108. Send "&aSpeed II Activated correctly" to player
  109. apply speed to player for 100 days
  110. if arg 1 is "no":
  111. Send "&4Speed II Disabled correctly" to player
  112. remove speed from player
  113.  
  114. command /nick <text> [<player>]:
  115. aliases:nickname
  116. permission message: {@NoPerm}
  117. permission: "vip.options"
  118. usage: /nick <NickName> [<Player (If it is not you!) >]
  119. trigger:
  120. if argument 2 is not set:
  121. set display name of player to "%colored argument 1%"
  122. set {essentials.%player%.nick} to "%colored argument 1%"
  123. message "&aYour name was set to %argument 1%"
  124. send player title "&eNick changed" wim, h subtitle "&7¡Congratulations!" for 5 seconds
  125. else:
  126. player has permission "vip.options":
  127. set display name of argument 2 to "%colored argument 1%"
  128. set {essentials.%arg 2%.nick} to "%argument 1%"
  129. message "&2You set the Name of &4%argument 2% &4to %colored argument 1%"
  130. send player title "&eNick changed" with subtitle "&7¡Congratulations!" for 5 seconds
  131. stop
  132. command /rhat [<text>]:
  133. aliases: rh
  134. trigger:
  135. if argument is "hat":
  136. if player have the permission "vip.options":
  137. equip player with leather helmet named "&bc&ao&el&co&dr"
  138. wait 1 seconds
  139. dye player's helmet blue
  140. wait 1 seconds
  141. dye player's helmet red
  142. wait 1 seconds
  143. dye player's helmet green
  144. wait 1 seconds
  145. dye player's helmet purple
  146. wait 1 seconds
  147. dye player's helmet pink
  148. wait 1 seconds
  149. dye player's helmet blue
  150. wait 1 seconds
  151. dye player's helmet red
  152. wait 1 seconds
  153. dye player's helmet green
  154. wait 1 seconds
  155. dye player's helmet purple
  156. wait 1 seconds
  157. dye player's helmet pink
  158. remove all leather helmet from player
  159.  
  160.  
  161.  
  162. # #
  163. # Gadgets #
  164. # #
  165.  
  166. on rightclick with Ender_chest:
  167. make player execute command "/gadgets"
  168. on rightclick with redstone_repeater:
  169. make player execute command "/options"
  170. on rightclick with clock:
  171. make player execute command "/lob list"
  172. on rightclick with player's skull:
  173. make player execute command "/f list"
  174.  
  175.  
  176. command /gadgets:
  177. trigger:
  178. if player has permission "vip.gadgets":
  179. open chest with 3 rows named "&8Gadgets" to player
  180. wait 0.1 seconds
  181. set {_p} to "%player%" parsed as player
  182.  
  183. format slot 11 of player with Firework Rocket named "&2C&4h&2r&4i&2s&4t&2m&4a&2s" with lore "&7Click to activate||&7You need: &a[VIP]" to close then run [make player execute command "/bom"]
  184. format slot 12 of player with Egg named "&eEgg &4G&bU&2N" with lore "&7Click to activate||&7You need: &a[VIP]" to close then run [make player execute command "/egg"]
  185. format slot 14 of player with Golden Axe named "&eThor's hammer" with lore "&7Click to activate||&7You need: &a[VIP]" to close then run [execute player command "/fire"]
  186. format slot 15 of player with leather helmet named "&6Rainbow Hat" with lore "&7Click to activate||&7You need: &9[SKY]" to close then run [make player execute command "/rhat hat"]
  187.  
  188. Command /fire:
  189. permission: vip.axe
  190. permission message: {@NoPerm}
  191. trigger:
  192. set slot 8 of player to Golden Axe named "&eThor's hammer"
  193. send player title "&eThor's hammer" with subtitle "&7¡Activate!" for 5 seconds
  194. play raw sound "note.hat" at player with pitch 1 volume 1
  195.  
  196. Command /egg:
  197. permission: vip.egg
  198. permission message: {@NoPerm}
  199. trigger:
  200. set slot 8 of player to Egg named "&eEgg &4G&bU&2N"
  201. play raw sound "note.hat" at player with pitch 1 volume 1
  202.  
  203. Command /bom:
  204. permission: vip.firework
  205. permission message: {@NoPerm}
  206. trigger:
  207. set slot 8 of player to Firework Rocket named "&2C&4h&2r&4i&2s&4t&2m&4a&2s"
  208. play raw sound "note.hat" at player with pitch 1 volume 1
  209.  
  210. on click with a egg:
  211. player has the permission "vip.egg"
  212. shoot a chicken from the player
  213. wait 5 seconds
  214. kill all chickens in hub
  215.  
  216. on click with a golden axe:
  217. strike lightning at the targeted block
Advertisement
Add Comment
Please, Sign In to add comment