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: 2 Players to Start (pay)

Previous Thread :: Next Thread 
lnTech is not online. lnTech
Joined: 09 Nov 2012
Total Posts: 737
11 Feb 2017 01:57 PM
I will pay 75 robux to make a round based game start when 2 players join.


Report Abuse
lnTech is not online. lnTech
Joined: 09 Nov 2012
Total Posts: 737
11 Feb 2017 02:28 PM
I can add a bit more but its a simple job


Report Abuse
KritikalGunzz is not online. KritikalGunzz
Joined: 10 Nov 2013
Total Posts: 1633
11 Feb 2017 02:30 PM
while game.Players.NumPlayers < whatever do
wait(3)
end

simple version, you could include checks for character and humanoid health to make it better
Report Abuse
HalfPinky456 is not online. HalfPinky456
Joined: 10 Apr 2011
Total Posts: 6236
11 Feb 2017 02:30 PM
if game.Players.NumPlayers < 2 then
repeat
return end
until game.Players.NumPlayers >= 2
end

*:・゚✧ this post is top kek *:・゚✧
Report Abuse
HalfPinky456 is not online. HalfPinky456
Joined: 10 Apr 2011
Total Posts: 6236
11 Feb 2017 02:30 PM
wow i was ninja'd

*:・゚✧ this post is top kek *:・゚✧
Report Abuse
lnTech is not online. lnTech
Joined: 09 Nov 2012
Total Posts: 737
11 Feb 2017 02:36 PM
Half pinky, I need to say that on # GUI, so like waiting for another player..
Report Abuse
HalfPinky456 is not online. HalfPinky456
Joined: 10 Apr 2011
Total Posts: 6236
11 Feb 2017 02:37 PM
invite me to a team create

*:・゚✧ this post is top kek *:・゚✧
Report Abuse
lnTech is not online. lnTech
Joined: 09 Nov 2012
Total Posts: 737
11 Feb 2017 02:39 PM
https://www.roblox.com/games/526818595/Block-Out-TESTING

join this game


Report Abuse
iiTylerSoul is not online. iiTylerSoul
Joined: 29 Jun 2015
Total Posts: 178
11 Feb 2017 02:43 PM
HalfPinky, isn't it

repeat wait() until game.Players.NumPlayers >= 2


Report Abuse
KritikalGunzz is not online. KritikalGunzz
Joined: 10 Nov 2013
Total Posts: 1633
11 Feb 2017 02:44 PM
^^ There are different ways of doing it
Report Abuse
lnTech is not online. lnTech
Joined: 09 Nov 2012
Total Posts: 737
11 Feb 2017 02:45 PM
iiTyler what would the full thing be?


Report Abuse
HalfPinky456 is not online. HalfPinky456
Joined: 10 Apr 2011
Total Posts: 6236
11 Feb 2017 02:45 PM
thats more compact, so i'll use it
thanks tyler

*:・゚✧ this post is top kek *:・゚✧
Report Abuse
KritikalGunzz is not online. KritikalGunzz
Joined: 10 Nov 2013
Total Posts: 1633
11 Feb 2017 02:46 PM
Best way would be actually checking if the player has loaded in game first and has full health
Report Abuse
lnTech is not online. lnTech
Joined: 09 Nov 2012
Total Posts: 737
11 Feb 2017 02:46 PM
Ok I figured it out, thanks a lot!


Report Abuse
Wrathsong is online. Wrathsong
Joined: 05 Jul 2012
Total Posts: 22393
11 Feb 2017 02:50 PM
repeat wait() until #game.Players:GetPlayers() >= 2


Ever wanted to learn how to script? Check out my YouTube channel: youtube.com/austintheslayer Want to see me code in action? Follow me on twitch: twitch.tv/austinrblx
Report Abuse
iiTylerSoul is not online. iiTylerSoul
Joined: 29 Jun 2015
Total Posts: 178
11 Feb 2017 03:15 PM
mine is more compact >:)




Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
11 Feb 2017 03:15 PM
click on "edit"

https://www.roblox.com/games/141589692/Basic-Minigame


Report Abuse
ColinRocks99 is not online. ColinRocks99
Joined: 04 May 2013
Total Posts: 1533
11 Feb 2017 03:41 PM
while true do

repeat wait() until game.Players.NumPlayers <= 2

end
Report Abuse
Lua_Basics is not online. Lua_Basics
Joined: 04 Jun 2012
Total Posts: 9977
11 Feb 2017 03:43 PM
Just set a value, and have the gui change when the value changes. :/
Report Abuse
ColinRocks99 is not online. ColinRocks99
Joined: 04 May 2013
Total Posts: 1533
11 Feb 2017 11:05 PM
"repeat wait() until game.idk.idk_value.Value == value"
Report Abuse
Disillusions is not online. Disillusions
Joined: 10 Jul 2011
Total Posts: 6365
11 Feb 2017 11:09 PM
TERRIBLE

while game.Players.NumPlayers < 2 do game.Players.PlayerAdded:Wait() end


Report Abuse
mybowls72 is not online. mybowls72
Joined: 05 Aug 2013
Total Posts: 2688
11 Feb 2017 11:11 PM
wth is "ninjad" and why do kids keep saying it.
Report Abuse
Disillusions is not online. Disillusions
Joined: 10 Jul 2011
Total Posts: 6365
11 Feb 2017 11:12 PM
basically posted a similar answer right before someone else did


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