Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on region enter:
- wait 1 tick
- if "%region at player%" contains "mina01":
- add player to {mina.estou.%player%::*}
- on region leave:
- wait 1 tick
- if "%region at player%" contains "mina01":
- remove player from {mina.estou.%player%::*}
- on command "/mrl reset minapvp":
- loop all players:
- loop-player is equal to {mina.estou.%loop-player%::*}:
- send "&a[V] &7Resetando mina &aA &7em &c3&7." to loop-player
- wait 1 seconds
- send "&a[V] &7Resetando mina &aA &7em &c2&7." to loop-player
- wait 1 seconds
- send "&a[V] &7Resetando mina &aA &7em &c1&7." to loop-player
- wait 1 seconds
- teleport loop-player to spawn
- remove loop-player from {mina.estou.%loop-player%::*}
- send "&cA MINA RESETOU POHA" to loop-player
- every 30 minutes:
- make console execute command "/mrl reset minapvp"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement