I fixed it myself. Here is the fixed script:
game.Players.PlayerAdded:connect(function(plr) if game.Players.NumPlayers >= 2 then msg =Instance.new("Hint", game.Workspace) msg.Text = "Game Start!" else msg = Instance.new("Hint", game.Workspace) msg.Text = "2 players needed to start." end end)
>=
Means greater than or equal to. If the number of players is greater than or equal to one (which it is), then it will still return true. Replace 1 with 2 on line 2 and it should work.
game.Players.PlayerAdded:connect(function(plr) if game.Players.NumPlayers >= 2 then msg =Instance.new("Hint", game.Workspace) msg.Text = "Game Start!" else msg = Instance.new("Hint", game.Workspace) msg.Text = "2 players needed to start." end end)
Please accept this answer if I helped! :D