ArtzifyHD

Untitled

Aug 19th, 2017
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.36 KB | None | 0 0
  1. command /Staff:
  2. permission: hcf.staff
  3. aliases: /h
  4. trigger:
  5. if {staffmode} is false:
  6. clear player's inventory
  7. message "&8[&b&lFX&8] &bStaff Mode: &aEnabled"
  8. wait 1 tick
  9. equip player with chain leggings
  10. wait 1 tick
  11. enchant the player's leggings with unbreaking 3
  12. enchant the player's leggings with protection 1
  13. wait 1 tick
  14. set slot 5 of player to a emerald named "&aPlayer Teleport"
  15. wait 1 tick
  16. set slot 7 of player to a nether star named "&bVanish &7(Become Invisible)"
  17. wait 1 tick
  18. set slot 0 of player to a compass named "&cTeleporter &7(Teleport To Players)"
  19. wait 1 tick
  20. set slot 8 of player to a lead named "&9Follower &7(Follow Players Around) "
  21. set slot 1 of player to a diamond sword named "&c&lHacker &f&lSlayer"
  22. enchant the player's slot 1 with sharpness 100
  23. set {staffmode} to true
  24. make player execute command "/gamemode c"
  25. else:
  26. message "&8[&b&lFX&8] &bStaff Mode: &cDisabled"
  27. set {staffmode} to false
  28. wait 1 tick
  29. clear player's inventory
  30. make player execute command "/gamemode s"
  31.  
  32. on respawn:
  33. if player has permission " hcf.staff":
  34. if {staffmode} is true:
  35. make player execute command "/staff"
  36. set {staffmode} to false
  37.  
  38.  
  39.  
  40. on right click with emerald:
  41. if player is holding a emerald named "&aPlayer Teleport":
  42. if player has permission "hcf.staff":
  43. set {_random} to a random player out of all players
  44. while {_random} is name of player:
  45. set {_random} to a random player out of all players
  46. wait 1 tick
  47. if {_random} is not name of player:
  48. teleport player 1 behind {_random}
  49. send "&8[&b&lFX&8] &b Teleported to &c%{_random}%"
  50. else:
  51. message "&c&lNo"
  52.  
  53.  
  54. on right click with nether star:
  55. if player is holding a nether star named "&bVanish &7(Become Invisible)":
  56. if player has permission "hcf.staff":
  57. if {vanish} is true:
  58. set {vanish} to false
  59. make player execute command "/vanish"
  60. message "&8[&b&lFX&8] &b Vanish has been &cDisabled"
  61. else:
  62. make player execute command "/vanish"
  63. message "&8[&b&lFX&8] &b Vanish has been &aEnabled"
  64. set {vanish} to true
  65. else:
  66. message "&c&lNo"
  67.  
  68. on right click with lead:
  69. if player is holding a lead named "&9Follower &7(Follow Players Around) ":
  70. if player has permission "hcf.staff":
  71. if entity's target is a player:
  72. set {_name} to "%target entity%" parsed as a player
  73. send "&8[&b&lFX&8] &b &7You now follow &9%{_name}%"
  74. make player ride {_name}
  75.  
  76. on drop:
  77. if {staffmode} is true:
  78. if player has permission "hcf.staff":
  79. if event-item is a emerald:
  80. cancel event
  81. if event-item is a nether star:
  82. cancel event
  83. if event-item is a compass:
  84. cancel event
  85. if event-item is a lead:
  86. cancel event
  87. if event-item is a white stained glass pane:
  88. cancel event
  89. on right click:
  90. if {staffmode} is true:
  91. if player has permission "hcf.staff":
  92. if event-item is a emerald:
  93. cancel event
  94. if event-item is a nether star:
  95. cancel event
  96. if event-item is a compass:
  97. cancel event
  98. if event-item is a lead:
  99. cancel event
  100. on left click:
  101. if {staffmode} is true:
  102. if player has permission "hcf.staff":
  103. if event-item is a emerald:
  104. cancel event
  105. if event-item is a nether star:
  106. cancel event
  107. if event-item is a compass:
  108. cancel event
  109. if event-item is a lead:
  110. cancel event
Advertisement
Add Comment
Please, Sign In to add comment