Guest User

Untitled

a guest
May 6th, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. command /przywileje:
  2. cooldown: 20 ticks
  3. cooldown message: &8» &7Nie spamuj tak!
  4. description: przywileje
  5. trigger:
  6. open virtual hopper named " Przywileje" to player
  7. format gui slot 0 of player with black stained glass pane named "ramka"
  8. if {kupiony.pisanie::%player%} is false:
  9. format gui slot 1 of player with paper named "&8» &6&lPRZYWILEJ: &7pisanie na chat!" with lore "" and "&7Dzieki temu przywilejowi bedziesz mogl" and "&7pisac na chat!" and "" and "&c&lNIE POSIADASZ TEGO PRZYWILEJA" and "" and "&8» &7Koszt: &63000$" to run player command "wykupczat %player%" with permission "essentials.spawn"
  10. else:
  11. format gui slot 1 of player with paper named "&8» &6&lPRZYWILEJ: &7pisanie na chat!" with lore "" and "&7Dzieki temu przywilejowi bedziesz mogl" and "&7pisac na chat!" and "" and "&a&lPOSIADASZ TEN PRZYWILEJ" and "" and "&8» &7Koszt: &63000$" to run player command "wykupczat %player%" with permission "essentials.spawn"
  12. format gui slot 2 of player with clock named "&8» &6&lPRZYWILEJ: &7brak cooldownu na chatcie" with lore "" and "&7Dzieku temu przywilejowi bedziesz pisal" and "&7bez ograniczen czasowych " and "" and "&c&lNIE POSIADASZ TEGO PRZYWILEJU" and "&8» &7Koszt: &65000$" to run player command "wykupcool" with permission "essentials.spawn"
  13.  
  14. command /wykupczat [<player>]:
  15. trigger:
  16. if {kupiony.pisanie::%player-arg%} is false:
  17. if {balances::%player-arg%} > 3000:
  18. remove 3000 from {balances::%player-arg%}
  19. set {start.pisanie::%player-arg%} to true
  20. set {kupiony.pisanie::%player-arg%} to true
  21. send "&8» &7Od teraz mozesz pisac na chat!"
  22. close player's inventory
  23. else if {balances::%player-arg%} < 3000:
  24. send "&8» &cMasz za malo pieniedzy."
  25. close player's inventory
  26. else if {kupiony.pisanie::%player-arg%} is true:
  27. send "&8» &7Kupiles juz ten przedmiot!"
  28. close player's inventory
Advertisement
Add Comment
Please, Sign In to add comment