Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Esse script estou fazendo para pessoas que não vão me dar nada em troca.
- #Sistema de players
- options:
- inf.players: 2
- On Skript start:
- set {inf.players} to {_inf.players}
- wait 6 ticks
- send "&d&o[Server] Skript Infected 0.1! (LIGANDO) &b&o@theluksabm" to console
- set {inf.players} to {_inf.players}
- set {inf.mp} to false
- On Skript stop:
- set {inf.players} to {_inf.players}
- wait 6 ticks
- send "&d&o[Server] Skript Infected 0.1! (DESLIGANDO) &b&o@theluksabm" to console
- set {inf.players} to {_inf.players}
- set {inf.mp} to false
- on join:
- add 1 to {inf.players}
- set join message to "&e&o[+1] Jogadores:%{inf.players}%"
- if {inf.players} is greater or equal to {@inf.players}:
- set {inf.mp} to true
- on quit:
- subtract 1 from {inf.players}
- set quit message to "&e&o([-1] Jogadores:%{inf.players}%"
- if {inf.players} is less than {@inf.players}:
- set {inf.mp} to false
- command /players:
- aliases: online , jogadores , list
- trigger:
- send "Jogadores: %{inf.players}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement