Hi, I am very new to skript and am trying to code a loop where every 1.5 seconds, your level goes down by one. This is the code i've tried:
on join:
while player is online:
make console execute command "/experience add %player% -1 levels"
set {Player_XP} to player's level
wait 1.5 seconds
does anyone know why this doesnt work? If so, please tell me.
on join:
while player is online:
make console execute command "/experience add %player% -1 levels"
set {Player_XP} to player's level
wait 1.5 seconds
does anyone know why this doesnt work? If so, please tell me.