Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {zl.kurs} = 5
- {zl.%player%} = 100
- {rubiny.%player%} = 10
- command /zl:
- trigger:
- if {zl.%player%} is bigger than "{zl.kurs}":
- add 1 to {rubiny.%player%}
- remove {zl.kurs} from {zl.%player%}
- add 0.1 to {zl.kurs}
- else:
- send "Masz za mało kasy"
- command /rb:
- trigger:
- if {rubiny.%player%} is bigger than "1":
- add {zl.kurs} to {zl.%player%}
- remove 1 from {rubiny.%player%}
- remove 0.1 from {zl.kurs}
- else:
- send "Masz za mało rubinów"
- every 1 seconds:
- loop all players:
- display board named "&8.:: &4Kasa &8::." to loop-player
- make score "&7Kurs Zlotówki:" in board of loop-player to {zl.kurs}
- make score "&7Zlotówki:" in board of loop-player to {zl.%player%}
- make score "&7Rubiny:" in board of loop-player to {rubiny.%player%}
- move display of loop-player to sidebar
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement