When I turn on my server and join it, it instantly kicks me and goes offline. Does anyone know why this is happening? I can't run commands either, so therefore I know the server TPS is 0, but why?
Skript: Money Generator
on join:
wait 1 tick
while player is alive:
if blocks in radius 10 of player contains emerald block:
add 4 to player's balance
send "&a&l+ $4" to player
wait 1 second
Ingame it says: Encountered 1 Error, (In line 5)