Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- sign_line: &a&lSměnit
- on rightclick on sign:
- if 2nd line of clicked block is "{@sign_line}":
- if player's tool is diamond named "&6&lKredit":
- loop 65 times:
- if {_all} = 64:
- send "&aVyměnil si celý stack"
- set {_add} to {_all} * 1000
- add {_add} to player's balance
- stop
- if player's tool is air:
- send "&cUž nemáš nic."
- send "&2Pridano %{_all}% * 1000$"
- set {_add} to {_all} * 1000
- add {_add} to player's balance
- stop
- else:
- remove 1 diamond named "&6&lKredit" from the player's tool
- add 1 to {_all}
- else:
- send "&4Nedržíš kredit"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement