Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ▒██████ ▒██████████ #
- # ▒██ ▒██ ▒████ ▒███████ ▒████ ▒███████ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██████ ▒██ ▒██████ ▒████████ ▒████████ #
- # ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▀▀ #
- # ▒██ ▒██ ▒██ ▒██ ▒███████ ▒██ ▒██ ▒███████ ▒██ ▒██████████ ▒████ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒████████ #
- # ▒██████ ▒████████ ▒██ ▒████████ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██████ ▒██ ▒██████ ▒██ ▒██ #
- # ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ #
- # ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒███████ ▒███████ ▒██████████ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒██ ▒████████ #
- on load:
- if file "plugins/Skript/scripts/RSaldoBanco/data.yml" doesn't exists:
- create file "plugins/Skript/scripts/RSaldoBanco/data.yml"
- function AddSaldo(p: player, quantidade: integer):
- set {_Saldo} to value "%{_p}%.Saldo" get of "plugins/Skript/scripts/RSaldoBanco/data.yml"
- set {_Saldo} to {_Saldo} parsed as integer
- add {_quantidade} to {_Saldo}
- set "%{_p}%.Saldo" to "%{_Saldo}%" in yaml file "plugins/Skript/scripts/RSaldoBanco/data.yml"
- function SetSaldo(p: player, quantidade: integer):
- set "%{_p}%.Saldo" to "%{_quantidade}%" in yaml file "plugins/Skript/scripts/RSaldoBanco/data.yml"
- function RemoveSaldo(p: player, quantidade: integer):
- set {_Saldo} to value "%{_p}%.Saldo" get of "plugins/Skript/scripts/RSaldoBanco/data.yml"
- set {_Saldo} to {_Saldo} parsed as integer
- remove {_quantidade} from {_Saldo}
- set "%{_p}%.Saldo" to "%{_Saldo}%" in yaml file "plugins/Skript/scripts/RSaldoBanco/data.yml"
- function pegarSaldo(p: player) :: integer:
- set {_Saldo} to value "%{_p}%.Saldo" get of "plugins/Skript/scripts/RSaldoBanco/data.yml"
- set {_Saldo} to {_Saldo} parsed as integer
- return {_Saldo}
- function pegarConta(p: player) :: text:
- set {_tiverconta} to value "%{_p}%.Conta" get of "plugins/Skript/scripts/RSaldoBanco/data.yml"
- set {_tiverconta} to {_tiverconta} parsed as text
- return {_tiverconta}
- on join:
- #QUANDO ELE ENTRA SE O CASH N EXISTIR CRIA UM NOVO PLAYER
- set {_Saldo} to value "%player%.Saldo" get of "plugins/Skript/scripts/RSaldoBanco/data.yml"
- set {_tiverconta} to value "%player%.Conta" get of "plugins/Skript/scripts/RSaldoBanco/data.yml"
- if {_Saldo} is not set:
- if {_tiverconta} is not set:
- set "%player%.Saldo" to "0" in yaml file "plugins/Skript/scripts/RSaldoBanco/data.yml"
- set "%player%.Conta" to "true" in yaml file "plugins/Skript/scripts/RSaldoBanco/data.yml"
- function SpawnBancario(p: player):
- spawn a villager at location of {_p}
- set name of last spawned villager to "&2&lBanqueiro"
- add "{NoAI:1}" to nbt of last spawned villager
- add "{Gravity:1}" to nbt of last spawned villager
- function RemoveBancario(p: player):
- loop all entities:
- if name of loop-entity is "&2&lBanqueiro":
- clear loop-entity
- on damage:
- if name of victim is "&2&lBanqueiro":
- if victim is villager:
- cancel event
- on rightclick on villager:
- if name of clicked entity is "&2&lBanqueiro":
- cancel event
- make player execute command "/acessarobancopelomenunocomandosecretodalaguinha"
- command /banqueiro [<text>]:
- trigger:
- if player has permission "bancario.usar":
- if arg 1 is "spawnar":
- send player title "&2&lBanqueiro" with subtitle "&7Foi setado cum sucesso." for 2 seconds
- SpawnBancario(player)
- if arg 1 is "despawnar":
- send player title "&2&lBanqueiro" with subtitle "&7Foi deletado cum sucesso." for 2 seconds
- RemoveBancario(player)
- if arg 1 is not "spawnar" or "despawnar":
- send player title "&2&lBanqueiro" with subtitle "&7Utilize /banqueiro (spawnar/despawnar)." for 2 seconds
- if arg 1 is not set:
- send player title "&2&lBanqueiro" with subtitle "&7Utilize /banqueiro (spawnar/despawnar)." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cpermissão para isso." for 2 seconds
- on inventory click:
- if inventory name of player's current inventory is "&8Banqueiro- Confirmação":
- cancel event
- on inventory click:
- if inventory name of player's current inventory is "&8Banqueiro- Depositar":
- cancel event
- on inventory click:
- if inventory name of player's current inventory is "&8Banqueiro- Sacar":
- cancel event
- on inventory click:
- if inventory name of player's current inventory is "&8Banqueiro- Extrato":
- cancel event
- on inventory click:
- if inventory name of player's current inventory is "&8Banqueiro- Cheque":
- cancel event
- command /acessarobancopelomenunocomandosecretodalaguinha:
- trigger:
- set {_saldojogadorver} to pegarSaldo(player)
- set {_setiverconta} to pegarConta(player)
- play "ORB_PICKUP" to player at volume 0.5
- if "%{_setiverconta}%" = "false":
- open chest with 3 row named "&8Banqueiro - Sem conta" to player
- wait 4 tick
- format slot 13 of player with barrier named "&eSem conta" with lore "&f||&7Infelismente você não tem uma conta bancaria.||&7Não perca tempo e adquira já no /shop.||&f" to be unstealable
- else:
- open chest with 3 row named "&8Banqueiro - Painel" to player
- wait 4 tick
- format slot 10 of player with diamond ore named "&eDepositar" with lore "&f||&7Você pode depositar seu dinheiro,||&7aqui no banco ,isso deixará seu||&7dinheiro mais seguro.||&f" to run [make player execute command "acessaromenudedepositarnobancario"]
- format slot 12 of player with emerald ore named "&eSacar" with lore "&f||&7Você pode sacar seu dinheiro,||&7este dinheiro irá para sua conta.||&f" to run [make player execute command "acessaromenudesacarrnobancario"]
- format slot 14 of player with sunflower named "&eExtrato" with lore "&f||&7Você pode ver o extrato da sua,||&7da sua conta bancaria.||&f" to run [make player execute command "acessaromenudeextratornobancario"]
- format slot 16 of player with paper named "&eCheque" with lore "||&7Você pode fazer cheques e pagar jogadores.||&f" to run [make player execute command "acessaromenudechequenobancario"]
- command /acessaromenudedepositarnobancario:
- trigger:
- set {_setiverconta} to pegarConta(player)
- set {_saldojogadorver} to pegarSaldo(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 4 row named "&8Banqueiro - Depositar" to player
- wait 4 tick
- format slot 10 of player with paper named "&eDepositar 1 mil" with lore "||&7Você pode depositar 1 mil em||&7sua conta bancaria.||&f" to run [make player execute command "depositar1milnobancodocaraconfirmacao"]
- format slot 12 of player with paper named "&eDepositar 5 mil" with lore "||&7Você pode depositar 5 mil em||&7sua conta bancaria.||&f" to run [make player execute command "depositar5milnobancodocaraconfirmacao"]
- format slot 14 of player with paper named "&eDepositar 10 mil" with lore "||&7Você pode depositar 10 mil em||&7sua conta bancaria.||&f" to run [make player execute command "depositar10milnobancodocaraconfirmacao"]
- format slot 16 of player with paper named "&eDepositar 100 mil" with lore "||&7Você pode depositar 100 mil em||&7sua conta bancaria.||&f" to run [make player execute command "depositar100milnobancodocaraconfirmacao"]
- format slot 19 of player with paper named "&eDepositar 500 mil" with lore "||&7Você pode depositar 500 mil em||&7sua conta bancaria.||&f" to run [make player execute command "depositar500milnobancodocaraconfirmacao"]
- format slot 21 of player with paper named "&eDepositar 1 milhão" with lore "||&7Você pode depositar 1 milão em||&7sua conta bancaria.||&f" to run [make player execute command "depositar1milhaonobancodocaraconfirmacao"]
- format slot 23 of player with paper named "&eDepositar 10 milhões" with lore "||&7Você pode depositar 10 milhões em||&7sua conta bancaria.||&f" to run [make player execute command "depositar10milhaonobancodocaraconfirmacao"]
- format slot 25 of player with paper named "&eDepositar 20 milhões" with lore "||&7Você pode depositar 20 milhões em||&7sua conta bancaria.||&f" to run [make player execute command "depositar20milhaonobancodocaraconfirmacao"]
- format slot 35 of player with arrow named "&eRetornar" with lore "||&7Clique para retornar ao painel central.||&f" to run [make player execute command "acessarobancopelomenunocomandosecretodalaguinha"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /acessaromenudeextratornobancario:
- trigger:
- set {_setiverconta} to pegarConta(player)
- set {_saldojogadorver} to pegarSaldo(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Banqueiro - Extrato" to player
- wait 4 tick
- format slot 13 of player with sunflower named "&eSeu saldo: &f%{_saldojogadorver}%" with lore "||&7Com seu saldo você pode fazer saques,||&7e cheques.||&f" to be unstealable
- format slot 26 of player with arrow named "&eRetornar" with lore "||&7Clique para retornar ao painel central.||&f" to run [make player execute command "acessarobancopelomenunocomandosecretodalaguinha"]
- command /acessaromenudechequenobancario:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 4 row named "&8Banqueiro - Sacar" to player
- wait 4 tick
- format slot 10 of player with paper named "&eCheque 1 mil" with lore "||&7Você pode fazer um cheque de 1 mil ira||&7descontar de sua conta bancaria.||&f" to run [make player execute command "cheque1milnobancodocaraconfirmacao"]
- format slot 12 of player with paper named "&eCheque 5 mil" with lore "||&7Você pode fazer um cheque de 5 mil ira||&7descontar de sua conta bancaria.||&f" to run [make player execute command "cheque5milnobancodocaraconfirmacao"]
- format slot 14 of player with paper named "&eCheque 10 mil" with lore "||&7Você pode fazer um cheque de 10 mil ira||&7descontar de sua conta bancaria.||&f" to run [make player execute command "cheque10milnobancodocaraconfirmacao"]
- format slot 16 of player with paper named "&eCheque 100 mil" with lore "||&7Você pode fazer um cheque de 100 mil ira||&7descontar de sua conta bancaria.||&f" to run [make player execute command "cheque100milnobancodocaraconfirmacao"]
- format slot 19 of player with paper named "&eCheque 500 mil" with lore "||&7Você pode fazer um cheque de 500 mil ira||&7descontar de sua conta bancaria.||&f" to run [make player execute command "cheque500milnobancodocaraconfirmacao"]
- format slot 21 of player with paper named "&eCheque 1 milhão" with lore "||&7Você pode fazer um cheque de 1 milão ira||&7descontar de sua conta bancaria.||&f" to run [make player execute command "cheque1mnobancodocaraconfirmacao"]
- format slot 23 of player with paper named "&eCheque 10 milhões" with lore "||&7Você pode fazer um cheque de 10 milhões ira||&7descontar de sua conta bancaria.||&f" to run [make player execute command "cheque10mnobancodocaraconfirmacao"]
- format slot 25 of player with paper named "&eCheque 20 milhões" with lore "||&7Você pode sacar 20 milhões de||&7descontar de sua conta bancaria.||&f" to run [make player execute command "cheque20mnobancodocaraconfirmacao"]
- format slot 35 of player with arrow named "&eRetornar" with lore "||&7Clique para retornar ao painel central.||&f" to run [make player execute command "acessarobancopelomenunocomandosecretodalaguinha"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /cheque1milnobancodocaraconfirmacao:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Banqueiro - Confirmação" to player
- wait 2 tick
- format slot 11 of player with light green wool named "&aConfirmar" with lore "||&7Se deseja confirmar o saque.||&7(Clique aqui).||&f" to close then run [make player execute command "cheque1knacontadobanco"]
- format slot 13 of player with a paper named "&eCheque 1 mil" with lore "||&7Você pode fazer um cheque de 1 mil irá||&7descontar de sua conta bancaria.||&f" to be unstealable
- format slot 15 of player with red wool named "&cCancelar" with lore "||&7Se deseja cancelar o saque||&7(Clique aqui)||" to close then run [make player execute command "cancelarcomprardoshop"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /cheque1knacontadobanco:
- trigger:
- set {_setiverconta} to pegarConta(player)
- set {_saldojogadorver} to pegarSaldo(player)
- if "%{_setiverconta}%" = "true":
- if {_saldojogadorver} >= 1000:
- RemoveSaldo(player, 1000)
- give 1 paper named "&eCheque" with lore "||&7Valor: &f1,000||&f" to player
- send player title "&2Banqueiro" with subtitle "&fVocê fez um cheque com valor de 1 mil." for 2 seconds
- else:
- send player title "&2Banqueiro" with subtitle "&fSeu saldo bancario é insuficiente..." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /cheque5milnobancodocaraconfirmacao:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Banqueiro - Confirmação" to player
- wait 2 tick
- format slot 11 of player with light green wool named "&aConfirmar" with lore "||&7Se deseja confirmar o saque.||&7(Clique aqui).||&f" to close then run [make player execute command "cheque5knacontadobanco"]
- format slot 13 of player with a paper named "&eCheque 5 mil" with lore "||&7Você pode fazer um cheque de 5 mil irá||&7descontar de sua conta bancaria.||&f" to be unstealable
- format slot 15 of player with red wool named "&cCancelar" with lore "||&7Se deseja cancelar o saque||&7(Clique aqui)||" to close then run [make player execute command "cancelarcomprardoshop"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /cheque5knacontadobanco:
- trigger:
- set {_setiverconta} to pegarConta(player)
- set {_saldojogadorver} to pegarSaldo(player)
- if "%{_setiverconta}%" = "true":
- if {_saldojogadorver} >= 5000:
- RemoveSaldo(player, 5000)
- give 1 paper named "&eCheque" with lore "||&7Valor: &f5,000||&f" to player
- send player title "&2Banqueiro" with subtitle "&fVocê fez um cheque com valor de 5 mil." for 2 seconds
- else:
- send player title "&2Banqueiro" with subtitle "&fSeu saldo bancario é insuficiente..." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /cheque10milnobancodocaraconfirmacao:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Banqueiro - Confirmação" to player
- wait 2 tick
- format slot 11 of player with light green wool named "&aConfirmar" with lore "||&7Se deseja confirmar o saque.||&7(Clique aqui).||&f" to close then run [make player execute command "cheque10knacontadobanco"]
- format slot 13 of player with a paper named "&eCheque 10 mil" with lore "||&7Você pode fazer um cheque de 10 mil irá||&7descontar de sua conta bancaria.||&f" to be unstealable
- format slot 15 of player with red wool named "&cCancelar" with lore "||&7Se deseja cancelar o saque||&7(Clique aqui)||" to close then run [make player execute command "cancelarcomprardoshop"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /cheque10knacontadobanco:
- trigger:
- set {_setiverconta} to pegarConta(player)
- set {_saldojogadorver} to pegarSaldo(player)
- if "%{_setiverconta}%" = "true":
- if {_saldojogadorver} >= 10000:
- RemoveSaldo(player, 10000)
- give 1 paper named "&eCheque" with lore "||&7Valor: &f10,000||&f" to player
- send player title "&2Banqueiro" with subtitle "&fVocê fez um cheque com valor de 10 mil." for 2 seconds
- else:
- send player title "&2Banqueiro" with subtitle "&fSeu saldo bancario é insuficiente..." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /cheque100milnobancodocaraconfirmacao:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Banqueiro - Confirmação" to player
- wait 2 tick
- format slot 11 of player with light green wool named "&aConfirmar" with lore "||&7Se deseja confirmar o saque.||&7(Clique aqui).||&f" to close then run [make player execute command "cheque100knacontadobanco"]
- format slot 13 of player with a paper named "&eCheque 100 mil" with lore "||&7Você pode fazer um cheque de 100 mil irá||&7descontar de sua conta bancaria.||&f" to be unstealable
- format slot 15 of player with red wool named "&cCancelar" with lore "||&7Se deseja cancelar o saque||&7(Clique aqui)||" to close then run [make player execute command "cancelarcomprardoshop"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /cheque100knacontadobanco:
- trigger:
- set {_setiverconta} to pegarConta(player)
- set {_saldojogadorver} to pegarSaldo(player)
- if "%{_setiverconta}%" = "true":
- if {_saldojogadorver} >= 100000:
- RemoveSaldo(player, 100000)
- give 1 paper named "&eCheque" with lore "||&7Valor: &f100,000||&f" to player
- send player title "&2Banqueiro" with subtitle "&fVocê fez um cheque com valor de 100 mil." for 2 seconds
- else:
- send player title "&2Banqueiro" with subtitle "&fSeu saldo bancario é insuficiente..." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /cheque500milnobancodocaraconfirmacao:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Banqueiro - Confirmação" to player
- wait 2 tick
- format slot 11 of player with light green wool named "&aConfirmar" with lore "||&7Se deseja confirmar o saque.||&7(Clique aqui).||&f" to close then run [make player execute command "cheque100knacontadobanco"]
- format slot 13 of player with a paper named "&eCheque 500 mil" with lore "||&7Você pode fazer um cheque de 500 mil irá||&7descontar de sua conta bancaria.||&f" to be unstealable
- format slot 15 of player with red wool named "&cCancelar" with lore "||&7Se deseja cancelar o saque||&7(Clique aqui)||" to close then run [make player execute command "cancelarcomprardoshop"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /cheque500knacontadobanco:
- trigger:
- set {_setiverconta} to pegarConta(player)
- set {_saldojogadorver} to pegarSaldo(player)
- if "%{_setiverconta}%" = "true":
- if {_saldojogadorver} >= 500000:
- RemoveSaldo(player, 500000)
- give 1 paper named "&eCheque" with lore "||&7Valor: &f500,000||&f" to player
- send player title "&2Banqueiro" with subtitle "&fVocê fez um cheque com valor de 500 mil." for 2 seconds
- else:
- send player title "&2Banqueiro" with subtitle "&fSeu saldo bancario é insuficiente..." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /cheque1mnobancodocaraconfirmacao:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Banqueiro - Confirmação" to player
- wait 2 tick
- format slot 11 of player with light green wool named "&aConfirmar" with lore "||&7Se deseja confirmar o saque.||&7(Clique aqui).||&f" to close then run [make player execute command "cheque1mnacontadobanco"]
- format slot 13 of player with a paper named "&eCheque 1 milhão" with lore "||&7Você pode fazer um cheque de 1 milhão irá||&7descontar de sua conta bancaria.||&f" to be unstealable
- format slot 15 of player with red wool named "&cCancelar" with lore "||&7Se deseja cancelar o saque||&7(Clique aqui)||" to close then run [make player execute command "cancelarcomprardoshop"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /cheque1mnacontadobanco:
- trigger:
- set {_setiverconta} to pegarConta(player)
- set {_saldojogadorver} to pegarSaldo(player)
- if "%{_setiverconta}%" = "true":
- if {_saldojogadorver} >= 1000000:
- RemoveSaldo(player, 1000000)
- give 1 paper named "&eCheque" with lore "||&7Valor: &f1,000,000||&f" to player
- send player title "&2Banqueiro" with subtitle "&fVocê fez um cheque com valor de 1 milhão." for 2 seconds
- else:
- send player title "&2Banqueiro" with subtitle "&fSeu saldo bancario é insuficiente..." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /cheque10mnobancodocaraconfirmacao:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Banqueiro - Confirmação" to player
- wait 2 tick
- format slot 11 of player with light green wool named "&aConfirmar" with lore "||&7Se deseja confirmar o saque.||&7(Clique aqui).||&f" to close then run [make player execute command "cheque10mnacontadobanco"]
- format slot 13 of player with a paper named "&eCheque 10 milhões" with lore "||&7Você pode fazer um cheque de 10 milhões irá||&7descontar de sua conta bancaria.||&f" to be unstealable
- format slot 15 of player with red wool named "&cCancelar" with lore "||&7Se deseja cancelar o saque||&7(Clique aqui)||" to close then run [make player execute command "cancelarcomprardoshop"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /cheque10mnacontadobanco:
- trigger:
- set {_setiverconta} to pegarConta(player)
- set {_saldojogadorver} to pegarSaldo(player)
- if "%{_setiverconta}%" = "true":
- if {_saldojogadorver} >= 10000000:
- RemoveSaldo(player, 10000000)
- give 1 paper named "&eCheque" with lore "||&7Valor: &f10,000,000||&f" to player
- send player title "&2Banqueiro" with subtitle "&fVocê fez um cheque com valor de 10 milhões." for 2 seconds
- else:
- send player title "&2Banqueiro" with subtitle "&fSeu saldo bancario é insuficiente..." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /cheque20mnobancodocaraconfirmacao:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Banqueiro - Confirmação" to player
- wait 2 tick
- format slot 11 of player with light green wool named "&aConfirmar" with lore "||&7Se deseja confirmar o saque.||&7(Clique aqui).||&f" to close then run [make player execute command "cheque20mnacontadobanco"]
- format slot 13 of player with a paper named "&eCheque 20 milhões" with lore "||&7Você pode fazer um cheque de 20 milhões irá||&7descontar de sua conta bancaria.||&f" to be unstealable
- format slot 15 of player with red wool named "&cCancelar" with lore "||&7Se deseja cancelar o saque||&7(Clique aqui)||" to close then run [make player execute command "cancelarcomprardoshop"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /cheque20mnacontadobanco:
- trigger:
- set {_setiverconta} to pegarConta(player)
- set {_saldojogadorver} to pegarSaldo(player)
- if "%{_setiverconta}%" = "true":
- if {_saldojogadorver} >= 20000000:
- RemoveSaldo(player, 20000000)
- give 1 paper named "&eCheque" with lore "||&7Valor: &f20,000,000||&f" to player
- send player title "&2Banqueiro" with subtitle "&fVocê fez um cheque com valor de 20 milhões." for 2 seconds
- else:
- send player title "&2Banqueiro" with subtitle "&fSeu saldo bancario é insuficiente..." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- on right click:
- if tool of player is paper named "&eCheque" with lore "||&7Valor: &f1,000||&f":
- remove 1 paper named "&eCheque" with lore "||&7Valor: &f1,000||&f" from player
- add 1000 to player's balance
- send ""
- send "&aFoi depositado 1 mil em sua conta..."
- send ""
- on right click:
- if tool of player is paper named "&eCheque" with lore "||&7Valor: &f5,000||&f":
- remove 1 paper named "&eCheque" with lore "||&7Valor: &f5,000||&f" from player
- add 5000 to player's balance
- send ""
- send "&aFoi depositado 5 mil em sua conta..."
- send ""
- on right click:
- if tool of player is paper named "&eCheque" with lore "||&7Valor: &f10,000||&f":
- remove 1 paper named "&eCheque" with lore "||&7Valor: &f10,000||&f" from player
- add 10000 to player's balance
- send ""
- send "&aFoi depositado 10 mil em sua conta..."
- send ""
- on right click:
- if tool of player is paper named "&eCheque" with lore "||&7Valor: &f100,000||&f":
- remove 1 paper named "&eCheque" with lore "||&7Valor: &f100,000||&f" from player
- add 100000 to player's balance
- send ""
- send "&aFoi depositado 100 mil em sua conta..."
- send ""
- on right click:
- if tool of player is paper named "&eCheque" with lore "||&7Valor: &f500,000||&f":
- remove 1 paper named "&eCheque" with lore "||&7Valor: &f500,000||&f" from player
- add 500000 to player's balance
- send ""
- send "&aFoi depositado 500 mil em sua conta..."
- send ""
- on right click:
- if tool of player is paper named "&eCheque" with lore "||&7Valor: &f1,000,000||&f":
- remove 1 paper named "&eCheque" with lore "||&7Valor: &f1,000,000||&f" from player
- add 1000000 to player's balance
- send ""
- send "&aFoi depositado 1 milhão em sua conta..."
- send ""
- on right click:
- if tool of player is paper named "&eCheque" with lore "||&7Valor: &f10,000,000||&f":
- remove 1 paper named "&eCheque" with lore "||&7Valor: &f10,000,000||&f" from player
- add 10000000 to player's balance
- send ""
- send "&aFoi depositado 10 milhões em sua conta..."
- send ""
- on right click:
- if tool of player is paper named "&eCheque" with lore "||&7Valor: &f20,000,000||&f":
- remove 1 paper named "&eCheque" with lore "||&7Valor: &f20,000,000||&f" from player
- add 20000000 to player's balance
- send ""
- send "&aFoi depositado 20 milhões em sua conta..."
- send ""
- command /acessaromenudesacarrnobancario:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 4 row named "&8Banqueiro - Sacar" to player
- wait 4 tick
- format slot 10 of player with paper named "&eSacar 1 mil" with lore "||&7Você pode sacar 1 mil de||&7sua conta bancaria.||&f" to run [make player execute command "sacar1milnobancodocaraconfirmacao"]
- format slot 12 of player with paper named "&eSacar 5 mil" with lore "||&7Você pode sacar 5 mil de||&7sua conta bancaria.||&f" to run [make player execute command "sacar5milnobancodocaraconfirmacao"]
- format slot 14 of player with paper named "&eSacar 10 mil" with lore "||&7Você pode sacar 10 mil de||&7sua conta bancaria.||&f" to run [make player execute command "sacar10milnobancodocaraconfirmacao"]
- format slot 16 of player with paper named "&eSacar 100 mil" with lore "||&7Você pode sacar 100 mil de||&7sua conta bancaria.||&f" to run [make player execute command "sacar100milnobancodocaraconfirmacao"]
- format slot 19 of player with paper named "&eSacar 500 mil" with lore "||&7Você pode sacar 500 mil de||&7sua conta bancaria.||&f" to run [make player execute command "sacar500milnobancodocaraconfirmacao"]
- format slot 21 of player with paper named "&eSacar 1 milhão" with lore "||&7Você pode sacar 1 milão de||&7sua conta bancaria.||&f" to run [make player execute command "sacar1milaonobancodocaraconfirmacao"]
- format slot 23 of player with paper named "&eSacar 10 milhões" with lore "||&7Você pode sacar 10 milhões de||&7sua conta bancaria.||&f" to run [make player execute command "sacar10milaonobancodocaraconfirmacao"]
- format slot 25 of player with paper named "&eSacar 20 milhões" with lore "||&7Você pode sacar 20 milhões de||&7sua conta bancaria.||&f" to run [make player execute command "sacar20milaonobancodocaraconfirmacao"]
- format slot 35 of player with arrow named "&eRetornar" with lore "||&7Clique para retornar ao painel central.||&f" to run [make player execute command "acessarobancopelomenunocomandosecretodalaguinha"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /sacar1milnobancodocaraconfirmacao:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Banqueiro - Confirmação" to player
- wait 2 tick
- format slot 11 of player with light green wool named "&aConfirmar" with lore "||&7Se deseja confirmar o saque.||&7(Clique aqui).||&f" to close then run [make player execute command "sacar1knacontadobanco"]
- format slot 13 of player with a paper named "&eSacar 1 mil" with lore "||&7Você pode sacar 1 mil de||&7sua conta bancaria.||&f" to be unstealable
- format slot 15 of player with red wool named "&cCancelar" with lore "||&7Se deseja cancelar o saque||&7(Clique aqui)||" to close then run [make player execute command "cancelarcomprardoshop"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /sacar1knacontadobanco:
- trigger:
- set {_setiverconta} to pegarConta(player)
- set {_saldojogadorver} to pegarSaldo(player)
- if "%{_setiverconta}%" = "true":
- if {_saldojogadorver} >= 1000:
- add 1000 to player's balance
- RemoveSaldo(player, 1000)
- send player title "&2Banqueiro" with subtitle "&fVocê sacou 1 mil de sua conta bancaria." for 2 seconds
- else:
- send player title "&2Banqueiro" with subtitle "&fSeu saldo bancario é insuficiente..." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /sacar5milnobancodocaraconfirmacao:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Banqueiro - Confirmação" to player
- wait 2 tick
- format slot 11 of player with light green wool named "&aConfirmar" with lore "||&7Se deseja confirmar o saque.||&7(Clique aqui).||&f" to close then run [make player execute command "sacar5knacontadobanco"]
- format slot 13 of player with a paper named "&eSacar 5 mil" with lore "||&7Você pode sacar 5 mil de||&7sua conta bancaria.||&f" to be unstealable
- format slot 15 of player with red wool named "&cCancelar" with lore "||&7Se deseja cancelar o saque||&7(Clique aqui)||" to close then run [make player execute command "cancelarcomprardoshop"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /sacar5knacontadobanco:
- trigger:
- set {_setiverconta} to pegarConta(player)
- set {_saldojogadorver} to pegarSaldo(player)
- if "%{_setiverconta}%" = "true":
- if {_saldojogadorver} >= 5000:
- add 5000 to player's balance
- RemoveSaldo(player, 5000)
- send player title "&2Banqueiro" with subtitle "&fVocê sacou 5 mil de sua conta bancaria." for 2 seconds
- else:
- send player title "&2Banqueiro" with subtitle "&fSeu saldo bancario é insuficiente..." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /sacar10milnobancodocaraconfirmacao:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Banqueiro - Confirmação" to player
- wait 2 tick
- format slot 11 of player with light green wool named "&aConfirmar" with lore "||&7Se deseja confirmar o saque.||&7(Clique aqui).||&f" to close then run [make player execute command "sacar10knacontadobanco"]
- format slot 13 of player with a paper named "&eSacar 10 mil" with lore "||&7Você pode sacar 10 mil de||&7sua conta bancaria.||&f" to be unstealable
- format slot 15 of player with red wool named "&cCancelar" with lore "||&7Se deseja cancelar o saque||&7(Clique aqui)||" to close then run [make player execute command "cancelarcomprardoshop"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /sacar10knacontadobanco:
- trigger:
- set {_setiverconta} to pegarConta(player)
- set {_saldojogadorver} to pegarSaldo(player)
- if "%{_setiverconta}%" = "true":
- if {_saldojogadorver} >= 10000:
- add 10000 to player's balance
- RemoveSaldo(player, 10000)
- send player title "&2Banqueiro" with subtitle "&fVocê sacou 10 mil de sua conta bancaria." for 2 seconds
- else:
- send player title "&2Banqueiro" with subtitle "&fSeu saldo bancario é insuficiente..." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /sacar100milnobancodocaraconfirmacao:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Banqueiro - Confirmação" to player
- wait 2 tick
- format slot 11 of player with light green wool named "&aConfirmar" with lore "||&7Se deseja confirmar o saque.||&7(Clique aqui).||&f" to close then run [make player execute command "sacar100knacontadobanco"]
- format slot 13 of player with a paper named "&eSacar 100 mil" with lore "||&7Você pode sacar 100 mil de||&7sua conta bancaria.||&f" to be unstealable
- format slot 15 of player with red wool named "&cCancelar" with lore "||&7Se deseja cancelar o saque||&7(Clique aqui)||" to close then run [make player execute command "cancelarcomprardoshop"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /sacar100knacontadobanco:
- trigger:
- set {_setiverconta} to pegarConta(player)
- set {_saldojogadorver} to pegarSaldo(player)
- if "%{_setiverconta}%" = "true":
- if {_saldojogadorver} >= 100000:
- add 100000 to player's balance
- RemoveSaldo(player, 100000)
- send player title "&2Banqueiro" with subtitle "&fVocê sacou 100 mil de sua conta bancaria." for 2 seconds
- else:
- send player title "&2Banqueiro" with subtitle "&fSeu saldo bancario é insuficiente..." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /sacar500milnobancodocaraconfirmacao:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Banqueiro - Confirmação" to player
- wait 2 tick
- format slot 11 of player with light green wool named "&aConfirmar" with lore "||&7Se deseja confirmar o saque.||&7(Clique aqui).||&f" to close then run [make player execute command "sacar500knacontadobanco"]
- format slot 13 of player with a paper named "&eSacar 500 mil" with lore "||&7Você pode sacar 500 mil de||&7sua conta bancaria.||&f" to be unstealable
- format slot 15 of player with red wool named "&cCancelar" with lore "||&7Se deseja cancelar o saque||&7(Clique aqui)||" to close then run [make player execute command "cancelarcomprardoshop"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /sacar500knacontadobanco:
- trigger:
- set {_setiverconta} to pegarConta(player)
- set {_saldojogadorver} to pegarSaldo(player)
- if "%{_setiverconta}%" = "true":
- if {_saldojogadorver} >= 500000:
- add 500000 to player's balance
- RemoveSaldo(player, 500000)
- send player title "&2Banqueiro" with subtitle "&fVocê sacou 500 mil de sua conta bancaria." for 2 seconds
- else:
- send player title "&2Banqueiro" with subtitle "&fSeu saldo bancario é insuficiente..." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /sacar1milaonobancodocaraconfirmacao:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Banqueiro - Confirmação" to player
- wait 2 tick
- format slot 11 of player with light green wool named "&aConfirmar" with lore "||&7Se deseja confirmar o saque.||&7(Clique aqui).||&f" to close then run [make player execute command "sacar1mnacontadobanco"]
- format slot 13 of player with a paper named "&eSacar 1 milhão" with lore "||&7Você pode sacar 1 milhão de||&7sua conta bancaria.||&f" to be unstealable
- format slot 15 of player with red wool named "&cCancelar" with lore "||&7Se deseja cancelar o saque||&7(Clique aqui)||" to close then run [make player execute command "cancelarcomprardoshop"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /sacar1mnacontadobanco:
- trigger:
- set {_setiverconta} to pegarConta(player)
- set {_saldojogadorver} to pegarSaldo(player)
- if "%{_setiverconta}%" = "true":
- if {_saldojogadorver} >= 1000000:
- add 1000000 to player's balance
- RemoveSaldo(player, 1000000)
- send player title "&2Banqueiro" with subtitle "&fVocê sacou 1 milhão de sua conta bancaria." for 2 seconds
- else:
- send player title "&2Banqueiro" with subtitle "&fSeu saldo bancario é insuficiente..." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /sacar10milaonobancodocaraconfirmacao:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Banqueiro - Confirmação" to player
- wait 2 tick
- format slot 11 of player with light green wool named "&aConfirmar" with lore "||&7Se deseja confirmar o saque.||&7(Clique aqui).||&f" to close then run [make player execute command "sacar10mnacontadobanco"]
- format slot 13 of player with a paper named "&eSacar 10 milhões" with lore "||&7Você pode sacar 10 milhões de||&7sua conta bancaria.||&f" to be unstealable
- format slot 15 of player with red wool named "&cCancelar" with lore "||&7Se deseja cancelar o saque||&7(Clique aqui)||" to close then run [make player execute command "cancelarcomprardoshop"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /sacar10mnacontadobanco:
- trigger:
- set {_setiverconta} to pegarConta(player)
- set {_saldojogadorver} to pegarSaldo(player)
- if "%{_setiverconta}%" = "true":
- if {_saldojogadorver} >= 10000000:
- add 10000000 to player's balance
- RemoveSaldo(player, 10000000)
- send player title "&2Banqueiro" with subtitle "&fVocê sacou 10 milhões de sua conta bancaria." for 2 seconds
- else:
- send player title "&2Banqueiro" with subtitle "&fSeu saldo bancario é insuficiente..." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /sacar20milaonobancodocaraconfirmacao:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Banqueiro - Confirmação" to player
- wait 2 tick
- format slot 11 of player with light green wool named "&aConfirmar" with lore "||&7Se deseja confirmar o saque.||&7(Clique aqui).||&f" to close then run [make player execute command "sacar20mnacontadobanco"]
- format slot 13 of player with a paper named "&eSacar 20 milhões" with lore "||&7Você pode sacar 20 milhões de||&7sua conta bancaria.||&f" to be unstealable
- format slot 15 of player with red wool named "&cCancelar" with lore "||&7Se deseja cancelar o saque||&7(Clique aqui)||" to close then run [make player execute command "cancelarcomprardoshop"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /sacar20mnacontadobanco:
- trigger:
- set {_setiverconta} to pegarConta(player)
- set {_saldojogadorver} to pegarSaldo(player)
- if "%{_setiverconta}%" = "true":
- if {_saldojogadorver} >= 20000000:
- add 20000000 to player's balance
- RemoveSaldo(player, 20000000)
- send player title "&2Banqueiro" with subtitle "&fVocê sacou 20 milhões de sua conta bancaria." for 2 seconds
- else:
- send player title "&2Banqueiro" with subtitle "&fSeu saldo bancario é insuficiente..." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /depositar1milnobancodocaraconfirmacao:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Banqueiro - Confirmação" to player
- wait 2 tick
- format slot 11 of player with light green wool named "&aConfirmar" with lore "||&7Se deseja confirmar o deposito.||&7(Clique aqui).||&f" to close then run [make player execute command "depositar1knacontadobanco"]
- format slot 13 of player with a paper named "&eDepositar 1 mil" with lore "||&7Você pode depositar 1 mil em||&7sua conta bancaria.||&f" to be unstealable
- format slot 15 of player with red wool named "&cCancelar" with lore "||&7Se deseja cancelar o deposito||&7(Clique aqui)||" to close then run [make player execute command "cancelarcomprardoshop"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /depositar1knacontadobanco:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- if player's balance is more or equal to 1000:
- remove 1000 from player's balance
- AddSaldo(player, 1000)
- send player title "&2Banqueiro" with subtitle "&fVocê depositou 1 mil em sua conta bancaria." for 2 seconds
- else:
- send player title "&2Banqueiro" with subtitle "&fSeu saldo é insuficiente..." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /depositar5milnobancodocaraconfirmacao:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Bancario - Confirmação" to player
- wait 2 tick
- format slot 11 of player with light green wool named "&aConfirmar" with lore "||&7Se deseja confirmar o deposito.||&7(Clique aqui).||&f" to close then run [make player execute command "depositar5knacontadobanco"]
- format slot 13 of player with a paper named "&eDepositar 5 mil" with lore "||&7Você pode depositar 5 mil em||&7sua conta bancaria.||&f" to be unstealable
- format slot 15 of player with red wool named "&cCancelar" with lore "||&7Se deseja cancelar o deposito||&7(Clique aqui)||" to close then run [make player execute command "cancelarcomprardoshop"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /depositar5knacontadobanco:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- if player's balance is more or equal to 5000:
- remove 5000 from player's balance
- AddSaldo(player, 5000)
- send player title "&2Banqueiro" with subtitle "&fVocê depositou 5 mil em sua conta bancaria." for 2 seconds
- else:
- send player title "&2Banqueiro" with subtitle "&fSeu saldo é insuficiente..." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /depositar10milnobancodocaraconfirmacao:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Banqueiro - Confirmação" to player
- wait 2 tick
- format slot 11 of player with light green wool named "&aConfirmar" with lore "||&7Se deseja confirmar o deposito.||&7(Clique aqui).||&f" to close then run [make player execute command "depositar10knacontadobanco"]
- format slot 13 of player with a paper named "&eDepositar 10 mil" with lore "||&7Você pode depositar 10 mil em||&7sua conta bancaria.||&f" to be unstealable
- format slot 15 of player with red wool named "&cCancelar" with lore "||&7Se deseja cancelar o deposito||&7(Clique aqui)||" to close then run [make player execute command "cancelarcomprardoshop"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /depositar10knacontadobanco:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- if player's balance is more or equal to 10000:
- remove 10000 from player's balance
- AddSaldo(player, 10000)
- send player title "&2Banqueiro" with subtitle "&fVocê depositou 10 mil em sua conta bancaria." for 2 seconds
- else:
- send player title "&2Banqueiro" with subtitle "&fSeu saldo é insuficiente..." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /depositar100milnobancodocaraconfirmacao:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Banqueiro - Confirmação" to player
- wait 2 tick
- format slot 11 of player with light green wool named "&aConfirmar" with lore "||&7Se deseja confirmar o deposito.||&7(Clique aqui).||&f" to close then run [make player execute command "depositar100knacontadobanco"]
- format slot 13 of player with a paper named "&eDepositar 100 mil" with lore "||&7Você pode depositar 100 mil em||&7sua conta bancaria.||&f" to be unstealable
- format slot 15 of player with red wool named "&cCancelar" with lore "||&7Se deseja cancelar o deposito||&7(Clique aqui)||" to close then run [make player execute command "cancelarcomprardoshop"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /depositar100knacontadobanco:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- if player's balance is more or equal to 100000:
- remove 100000 from player's balance
- AddSaldo(player, 100000)
- send player title "&2Banqueiro" with subtitle "&fVocê depositou 100 mil em sua conta bancaria." for 2 seconds
- else:
- send player title "&2Banqueiro" with subtitle "&fSeu saldo é insuficiente..." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /depositar500milnobancodocaraconfirmacao:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Banqueiro - Confirmação" to player
- wait 2 tick
- format slot 11 of player with light green wool named "&aConfirmar" with lore "||&7Se deseja confirmar o deposito.||&7(Clique aqui).||&f" to close then run [make player execute command "depositar500knacontadobanco"]
- format slot 13 of player with a paper named "&eDepositar 500 mil" with lore "||&7Você pode depositar 500 mil em||&7sua conta bancaria.||&f" to be unstealable
- format slot 15 of player with red wool named "&cCancelar" with lore "||&7Se deseja cancelar o deposito||&7(Clique aqui)||" to close then run [make player execute command "cancelarcomprardoshop"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /depositar500knacontadobanco:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- if player's balance is more or equal to 500000:
- remove 500000 from player's balance
- AddSaldo(player, 500000)
- send player title "&2Banqueiro" with subtitle "&fVocê depositou 500 mil em sua conta bancaria." for 2 seconds
- else:
- send player title "&2Banqueiro" with subtitle "&fSeu saldo é insuficiente..." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /depositar1milhaonobancodocaraconfirmacao:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Banqueiro - Confirmação" to player
- wait 2 tick
- format slot 11 of player with light green wool named "&aConfirmar" with lore "||&7Se deseja confirmar o deposito.||&7(Clique aqui).||&f" to close then run [make player execute command "depositar1milhaonacontadobanco"]
- format slot 13 of player with a paper named "&eDepositar 1 milhão" with lore "||&7Você pode depositar 1 milhão em||&7sua conta bancaria.||&f" to be unstealable
- format slot 15 of player with red wool named "&cCancelar" with lore "||&7Se deseja cancelar o deposito||&7(Clique aqui)||" to close then run [make player execute command "cancelarcomprardoshop"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /depositar1milhaonacontadobanco:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- if player's balance is more or equal to 1000000:
- remove 1000000 from player's balance
- AddSaldo(player, 1000000)
- send player title "&2Banqueiro" with subtitle "&fVocê depositou 1 milhão em sua conta bancaria." for 2 seconds
- else:
- send player title "&2Banqueiro" with subtitle "&fSeu saldo é insuficiente..." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /depositar10milhaonobancodocaraconfirmacao:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Banqueiro - Confirmação" to player
- wait 2 tick
- format slot 11 of player with light green wool named "&aConfirmar" with lore "||&7Se deseja confirmar o deposito.||&7(Clique aqui).||&f" to close then run [make player execute command "depositar10milhaonacontadobanco"]
- format slot 13 of player with a paper named "&eDepositar 10 milhões" with lore "||&7Você pode depositar 10 milhões em||&7sua conta bancaria.||&f" to be unstealable
- format slot 15 of player with red wool named "&cCancelar" with lore "||&7Se deseja cancelar o deposito||&7(Clique aqui)||" to close then run [make player execute command "cancelarcomprardoshop"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /depositar10milhaonacontadobanco:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- if player's balance is more or equal to 10000000:
- remove 10000000 from player's balance
- AddSaldo(player, 10000000)
- send player title "&2Banqueiro" with subtitle "&fVocê depositou 10 milhões em sua conta bancaria." for 2 seconds
- else:
- send player title "&2Banqueiro" with subtitle "&fSeu saldo é insuficiente..." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /depositar20milhaonobancodocaraconfirmacao:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- play "NOTE_PLING" to player at volume 0.5
- open chest with 3 row named "&8Banqueiro - Confirmação" to player
- wait 2 tick
- format slot 11 of player with light green wool named "&aConfirmar" with lore "||&7Se deseja confirmar o deposito.||&7(Clique aqui).||&f" to close then run [make player execute command "depositar20milhaonacontadobanco"]
- format slot 13 of player with a paper named "&eDepositar 20 milhões" with lore "||&7Você pode depositar 20 milhões em||&7sua conta bancaria.||&f" to be unstealable
- format slot 15 of player with red wool named "&cCancelar" with lore "||&7Se deseja cancelar o deposito||&7(Clique aqui)||" to close then run [make player execute command "cancelarcomprardoshop"]
- else:
- close player's inventory
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
- command /depositar20milhaonacontadobanco:
- trigger:
- set {_setiverconta} to pegarConta(player)
- if "%{_setiverconta}%" = "true":
- if player's balance is more or equal to 20000000:
- remove 20000000 from player's balance
- AddSaldo(player, 20000000)
- send player title "&2Banqueiro" with subtitle "&fVocê depositou 20 milhões em sua conta bancaria." for 2 seconds
- else:
- send player title "&2Banqueiro" with subtitle "&fSeu saldo é insuficiente..." for 2 seconds
- else:
- send player title "&cVocê não possui" with subtitle "&cuma conta bancaria." for 2 seconds
Advertisement
Add Comment
Please, Sign In to add comment