Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #By Wheemangga
- #Kalo nemu bug fix sendiri \:u/
- Variables:
- Bank = 0
- options:
- L: &7[&bBank&7]
- on rightclick on sign:
- line 1 of block is "bank":
- line 2 of block is "c":
- set line 1 of block to "&1[Bank]"
- set line 2 of block to "&fCheck"
- line 1 of block is "&1[Bank]":
- line 2 of block is "&fCheck":
- set line 3 of block to "&eUang Rekeningmu :"
- set line 4 of block to "&a$%{Bank.%player%}%"
- wait 5 seconds
- set line 3 of block to ""
- set line 4 of block to ""
- line 1 of block is "bank" or "Bank" or "&1Bank":
- line 2 of block is "d" or "D" or "dep" or "Dep" or "deposit" or "Deposit":
- line 3 of block is "5000":
- set line 1 of block to "&1[Bank]"
- set line 2 of block to "&fDeposit"
- set line 3 of block to "&a$5000"
- line 3 of block is "10000":
- set line 1 of block to "&1[Bank]"
- set line 2 of block to "&fDeposit"
- set line 3 of block to "&a$10000"
- line 3 of block is "20000":
- set line 1 of block to "&1[Bank]"
- set line 2 of block to "&fDeposit"
- set line 3 of block to "&a$20000"
- line 3 of block is "50000":
- set line 1 of block to "&1[Bank]"
- set line 2 of block to "&fDeposit"
- set line 3 of block to "&a$50000"
- line 3 of block is "100000":
- set line 1 of block to "&1[Bank]"
- set line 2 of block to "&fDeposit"
- set line 3 of block to "&a$100000"
- #===========================================================================================================#
- line 2 of block is "w" or "w" or "wit" or "wit" or "Withdraw" or "Withdraw":
- line 3 of block is "5000":
- set line 1 of block to "&1[Bank]"
- set line 2 of block to "&fWithdraw"
- set line 3 of block to "&a$5000"
- line 3 of block is "10000":
- set line 1 of block to "&1[Bank]"
- set line 2 of block to "&fWithdraw"
- set line 3 of block to "&a$10000"
- line 3 of block is "20000":
- set line 1 of block to "&1[Bank]"
- set line 2 of block to "&fWithdraw"
- set line 3 of block to "&a$20000"
- line 3 of block is "50000":
- set line 1 of block to "&1[Bank]"
- set line 2 of block to "&fWithdraw"
- set line 3 of block to "&a$50000"
- line 3 of block is "100000":
- set line 1 of block to "&1[Bank]"
- set line 2 of block to "&fWithdraw"
- set line 3 of block to "&a$100000"
- #===========================================================================================================#
- on rightclick on sign:
- line 1 of block is "&1[Bank]":
- line 2 of block is "&fDeposit":
- line 3 of block is "&a$5000":
- player's money is above or equal to 5000:
- remove 5000 from player's money
- set line 4 of block to "&fMemproses"
- wait 1 seconds
- set line 4 of block to "&fMemproses."
- wait 1 seconds
- set line 4 of block to "&fMemproses.."
- wait 1 seconds
- set line 4 of block to "&fMemproses..."
- wait 1 seconds
- set line 4 of block to "&aSukses!!"
- wait 1 seconds
- add 5000 to {Bank.%player%}
- set line 4 of block to "&fBank: &a%{Bank.%player%}%"
- wait 3 seconds
- set line 4 of block to ""
- line 3 of block is "&a$10000":
- player's money is above or equal to 10000:
- remove 10000 from player's money
- set line 4 of block to "&fMemproses"
- wait 1 seconds
- set line 4 of block to "&fMemproses."
- wait 1 seconds
- set line 4 of block to "&fMemproses.."
- wait 1 seconds
- set line 4 of block to "&fMemproses..."
- wait 1 seconds
- set line 4 of block to "&aSukses!!"
- wait 1 seconds
- add 5000 to {Bank.%player%}
- set line 4 of block to "&fBank: &a%{Bank.%player%}%"
- wait 3 seconds
- set line 4 of block to ""
- line 3 of block is "&a$20000":
- player's money is above or equal to 20000:
- remove 20000 from player's money
- set line 4 of block to "&fMemproses"
- wait 1 seconds
- set line 4 of block to "&fMemproses."
- wait 1 seconds
- set line 4 of block to "&fMemproses.."
- wait 1 seconds
- set line 4 of block to "&fMemproses..."
- wait 1 seconds
- set line 4 of block to "&aSukses!!"
- wait 1 seconds
- add 5000 to {Bank.%player%}
- set line 4 of block to "&fBank: &a%{Bank.%player%}%"
- wait 3 seconds
- set line 4 of block to ""
- line 3 of block is "&a$50000":
- player's money is above or equal to 50000:
- remove 50000 from player's money
- set line 4 of block to "&fMemproses"
- wait 1 seconds
- set line 4 of block to "&fMemproses."
- wait 1 seconds
- set line 4 of block to "&fMemproses.."
- wait 1 seconds
- set line 4 of block to "&fMemproses..."
- wait 1 seconds
- set line 4 of block to "&aSukses!!"
- wait 1 seconds
- add 5000 to {Bank.%player%}
- set line 4 of block to "&fBank: &a%{Bank.%player%}%"
- wait 3 seconds
- set line 4 of block to ""
- line 3 of block is "&a$100000":
- player's money is above or equal to 100000:
- remove 100000 from player's money
- set line 4 of block to "&fMemproses"
- wait 1 seconds
- set line 4 of block to "&fMemproses."
- wait 1 seconds
- set line 4 of block to "&fMemproses.."
- wait 1 seconds
- set line 4 of block to "&fMemproses..."
- wait 1 seconds
- set line 4 of block to "&aSukses!!"
- wait 1 seconds
- add 5000 to {Bank.%player%}
- set line 4 of block to "&fBank: &a%{Bank.%player%}%"
- wait 3 seconds
- set line 4 of block to ""
- line 2 of block is "&fWithdraw":
- line 3 of block is "&a$5000":
- {Bank.%player%} is above or equal to 5000:
- remove 5000 from {Bank.%player%}
- add 5000 to player's money
- set line 4 of block to "&fMemproses"
- wait 1 seconds
- set line 4 of block to "&fMemproses."
- wait 1 seconds
- set line 4 of block to "&fMemproses.."
- wait 1 seconds
- set line 4 of block to "&fMemproses..."
- wait 1 seconds
- set line 4 of block to "&aSukses!!"
- wait 1 seconds
- add 5000 to {Bank.%player%}
- set line 4 of block to "&fBank: &a%{Bank.%player%}%"
- wait 3 seconds
- set line 4 of block to ""
- else:
- set line 4 of block to "&4Tdk ada Uang!"
- wait 2 seconds
- set line 4 of block to ""
- line 3 of block is "&a$10000":
- {Bank.%player%} is above or equal to 10000:
- remove 10000 from {Bank.%player%}
- add 10000 to player's money
- set line 4 of block to "&fMemproses"
- wait 1 seconds
- set line 4 of block to "&fMemproses."
- wait 1 seconds
- set line 4 of block to "&fMemproses.."
- wait 1 seconds
- set line 4 of block to "&fMemproses..."
- wait 1 seconds
- set line 4 of block to "&aSukses!!"
- wait 1 seconds
- add 10000 to {Bank.%player%}
- set line 4 of block to "&fBank: &a%{Bank.%player%}%"
- wait 3 seconds
- set line 4 of block to ""
- else:
- set line 4 of block to "&4Tdk ada Uang!"
- wait 2 seconds
- set line 4 of block to ""
- line 3 of block is "&a$20000":
- {Bank.%player%} is above or equal to 20000:
- remove 20000 from {Bank.%player%}
- add 20000 to player's money
- set line 4 of block to "&fMemproses"
- wait 1 seconds
- set line 4 of block to "&fMemproses."
- wait 1 seconds
- set line 4 of block to "&fMemproses.."
- wait 1 seconds
- set line 4 of block to "&fMemproses..."
- wait 1 seconds
- set line 4 of block to "&aSukses!!"
- wait 1 seconds
- add 20000 to {Bank.%player%}
- set line 4 of block to "&fBank: &a%{Bank.%player%}%"
- wait 3 seconds
- set line 4 of block to ""
- else:
- set line 4 of block to "&4Tdk ada Uang!"
- wait 2 seconds
- set line 4 of block to ""
- line 3 of block is "&a$50000":
- {Bank.%player%} is above or equal to 50000:
- remove 50000 from {Bank.%player%}
- add 50000 to player's money
- set line 4 of block to "&fMemproses"
- wait 1 seconds
- set line 4 of block to "&fMemproses."
- wait 1 seconds
- set line 4 of block to "&fMemproses.."
- wait 1 seconds
- set line 4 of block to "&fMemproses..."
- wait 1 seconds
- set line 4 of block to "&aSukses!!"
- wait 1 seconds
- add 50000 to {Bank.%player%}
- set line 4 of block to "&fBank: &a%{Bank.%player%}%"
- wait 3 seconds
- set line 4 of block to ""
- else:
- set line 4 of block to "&4Tdk ada Uang!"
- wait 2 seconds
- set line 4 of block to ""
- line 3 of block is "&a$100000":
- {Bank.%player%} is above or equal to 100000:
- remove 100000 from {Bank.%player%}
- add 100000 to player's money
- set line 4 of block to "&fMemproses"
- wait 1 seconds
- set line 4 of block to "&fMemproses."
- wait 1 seconds
- set line 4 of block to "&fMemproses.."
- wait 1 seconds
- set line 4 of block to "&fMemproses..."
- wait 1 seconds
- set line 4 of block to "&aSukses!!"
- wait 1 seconds
- add 100000 to {Bank.%player%}
- set line 4 of block to "&fBank: &a%{Bank.%player%}%"
- wait 3 seconds
- set line 4 of block to ""
- else:
- set line 4 of block to "&4Tdk ada Uang!"
- wait 2 seconds
- set line 4 of block to ""
- #=====
- Options:
- L: &7[&aBank&7]
- command /bank [<text>] [<player>] [<integer>]:
- trigger:
- arg 1 is not set:
- send "{@L} &bBank Menu"
- send " "
- send "{@L} &a/Bank check &7- Mengecek uangmu"
- send "{@L} &a/Bank admin &7- Admin Mode"
- send " "
- send "{@L} BankMenu &b1.0.1&7 by &aWheemango"
- arg 1 is "check":
- arg 2 is not set:
- send "{@L} Rekeningmu : &a%{Bank.%player%}%"
- arg 2 is set:
- send "{@L} &a%arg 2%&7's Bank : &a%{Bank.%arg 2%}%"
- arg 1 is "admin":
- player has permission "bank.admin":
- send "{@L} &bAdmin Mode"
- send " "
- send "{@L} &a/Bank add <player> <amount> &7- &6Menambah rekening bank player"
- send "{@L} &a/Bank rem <player> <amount> &7- &6Mengurangi rekening bank player"
- send "{@L} &a/Bank check <player> &7- &6Mengecek uang Rekening player"
- send "{@L} &a/Bank reset <player> &7- &6Mereset Bank dari Rekening Player"
- send "{@L} &cKamu bukan Admin!"
- arg 1 is "add":
- player has permission "bank.admin":
- arg 2 is not set:
- send "{@L} Masukkan nama Player!"
- arg 2 is set:
- arg 3 is not set:
- send "{@L} Masukkan Jumlah uang!"
- arg 3 is set:
- add arg 3 to {Bank.%arg 2%}
- send "{@L} Kamu mendapat Cek sebesar &a$%arg 3%&7 dari &b%player%" to arg 2
- else:
- send "{@L} &cNo permission"
- arg 1 is "rem":
- player has permission "bank.admin":
- arg 2 is not set:
- send "{@L} Masukkan nama Player!"
- arg 2 is set:
- arg 3 is not set:
- send "{@L} Masukkan Jumlah uang!"
- arg 3 is set:
- remove arg 3 from {Bank.%arg 2%}
- send "{@L} Uangmu telah ditarik sebesar &a$%arg 3%&7 oleh &b%player%" to arg 2
- send "{@L} &cNo permission"
- arg 1 is "reset":
- arg 2 is set:
- clear {Bank.%player%}
- send "{@L} &a%player% &7Telah mereset Rekeningmu" to arg 2
- send "{@L} Success Reset!"
- send "{@L} Masukkan nama Player!"
Add Comment
Please, Sign In to add comment