knugi

Untitled

Dec 6th, 2015
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. command /sklep [<text>] [<player>]:
  2. trigger:
  3. if arg 1 is not set:
  4. open chest with 6 rows named "&8&l> &6&lSKLEP &8&l<" to player
  5. wait 2 tick
  6. format slot 0 of player with 1 of mob-spawner named "64Diamenty" to close then run "sklep spawner %player%"
  7. if arg 1 is "spawner":
  8. if sender is console:
  9. if player-arg has 64 diamonds:
  10. remove 64 diamonds from player
  11. give mob spawner to player
  12. stop
  13. send "&cNie posiadasz &364 diamentow." to player-arg
  14. stop
  15. send "&cTa komende mozesz wywolac tylko przez console." to player
  16. stop
Advertisement
Add Comment
Please, Sign In to add comment