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:
- send "&d&o[Server] Skript Infected 0.1! &b&o@theluksabm" to console
- set {inf.players} to 0
- set {inf.mp} to false
- on command /sk reload all:
- wait 2 ticks
- if {inf.players} is equal 0:
- continue
- else if :
- set {inf.players2} to {inf.players}
- wait 2 ticks
- continue
- 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