Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #©
- #- Reselling/Reuploading while claiming that it is yours or made by you is disallowed
- #- Do not edit it and upload it as your own
- #- While using it in a video, please feature everything under "Video"
- #©
- #
- #Video:
- #Skript made by Zeldaboy111
- #More content of the creator: https://forums.skunity.com/search/26443679/
- options:
- starterBalance: 2000
- on enable:
- set {atm.guiItems::*} to diamond block, gold block, iron block, gold ingot, iron ingot, gold nugget, iron nugget
- set {atm.guiWorth::*} to 1000, 500, 100, 50, 10, 2 and 1
- function drawOutline(p: Player, mat: Material, rows: Number):
- loop 9 times:
- set slot loop-value - 1 of {_p}'s current inventory to {_mat} named "&8"
- set slot ({_rows}*9) - loop-value of {_p}'s current inventory to {_mat} named "&8"
- loop {_rows} times:
- set slot loop-value * 9 of {_p}'s current inventory to {_mat} named "&8"
- set slot loop-value * 9 - 1 of {_p}'s current inventory to {_mat} named "&8"
- function drawBalance(p: Player):
- set {_balance} to {balance.atm.%{_p}%}
- set {_slot} to 10
- loop {atm.guiWorth::*}:
- set {_amount} to 0
- set {_worth} to 0
- while {_balance} >= loop-value:
- add 1 to {_amount}
- add loop-value to {_worth}
- remove
Add Comment
Please, Sign In to add comment