Guest User

Untitled

a guest
Jul 27th, 2015
450
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. # By UrsoBatata
  2. # Nome: UDorgasEmGui
  3. # Lembre-se de colocar na GUI o item que vai representar a maconha
  4. # Precisa do /sudo <Um sk que force o player dar o comando>
  5.  
  6. options:
  7. NomeDoServidor: BatataCraft
  8.  
  9.  
  10. command /fumar:
  11. trigger:
  12. open chest with 3 rows named "&2&lmaconha" to player
  13. loop 26 times:
  14. add 1 to {_loop}
  15. format slot {_loop} of player with glass pane named "@NomeDoServidor" to close then run " "
  16. format slot 0 of player with item que vai ser na gui named "&2&lMaconha" to close then run "sudo %player% fumar maconha"
  17. command /fumar [<text>]:
  18. trigger:
  19. wait 2 ticks
  20. make player execute command "%arg 1%"
  21. subtract 5000 from player's account
  22. execute console command "effect %player% 2 30"
  23. execute console command "effect %player% 4 30"
  24. execute console command "effect %player% 9 30"
  25. execute console command "effect %player% 17 30"
  26. execute console command "effect %player% 18 30"
  27. send "&aaproveite sua maconha!"
  28. broadcast "&2%player% acaba entar para o mundo das Dorgas!"
  29. set {Maconha.Delay::%player%} to now
Advertisement
Add Comment
Please, Sign In to add comment