Advertisement
miguelmarleau

Untitled

Mar 22nd, 2020
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.32 KB | None | 0 0
  1. on right click:
  2. if player has permission "sky.mod":
  3. if player's flight mode is true:
  4. set {_p} to targeted player
  5. if {_p} doesn't have permission "sky.jrmod":
  6. if {_p} is set:
  7. if distance between {_p} and player < 5:
  8. open chest inventory with 4 rows named "&3&lQUICK CONTROLS &8| &b%{_p}'s displayname%" to player
  9. loop integers from 0 to 36:
  10. set slot loop-value of player's current inventory to cyan glass pane or blue glass pane or light blue glass pane named "&7"
  11. set slot 10 of player's current inventory to anvil named "&bBAN PLAYER &7[Hacked Client]" with lore "&7&oBan &b%{_p}% &7forever."
  12. 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."
  13. 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."
  14. 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."
  15. 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."
  16. 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."
  17. 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."
  18. 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."
  19. 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."
  20. 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."
  21. 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."
  22. 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."
  23. set {_s} to "MHFquestion" parsed as offlineplayer
  24. set slot 16 of player's current inventory to ({_s}'s skull) named "&bSuggestions?" with lore "&7Give suggestions to memees"
  25. set {punishing.%player%} to {_p}
  26. else:
  27. send "&3&lQUICK CONTROLS &8| %{_p}'s displayname%&7 can't be punished using quick controls."
  28.  
  29. on inventory close:
  30. if {punishing.%player%} is set:
  31. delete {punishing.%player%}
  32. on inventory click:
  33. if {punishing.%player%} is set:
  34. cancel event
  35. if index of event-slot is 10:
  36. make player execute command "/ban %{punishing.%player%}% Hacked Client"
  37. if index of event-slot is 19:
  38. make player execute command "/ban %{punishing.%player%}% Hacked Client -s"
  39. if index of event-slot is 11:
  40. make player execute command "/ban %{punishing.%player%}% 30 Minutes Spawn Camping"
  41. if index of event-slot is 20:
  42. make player execute command "/ban %{punishing.%player%}% 30 Minutes Spawn Camping -s"
  43. if index of event-slot is 12:
  44. make player execute command "/ban %{punishing.%player%}% 15 Minutes Building to diamonds"
  45. if index of event-slot is 21:
  46. make player execute command "/ban %{punishing.%player%}% 15 Minutes Building to diamonds -s"
  47. if index of event-slot is 13:
  48. make player execute command "/ban %{punishing.%player%}% 15 Minutes Building to diamonds"
  49. if index of event-slot is 22:
  50. make player execute command "/ban %{punishing.%player%}% 15 Minutes Building to diamonds -s"
  51. if index of event-slot is 14:
  52. make player execute command "/ban %{punishing.%player%}% 14 Days Abusing Bugs"
  53. if index of event-slot is 23:
  54. make player execute command "/ban %{punishing.%player%}% 14 Days Abusing Bugs -s"
  55. if index of event-slot is 15:
  56. make player execute command "/ban %{punishing.%player%}% Inappropriate Skin/Name (Change & Appeal)"
  57. if index of event-slot is 24:
  58. make player execute command "/ban %{punishing.%player%}% Inappropriate Skin/Name (Change & Appeal) -s"
  59. close player's inventory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement