Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # # # # # # # # # # # # # # # #
- # #
- # SKRYPT BY SEBXTER #
- # #
- # # # # # # # # # # # # # # # #
- options:
- tag: &1[&9srBank&1]
- variables:
- {bank.%player%} = 0
- command /bank:
- trigger:
- wait 2 tick
- open chest with 2 rows named "Bankomat" to player
- wait 2 tick
- format slot 0 of player with 1 of gold ingot named "&e1zl" with lore "&6Kliknij aby wplacic 1zl" to run "1 %player%"
- format slot 1 of player with 1 of gold ingot named "&e10zl" with lore "&6Kliknij aby wplacic 10zl" to run "10 %player%"
- format slot 2 of player with 1 of gold ingot named "&e100zl" with lore "&6Kliknij aby wplacic 100zl" to run "100 %player%"
- format slot 3 of player with 1 of gold ingot named "&e500zl" with lore "&6Kliknij aby wplacic 500zl" to run "500 %player%"
- format slot 4 of player with 1 of black stained glass named " " to run "2 %player%"
- format slot 5 of player with 1 of black stained glass named " " to run "2 %player%"
- format slot 6 of player with 1 of purple dye named "&aStan towjego konta bankowego to: %{bank.%player%}%" to run "2 %player%"
- format slot 7 of player with 1 of black stained glass named " " to run "2 %player%"
- format slot 8 of player with 1 of red wool named "&4Wyjscie" to close
- format slot 9 of player with 1 of iron ingot named "&a1zl" with lore "&2Kliknij aby wyplacic 1zl" to run "1a %player%"
- format slot 10 of player with 1 of iron ingot named "&a10zl" with lore "&2Kliknij aby wyplacic 10zl" to run "10a %player%"
- format slot 11 of player with 1 of iron ingot named "&a100zl" with lore "&2Kliknij aby wyplacic 100zl" to run "100a %player%"
- format slot 12 of player with 1 of iron ingot named "&a500zl" with lore "&2Kliknij aby wyplacic 500zl" to run "500a %player%"
- format slot 13 of player with 1 of black stained glass named " " to run "2 %player%"
- format slot 14 of player with 1 of black stained glass named " " to run "2 %player%"
- format slot 15 of player with 1 of magenta dye named "&bStan towjego portfela to: %player's balance% " to run "2 %player%"
- format slot 16 of player with 1 of black stained glass named " " to run "2 %player%"
- format slot 17 of player with 1 of red wool named "&4Wyjscie" to close
- command /1 [<player>]:
- executable by: console
- trigger:
- if player-arg's money is greater or equal to 1:
- remove 1 from player-arg's balance
- wait 1 tick
- add 1 to {bank.%player-arg%}
- play raw sound "note.pling" at player-arg with pitch 1 volume 5
- wait 1 tick
- close player-arg's inventory
- execute player-arg command "bank"
- else:
- send "{@tag} &cNie masz tyle pieniedzy" to player-arg
- play raw sound "note.bass" at player-arg with pitch 1 volume 20
- wait 1 tick
- close player-arg's inventory
- execute player-arg command "bank"
- command /10 [<player>]:
- executable by: console
- trigger:
- if player-arg's money is greater or equal to 10:
- remove 10 from player-arg's balance
- wait 1 tick
- add 10 to {bank.%player-arg%}
- play raw sound "note.pling" at player-arg with pitch 1 volume 5
- wait 1 tick
- close player-arg's inventory
- execute player-arg command "bank"
- else:
- send "{@tag} &cNie masz tyle pieniedzy" to player-arg
- play raw sound "note.bass" at player-arg with pitch 1 volume 20
- wait 1 tick
- close player-arg's inventory
- execute player-arg command "bank"
- command /100 [<player>]:
- executable by: console
- trigger:
- if player-arg's money is greater or equal to 100:
- remove 100 from player-arg's balance
- wait 1 tick
- add 100 to {bank.%player-arg%}
- play raw sound "note.pling" at player-arg with pitch 1 volume 5
- wait 1 tick
- close player-arg's inventory
- execute player-arg command "bank"
- else:
- send "{@tag} &cNie masz tyle pieniedzy" to player-arg
- play raw sound "note.bass" at player-arg with pitch 1 volume 20
- wait 1 tick
- close player-arg's inventory
- execute player-arg command "bank"
- command /500 [<player>]:
- executable by: console
- trigger:
- if player-arg's money is greater or equal to 500:
- remove 500 from player-arg's balance
- wait 1 tick
- add 500 to {bank.%player-arg%}
- play raw sound "note.pling" at player-arg with pitch 1 volume 5
- wait 1 tick
- close player-arg's inventory
- execute player-arg command "bank"
- else:
- send "{@tag} &cNie masz tyle pieniedzy" to player-arg
- play raw sound "note.bass" at player-arg with pitch 1 volume 20
- wait 1 tick
- close player-arg's inventory
- execute player-arg command "bank"
- command /1a [<player>]:
- executable by: console
- trigger:
- if {bank.%player-arg%} is greater than or equal to 1:
- remove 1 from {bank.%player-arg%}
- wait 1 tick
- add 1 to player-arg's balance
- play raw sound "note.snare" at player-arg with pitch 1 volume 5
- wait 1 tick
- close player-arg's inventory
- execute player-arg command "bank"
- else:
- send "{@tag} &cNie masz tyle pieniedzy w banku" to player-arg
- play raw sound "note.bass" at player-arg with pitch 1 volume 20
- wait 1 tick
- close player-arg's inventory
- execute player-arg command "bank"
- command /10a [<player>]:
- executable by: console
- trigger:
- if {bank.%player-arg%} is greater than or equal to 10:
- remove 10 from {bank.%player-arg%}
- wait 1 tick
- add 10 to player-arg's balance
- play raw sound "note.snare" at player-arg with pitch 1 volume 5
- wait 1 tick
- close player-arg's inventory
- execute player-arg command "bank"
- else:
- send "{@tag} &cNie masz tyle pieniedzy w banku" to player-arg
- play raw sound "note.bass" at player-arg with pitch 1 volume 20
- wait 1 tick
- close player-arg's inventory
- execute player-arg command "bank"
- command /100a [<player>]:
- executable by: console
- trigger:
- if {bank.%player-arg%} is greater than or equal to 100:
- remove 100 from {bank.%player-arg%}
- wait 1 tick
- add 100 to player-arg's balance
- play raw sound "note.snare" at player-arg with pitch 1 volume 5
- wait 1 tick
- close player-arg's inventory
- execute player-arg command "bank"
- else:
- send "{@tag} &cNie masz tyle pieniedzy w banku" to player-arg
- play raw sound "note.bass" at player-arg with pitch 1 volume 20
- wait 1 tick
- close player-arg's inventory
- execute player-arg command "bank"
- command /500a [<player>]:
- executable by: console
- trigger:
- if {bank.%player-arg%} is greater than or equal to 500:
- remove 500 from {bank.%player-arg%}
- wait 1 tick
- add 500 to player-arg's balance
- play raw sound "note.snare" at player-arg with pitch 1 volume 5
- wait 1 tick
- close player-arg's inventory
- execute player-arg command "bank"
- else:
- send "{@tag} &cNie masz tyle pieniedzy w banku" to player-arg
- play raw sound "note.bass" at player-arg with pitch 1 volume 20
- wait 1 tick
- close player-arg's inventory
- execute player-arg command "bank"
- command /2 [<player>]:
- executable by: console
- trigger:
- close player-arg's inventory
- execute player-arg command "bank"
- on sign change:
- player has permission "srBank"
- line 1 is "bankomat"
- set line 1 to "{@tag}"
- set line 2 to "&fotworz"
- stop
- on right click on sign:
- if line 1 of clicked block is "{@tag}":
- execute player command "bank"
- play raw sound "tile.piston.in" at player with pitch 1 volume 20
- stop
Advertisement
Add Comment
Please, Sign In to add comment