Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click:
- if player has permission "sky.mod":
- if player's flight mode is true:
- set {_p} to targeted player
- if {_p} doesn't have permission "sky.jrmod":
- if {_p} is set:
- if distance between {_p} and player < 5:
- open chest inventory with 4 rows named "&3&lQUICK CONTROLS &8| &b%{_p}'s displayname%" to player
- loop integers from 0 to 36:
- set slot loop-value of player's current inventory to cyan glass pane or blue glass pane or light blue glass pane named "&7"
- set slot 10 of player's current inventory to anvil named "&bBAN PLAYER &7[Hacked Client]" with lore "&7&oBan &b%{_p}% &7forever."
- set slot 19 of player's current inventory to feather named "&bBAN PLAYER &7[Hacked Client] &c(SILENT)" with lore "&7&oBan &b%{_p}% &7forever silently."
- set slot 11 of player's current inventory to diamond sword named "&bBAN PLAYER &7[Spawn Camping]" with lore "&7&oBan &b%{_p}% &7for 30 Minutes."
- set slot 20 of player's current inventory to feather named "&bBAN PLAYER &7[Spawn Camping] &c(SILENT)" with lore "&7&oBan &b%{_p}% &7for 30 Minutes silently."
- set slot 12 of player's current inventory to diamond named "&bBAN PLAYER &7[Building to diamonds]" with lore "&7&oBan &b%{_p}% &7for 15 Minutes."
- set slot 21 of player's current inventory to feather named "&bBAN PLAYER &7[Building to diamonds] &c(SILENT)" with lore "&7&oBan &b%{_p}% &7for 15 Minutes silently."
- set slot 13 of player's current inventory to diamond named "&bBAN PLAYER &7[Camping Diamonds]" with lore "&7&oBan &b%{_p}% &7for 15 Minutes."
- set slot 22 of player's current inventory to feather named "&bBAN PLAYER &7[Camping Diamonds] &c(SILENT)" with lore "&7&oBan &b%{_p}% &7for 15 Minutes silently."
- set slot 14 of player's current inventory to command block named "&bBAN PLAYER &7[Abusing Bugs]" with lore "&7&oBan &b%{_p}% &7for 14 Days."
- set slot 23 of player's current inventory to feather named "&bBAN PLAYER &7[Abusing Bugs] &c(SILENT)" with lore "&7&oBan &b%{_p}% &7for 14 Days silently."
- set slot 15 of player's current inventory to ({_p}'s skull) named "&bBAN PLAYER &7[Inappropriate Skin]" with lore "&7&oBan &b%{_p}% &7forever."
- set slot 24 of player's current inventory to feather named "&bBAN PLAYER &7[Inappropriate Skin] &c(SILENT)" with lore "&7&oBan &b%{_p}% &7forever silently."
- set {_s} to "MHFquestion" parsed as offlineplayer
- set slot 16 of player's current inventory to ({_s}'s skull) named "&bSuggestions?" with lore "&7Give suggestions to memees"
- set {punishing.%player%} to {_p}
- else:
- send "&3&lQUICK CONTROLS &8| %{_p}'s displayname%&7 can't be punished using quick controls."
- on inventory close:
- if {punishing.%player%} is set:
- delete {punishing.%player%}
- on inventory click:
- if {punishing.%player%} is set:
- cancel event
- if index of event-slot is 10:
- make player execute command "/ban %{punishing.%player%}% Hacked Client"
- if index of event-slot is 19:
- make player execute command "/ban %{punishing.%player%}% Hacked Client -s"
- if index of event-slot is 11:
- make player execute command "/ban %{punishing.%player%}% 30 Minutes Spawn Camping"
- if index of event-slot is 20:
- make player execute command "/ban %{punishing.%player%}% 30 Minutes Spawn Camping -s"
- if index of event-slot is 12:
- make player execute command "/ban %{punishing.%player%}% 15 Minutes Building to diamonds"
- if index of event-slot is 21:
- make player execute command "/ban %{punishing.%player%}% 15 Minutes Building to diamonds -s"
- if index of event-slot is 13:
- make player execute command "/ban %{punishing.%player%}% 15 Minutes Building to diamonds"
- if index of event-slot is 22:
- make player execute command "/ban %{punishing.%player%}% 15 Minutes Building to diamonds -s"
- if index of event-slot is 14:
- make player execute command "/ban %{punishing.%player%}% 14 Days Abusing Bugs"
- if index of event-slot is 23:
- make player execute command "/ban %{punishing.%player%}% 14 Days Abusing Bugs -s"
- if index of event-slot is 15:
- make player execute command "/ban %{punishing.%player%}% Inappropriate Skin/Name (Change & Appeal)"
- if index of event-slot is 24:
- make player execute command "/ban %{punishing.%player%}% Inappropriate Skin/Name (Change & Appeal) -s"
- close player's inventory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement