MinecraftZaaxel

Gui drop

Apr 20th, 2016
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. on first join:
  2. set {Drop::Cobble::%player%} to true
  3. command /drop:
  4. trigger:
  5. open chest with 1 rows named "Drop ze stona" to player
  6. wait 2 tick
  7. if {Drop::Cobble::%player%} is true:
  8. format slot 0 of player with 1 of cobblestone named "Cobblestone" with lore "Drop || &aAktywny" to run "cobble %player%"
  9. if {Drop::Cobble::%player%} ia false:
  10. format slot 0 of player with 1 of cobblestone named "Cobblestone" with lore "Drop || &cNieaktywny" to run "cobble %player%"
  11.  
  12. command /cobble [<player>]:
  13. executable by: console
  14. trigger:
  15. if arg 1 is set:
  16. if {Drop::Cobble::%player-arg%} is false:
  17. set {Drop::Cobble::%player-arg%} to true
  18. if {Drop::Cobble::%player-arg%} is true:
  19. set {Drop::Cobble::%player-arg%} to false
Advertisement
Add Comment
Please, Sign In to add comment