Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- PREÇO1: 1.000.000
- PREÇO2: 3.000.000
- PREÇO3: 5.000.000
- command /maquinas:
- trigger:
- open chest with 5 row named "&6Maquinas" to player
- wait 5 tick
- format slot 0 of player with a Stained Glass Pane:5 named " " with lore " " to close
- format slot 1 of player with a Stained Glass Pane:5 named " " with lore " " to close
- format slot 7 of player with a Stained Glass Pane:5 named " " with lore " " to close
- format slot 8 of player with a Stained Glass Pane:5 named " " with lore " " to close
- format slot 9 of player with a Stained Glass Pane:5 Pane named " " with lore " " to close
- format slot 17 of player with a Stained Glass Pane:5 named " " with lore " " to close
- format slot 20 of player with a brick block named "&8&lMaquina De Tijolo" with lore "&c&l* Preço: &3$&7{@PREÇO1}" to run [make player execute command "/maquina 1"]
- format slot 22 of player with a brick block named "&e&lMaquina De Biscoito" with lore "&c&l* Preço: &3$&7{@PREÇO2}" to run [make player execute command "/maquina 2"]
- format slot 24 of player with a brick block named "&6&lMaquina De Ouro" with lore "&c&l* Preço: &3$&7{@PREÇO3}" to run [make player execute command "/maquina 3"]
- format slot 27 of player with a Stained Glass Pane:5 named " " with lore " " to close
- format slot 35 of player with a Stained Glass Pane:5 named " " with lore " " to close
- format slot 36 of player with a Stained Glass Pane:5 named " " with lore " " to close
- format slot 37 of player with a Stained Glass Pane:5 named " " with lore " " to close
- format slot 43 of player with a Stained Glass Pane:5 named " " with lore " " to close
- format slot 44 of player with a Stained Glass Pane:5 named " " with lore " " to close
- stop
- command /mqna [<text>]:
- trigger:
- if arg 1 is "1":
- open chest with 3 row named "&8Maquina de Tijolo" to player
- wait 5 tick
- format slot 12 of player with a Lime Wool named "&aConfirmar" with lore "&c&l* Confirmar Compra !" to run [make player execute command "/maceitar1"]
- format slot 14 of player with a Enchanted Book named "&c&lDeseja Comprar uma Maquina de Tijolo ?" with lore "&c&l* Preço: &3$&7{@PREÇO1}" to close
- format slot 16 of player with a Red Wool named "&cCancelar" with lore "&c&l* Cancelar Compra !" to run [make player execute command "/mnegar1"]
- stop
- if arg 1 is "2":
- open chest with 3 row named "&eMaquina de Biscoito" to player
- wait 5 tick
- format slot 12 of player with a Lime Wool named "&aConfirmar" with lore "&c&l* Confirmar Compra !" to run [make player execute command "/maceitar2"]
- format slot 14 of player with a Enchanted Book named "&c&lDeseja Comprar uma Maquina de Biscoito ?" with lore "&c&l* Preço: &3$&7{@PREÇO2}" to close
- format slot 16 of player with a Red Wool named "&cCancelar" with lore "&c&l* Cancelar Compra !" to run [make player execute command "/mnegar2"]
- stop
- if arg 1 is "3":
- open chest with 3 row named "&6Maquina de Ouro" to player
- wait 5 tick
- format slot 12 of player with a Lime Wool named "&aConfirmar" with lore "&c&l* Confirmar Compra !" to run [make player execute command "/maceitar3"]
- format slot 14 of player with a Enchanted Book named "&c&lDeseja Comprar uma Maquina de Ouro ?" with lore "&c&l* Preço: &3$&7{@PREÇO3}" to close
- format slot 16 of player with a Red Wool named "&cCancelar" with lore "&c&l* Cancelar Compra !" to run [make player execute command "/mnegar3"]
- stop
- command /maceitar1:
- trigger:
- if player's account is more or equal to {@PREÇO1}:
- make console execute command "/eco take %player% %{@PREÇO1}%"
- broadcast "&6&lMAQUINAS: &7O player %player% acabou de comprar uma maquina ! Deseja uma ? Use /maquinas"
- give 1 brick block named "&8Maquina de Tijolo" to player
- stop
- else:
- send "&cVocê não tem dinheiro suficiente !"
- command /maceitar2:
- trigger:
- if player's account is more or equal to {@PREÇO2}:
- make console execute command "/eco take %player% %{@PREÇO2}%"
- broadcast "&6&lMAQUINAS: &7O player %player% acabou de comprar uma maquina ! Deseja uma ? Use /maquinas"
- give 1 sponge named "&eMaquina de Biscoito" to player
- stop
- else:
- send "&cVocê não tem dinheiro suficiente !"
- command /maceitar3:
- trigger:
- if player's account is more or equal to {@PREÇO3}:
- make console execute command "/eco take %player% %{@PREÇO3}%"
- broadcast "&6&lMAQUINAS: &7O player %player% acabou de comprar uma maquina ! Deseja uma ? Use /maquinas"
- give 1 sponge named "&6Maquina de Ouro" to player
- stop
- else:
- send "&cVocê não tem dinheiro suficiente !"
- command /mnegar1:
- trigger:
- send "&cCompra negada !"
- stop
- command /mnegar2:
- trigger:
- send "&cCompra negada !"
- stop
- command /mnegar3:
- trigger:
- send "&cCompra negada !"
- stop
- on rightclick holding coal on sponge:
- if player has 1 coal:
- set {_delay} to difference between {Esperar.Delay::%player%} and now
- if {_delay} is less than 1 minutes:
- send "&cVoce tem de espera mais um pouco."
- stop
- send "&6&lMAQUINAS: &7Você ativou a maquina de biscoito!"
- remove 1 coal from player's inventory
- set {Esperar.Delay::%player%} to now
- drop 5 cookie
- wait 5 seconds
- drop 5 cookie
- wait 5 seconds
- drop 5 cookie
- wait 5 seconds
- drop 5 cookie
- wait 5 seconds
- drop 5 cookie
- wait 5 seconds
- drop 5 cookie
- wait 5 seconds
- drop 5 cookie
- wait 5 seconds
- drop 5 cookie
- wait 5 seconds
- drop 5 cookie
- wait 5 seconds
- drop 5 cookie
- wait 5 seconds
- drop 5 cookie
- wait 5 seconds
- drop 5 cookie
- wait 5 seconds
- drop 5 cookie
- wait 5 seconds
- drop 5 cookie
- on rightclick holding coal on gold block:
- if player has 1 coal:
- set {_delay} to difference between {Esperar.Delay::%player%} and now
- if {_delay} is less than 1 minutes:
- send "&cVoce tem de espera mais um pouco."
- stop
- send "&6&lMAQUINAS: &7Você ativou a maquina de ouro!"
- remove 1 coal from player's inventory
- set {Esperar.Delay::%player%} to now
- drop 5 gold ingot
- wait 5 seconds
- drop 5 gold ingot
- wait 5 seconds
- drop 5 gold ingot
- wait 5 seconds
- drop 5 gold ingot
- wait 5 seconds
- drop 5 gold ingot
- wait 5 seconds
- drop 5 gold ingot
- wait 5 seconds
- drop 5 gold ingot
- wait 5 seconds
- drop 5 gold ingot
- wait 5 seconds
- drop 5 gold ingot
- wait 5 seconds
- drop 5 gold ingot
- wait 5 seconds
- drop 5 gold ingot
- wait 5 seconds
- drop 5 gold ingot
- wait 5 seconds
- drop 5 gold ingot
- wait 5 seconds
- drop 5 gold ingot
- on rightclick holding coal on brick block:
- if player has 1 coal:
- set {_delay} to difference between {Esperar.Delay::%player%} and now
- if {_delay} is less than 1 minutes:
- send "&cVoce tem de espera mais um pouco."
- stop
- send "&6&lMAQUINAS: &7Você ativou a maquina de tijolo!"
- remove 1 coal from player's inventory
- set {Esperar.Delay::%player%} to now
- drop 5 brick
- wait 5 seconds
- drop 5 brick
- wait 5 seconds
- drop 5 brick
- wait 5 seconds
- drop 5 brick
- wait 5 seconds
- drop 5 brick
- wait 5 seconds
- drop 5 brick
- wait 5 seconds
- drop 5 brick
- wait 5 seconds
- drop 5 brick
- wait 5 seconds
- drop 5 brick
- wait 5 seconds
- drop 5 brick
- wait 5 seconds
- drop 5 brick
- wait 5 seconds
- drop 5 brick
- wait 5 seconds
- drop 5 brick
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement