This is basically a game start script but before anything starts, there is a condition for it to check the number of players. If the Num of players ==1 then it will make things visble and disable other stuff. I added a wait so that would repeat until Num players>1.
Error:Expected until to close repeat at line 24. I have changed this script multiple times only to be the same error in different places.
local peeps = game.Players.LocalPlayer.PlayerGui if game.Players.NumPlayers ==1 then function check() repeat wait(1) script.Parent.players2.Value = "false" peeps.Mainmenu.Spacer.lobby.voting.whitetab.time.Visible = false peeps.Mainmenu.Spacer.lobby.voting.whitetab.vote.Visible = false peeps.Mainmenu.Spacer.lobby.voting.whitetab.numplayer.Visible = true script.Parent.players2.Value = "true" until game.Players.NumPlayers>1 end check() else