Lem0nzz
|
  |
| Joined: 18 Jul 2011 |
| Total Posts: 926 |
|
|
| 28 Jan 2014 01:56 PM |
| Before my game script, I want a repeat message if there is only 1 player in the game. Does anyone have something like that?? |
|
|
| Report Abuse |
|
|
|
| 28 Jan 2014 02:06 PM |
if --Something that checks if there is only one player then local m = Instance.new("Message", Workspace) m.Text = "There must be 2 players for the game to begin." wait() until --Something to check if there is more than one player m:Destroy()
--Continue Code
|
|
|
| Report Abuse |
|
|
|
| 28 Jan 2014 02:53 PM |
| Are you talking about a script like wait..... For another player to join? Cause I have that! |
|
|
| Report Abuse |
|
|
|
| 28 Jan 2014 02:55 PM |
while true do wait() --Code end
●▂▂● |
|
|
| Report Abuse |
|
|
|
| 28 Jan 2014 03:07 PM |
game.Players.PlayerAdded:connect(function(plr) if PlayerCount < 2 then local msg = Instance.new("Message", workspace) msg.Text = "Need 1 more player to play" end end)
That's all i'm doing. |
|
|
| Report Abuse |
|
|