IntValue Not Changing

On your EndRound script

if plrs == 0 then
wait(2)

You need to define the plrs again so like this

if plrs == 0 then
wait(2)
local plrs= game.ServerScriptService["Other Scripts"].PlrCheck.Final.Value
if plrs == 0 then
--Script goes here

I will try that. Thanks for the help.

So I found out that this bug only happens the first time one of a certain 3 gamemodes occur, so I made it so that if it detects 0, it teleports everyone to the lobby so no one gets a win, because no one should techincally be on the field anyways. Thanks for all the help! A special thanks to @JackscarIitt

1 Like