Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /Staff:
- permission: hcf.staff
- aliases: /h
- trigger:
- if {staffmode} is false:
- clear player's inventory
- message "&8[&b&lFX&8] &bStaff Mode: &aEnabled"
- wait 1 tick
- equip player with chain leggings
- wait 1 tick
- enchant the player's leggings with unbreaking 3
- enchant the player's leggings with protection 1
- wait 1 tick
- set slot 5 of player to a emerald named "&aPlayer Teleport"
- wait 1 tick
- set slot 7 of player to a nether star named "&bVanish &7(Become Invisible)"
- wait 1 tick
- set slot 0 of player to a compass named "&cTeleporter &7(Teleport To Players)"
- wait 1 tick
- set slot 8 of player to a lead named "&9Follower &7(Follow Players Around) "
- set slot 1 of player to a diamond sword named "&c&lHacker &f&lSlayer"
- enchant the player's slot 1 with sharpness 100
- set {staffmode} to true
- make player execute command "/gamemode c"
- else:
- message "&8[&b&lFX&8] &bStaff Mode: &cDisabled"
- set {staffmode} to false
- wait 1 tick
- clear player's inventory
- make player execute command "/gamemode s"
- on respawn:
- if player has permission " hcf.staff":
- if {staffmode} is true:
- make player execute command "/staff"
- set {staffmode} to false
- on right click with emerald:
- if player is holding a emerald named "&aPlayer Teleport":
- if player has permission "hcf.staff":
- set {_random} to a random player out of all players
- while {_random} is name of player:
- set {_random} to a random player out of all players
- wait 1 tick
- if {_random} is not name of player:
- teleport player 1 behind {_random}
- send "&8[&b&lFX&8] &b Teleported to &c%{_random}%"
- else:
- message "&c&lNo"
- on right click with nether star:
- if player is holding a nether star named "&bVanish &7(Become Invisible)":
- if player has permission "hcf.staff":
- if {vanish} is true:
- set {vanish} to false
- make player execute command "/vanish"
- message "&8[&b&lFX&8] &b Vanish has been &cDisabled"
- else:
- make player execute command "/vanish"
- message "&8[&b&lFX&8] &b Vanish has been &aEnabled"
- set {vanish} to true
- else:
- message "&c&lNo"
- on right click with lead:
- if player is holding a lead named "&9Follower &7(Follow Players Around) ":
- if player has permission "hcf.staff":
- if entity's target is a player:
- set {_name} to "%target entity%" parsed as a player
- send "&8[&b&lFX&8] &b &7You now follow &9%{_name}%"
- make player ride {_name}
- on drop:
- if {staffmode} is true:
- if player has permission "hcf.staff":
- if event-item is a emerald:
- cancel event
- if event-item is a nether star:
- cancel event
- if event-item is a compass:
- cancel event
- if event-item is a lead:
- cancel event
- if event-item is a white stained glass pane:
- cancel event
- on right click:
- if {staffmode} is true:
- if player has permission "hcf.staff":
- if event-item is a emerald:
- cancel event
- if event-item is a nether star:
- cancel event
- if event-item is a compass:
- cancel event
- if event-item is a lead:
- cancel event
- on left click:
- if {staffmode} is true:
- if player has permission "hcf.staff":
- if event-item is a emerald:
- cancel event
- if event-item is a nether star:
- cancel event
- if event-item is a compass:
- cancel event
- if event-item is a lead:
- cancel event
Advertisement
Add Comment
Please, Sign In to add comment