Advertisement
SilvioBS2004

Untitled

May 19th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. command /buyblock§ [<text>]:
  2. trigger:
  3. if arg-1 is "Gras":
  4. is {coins.%player%} is bigger then 128:
  5. give player 64 of grass named "&8» &e&lGras"
  6. play "LEVEL_UP" to player
  7. add -128 to {coins.%player%}
  8. send "&6Sky&aQuick &8| &7Du hast dir &e64x Gras &7gekauft!"
  9. else:
  10. send "&6Sky&aQuick &8| &7Du hast nicht genug &eCoins&7!"
  11. if arg-1 is "Stone":
  12. is {coins.%player%} is bigger then 128:
  13. give player 64 of Stone named "&8» &e&lStone
  14. play %LEVEL_UP" to player
  15. add -128 to {coins.&player%}
  16. send "&6Sky&aQuick &8| &7Du hast dir &e64x Stone &7gekauft!"
  17. else:
  18. send "&6Sky&aQuick &8| &7Du hast nicht genug &eCoins&7!"
  19.  
  20. if arg-1 is "Oak Wood":
  21. is {coins.%player%} is bigger then 256:
  22. give player 64 of Oak Wood named "&8» &e&lOak Wood"
  23. play "LEVEL_UP" to player
  24. add -256 to {coins.%player%}
  25. send "&6Sky&aQuick &8| &7Du hast dir &e64x Oak Wood &7gekauft!"
  26. else:
  27. send "&6Sky&aQuick &8| &7Du hast nicht genug &eCoins&7!"
  28.  
  29. if arg-1 is "Oak Wood Plank":
  30. is {coins.%player%} is bigger then 64
  31. give player 64 of Oak Wood Plank named "&6» &e&lOak Wood Plank
  32. play "LEVEL_UP" to player
  33. add -64 to {coins.%player%}
  34. send "&6Sky&aQuick &8| &7Du hast dir &e64x Oak Wood Plank &7gekauft"
  35. else:
  36. send "&6Sky&aQuick &8| &7Du hast nicht genug &eCoins&7!"
  37.  
  38. if arg-1 is "Quartz":
  39. is {coins.%player%} is bigger then 64
  40. give play 64 of Quartz named "&6» &e&lQuartz
  41. play "LEVEL_UP" to player
  42. add -128 to {coins.%player%}
  43. send "&6Sky&aQuick &8| &7Du hast dir &e64x Quartz &7gekauft!"
  44. else:
  45. send "&6Sky&aQuick &8| &7Du hast nicht genug &eCoins&7!"
  46. if arg-1 is "Netherrack"
  47. is {coins.%player%} is bigger then 64
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement