generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Does This Work In Studio?

Previous Thread :: Next Thread 
Chaserays is not online. Chaserays
Joined: 04 Jun 2012
Total Posts: 3290
07 Aug 2017 05:25 PM
So this is suppose to make it where if there are less than two players in the game then the scripts after this one will not run until another player joins, making 2. It displays this on a GUI. But it won't work when I enter inside of studio. Should it be working in studio?




while true do

while game.Players.NumPlayer > 2 do
status.Value = "There needs to be at least two players for the game to begin."
repeat wait(2) until game.Players.NumPlayers >= 2
end
Report Abuse
Chaserays is not online. Chaserays
Joined: 04 Jun 2012
Total Posts: 3290
07 Aug 2017 05:26 PM
NumPlayer lol forgot s... ok
Report Abuse
Chaserays is not online. Chaserays
Joined: 04 Jun 2012
Total Posts: 3290
07 Aug 2017 05:27 PM
and I fixed it completely, all done
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image