every 5 seconds:
set {ONLINE::AMOUNT} to %number of all players%
Errors out:
[20:04:14 ERROR]: [Skript] 'all players%' is not an item stack (scoreboard.sk, line 2: set {ONLINE::AMOUNT} to %number of all players%')
[doublepost=1505957042,1505956054][/doublepost]ended up making my own variable for player count!
Code:
every 20 ticks:
loop all players:
set {onlineplayers} to amount of players
set {ONLINE::AMOUNT} to %number of all players%
Errors out:
[20:04:14 ERROR]: [Skript] 'all players%' is not an item stack (scoreboard.sk, line 2: set {ONLINE::AMOUNT} to %number of all players%')
[doublepost=1505957042,1505956054][/doublepost]ended up making my own variable for player count!
Code:
every 20 ticks:
loop all players:
set {onlineplayers} to amount of players