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