Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on login:
- if {los.%uuid of player%} is not set:
- set {los.%uuid of player%} to 720
- if {los.%uuid of player%} is not 0:
- set {_hour} to {los.%uuid of player%}/60
- set {_minute} to {los.%uuid of player%}/12
- send "<red><bold> Poczekaj jeszcze %{_hour}% godzin i %{_minute}% minut do nastepnej szansy na prezent!"
- else:
- chance of 20%:
- give DIAMOND to player
- give EMERALD to player
- send "<aqua><bold>[<yellow><bold>Przewodnik<aqua><bold>]<light green>Otrzymales prezent!"
- delete {los.%uuid of player%}
- else:
- send "<aqua><bold>[<yellow><bold>Przewodnik<aqua><bold>]<light green>Tym razem nie otrzymales prezentu."
- delete {los.%uuid of player%}
- every 1 minute:
- loop all players:
- remove 1 from {los.%uuid of loop-player%}
Advertisement
Add Comment
Please, Sign In to add comment