Guest User

Untitled

a guest
Jan 28th, 2018
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. on death of player:
  2. send "&a&lPrzyszly dusze na konto!" to attacker
  3. add 1 to {gracza.dusze}
  4. stop
  5.  
  6. command /dusze:
  7. trigger:
  8. send "&e&lMasz obecnie %{gracza.dusze}% dusz!" to player
  9.  
  10. command /dusze10:
  11. permission: dusze.admin
  12. permission message: &c&lCo? Nie...
  13. trigger:
  14. send "&c&lWyslano dusze" to player
  15. add 10 to {gracza.dusze}
  16.  
  17. on click on a wither skeleton:
  18. execute player command "duszesklep"
  19.  
  20. command /duszesklep:
  21. trigger:
  22. wait 1 tick
  23. open chest with 1 rows named "&e&lDusze!" to player
  24. format slot 4 of player with 1 of 397 named "&e&lOddaj 10 dusz za 10 Coins!" to run [execute player command "duszeoddaj"]
  25.  
  26. command /duszeoddaj:
  27. trigger:
  28. if {gracza.dusze} is bigger than or equal to 10:
  29. #Tutaj chce aby zabralo 10 dusz od gracza
  30. execute console command "economy give %player% 10"
  31. else:
  32. send "&c&lMasz za malo dusz, aby sprawdzic dusze uzyj &f&l/dusze" to player
Advertisement
Add Comment
Please, Sign In to add comment