Advertisement
Zeldaboy111

Bans ]|[ Skript #301

Apr 9th, 2020
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. options:
  2. logo: &c&lPunishment &8►&7
  3.  
  4.  
  5. command /punish [<text>]:
  6. aliases: /pu
  7. trigger:
  8. if player has permission "rank.helper":
  9. if arg-1 is set:
  10. if arg-1 parsed as a player is set:
  11. set {_t} to arg-1 parsed as a player
  12. open chest with 6 rows named "Punish %{_t}%" to player
  13.  
  14. set slot 19 of player's current inventory to paper named "&aWarn" with lore "", "&7Click to Warn %{_t}%", "" and "&8(&2Helper&8)"
  15. set slot 20 of player's current inventory to stone sword named "&cClient Modifications" with lore "", "&7Click to Ban %{_t}%", "&7for &oClient Modifications", "" and "&8(&2Helper&8)" without any NBT
  16.  
  17.  
  18. else:
  19. send "{@logo} The player &c%arg-1% &7is not found."
  20. else:
  21. send "{@logo} You have to give up a &cplayer &7to punish."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement