Advertisement
Guest User

Untitled

a guest
Jul 24th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. options:
  2.  
  3. servidor: [NomeDoMeuServidor]
  4. preco1: 500000
  5.  
  6. command /LojaVirtual:
  7. trigger:
  8. open chest with 1 row named "&6lojinha VIRTUAL!" to player
  9. wait 5 tick
  10. format slot 0 of player with a Chest named "&9Chest Virtual" with lore "Pague 50.000 coins e tenha acesso ao comando /chest!" to close then run "pex user %player% add alphachest.chest"
  11. if the player leftclick on slot 0:
  12. if player's account is more than or equal to {@preco1}:
  13. send "&6&lParabêns! aguarde para ganhar o acesso ao comando!"
  14. stop
  15. subtract {@preco1} from player's account
  16. else:
  17. message: "{@servidor} &cVocê precisa de {preço} para comprar este item."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement