#Round System Not working properly

8 messages · Page 1 of 1 (latest)

fossil tiger
#

where code

patent ridgeBOT
#

studio** You are now Level 11! **studio

pale lintel
#

@fossil tiger ive also tried with getplayers()

#

local PlayersPlaying = playingTeam:GetPlayers()

if PlayersPlaying == 1 then
print("we have a winner")
game.ReplicatedStorage.Status.Value = playing[1].."Has Won The Game"

    Break

end

like this

fossil tiger
#

Try this. Make sure to put a hashtag before mentioning the table to get the total indexes of it


local PlayersPlaying = game.Teams.Playing:GetPlayers()

if #PlayersPlaying == 1 then
    print("we have a winner")
    game.ReplicatedStorage.Status.Value = playing[1].."Has Won The Game"

        break 
end

#

Opps, sorry if the format ain't working,I'm on mobile rn😅

pale lintel
#

thank you its working