of     1   

swimmaster07
#183633139Monday, February 15, 2016 1:40 AM GMT

So I have a game where there is a "round" and I want to remove a player from a table if they die in the round. For some reason, this part of the script seems to get skipped. Help! local localtimer = roundtime activecontestants = {contestants} while localtimer > 1 do wait(1) localtimer = localtimer - 1 status.Value = localtimer for _, player in pairs(activecontestants) do if player.Health == 0 then table.remove(activecontestants, player) end end if #activecontestants == 1 or localtimer <= 1 then break end end
swimmaster07
#183633936Monday, February 15, 2016 1:52 AM GMT

B
swimmaster07
#183636346Monday, February 15, 2016 2:23 AM GMT

BU
swimmaster07
#183640385Monday, February 15, 2016 3:17 AM GMT

BUM
cofunction
#183640677Monday, February 15, 2016 3:21 AM GMT

LocalTimer must be = to 0 or 1
swimmaster07
#183644280Monday, February 15, 2016 4:08 AM GMT

What do u mean
cofunction
#183644349Monday, February 15, 2016 4:09 AM GMT

"while localtimer > 1 do" If the localtimer was = to 1 or 0 it would just ignore this.
swimmaster07
#183662762Monday, February 15, 2016 12:49 PM GMT

ik but it should still count down the "round time" which is eaqual to 120.

    of     1