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 » Scripting Helpers
Home Search
 

Re: Question about values.

Previous Thread :: Next Thread 
AlbinoDerpasaurusRex is not online. AlbinoDerpasaurusRex
Joined: 09 Jun 2012
Total Posts: 248
28 Jun 2012 09:18 PM
[ Content Deleted ]
Report Abuse
dddylan98 is not online. dddylan98
Joined: 16 Jul 2008
Total Posts: 1497
28 Jun 2012 09:20 PM
You could put a BoolValue in the StarterGui and if they are spectating have that true and then put an if statement checking if its true. if not then it chooses them. Might not be super efficient but meh. It works. Its not very hard.
Report Abuse
AlbinoDerpasaurusRex is not online. AlbinoDerpasaurusRex
Joined: 09 Jun 2012
Total Posts: 248
28 Jun 2012 09:26 PM
[ Content Deleted ]
Report Abuse
dddylan98 is not online. dddylan98
Joined: 16 Jul 2008
Total Posts: 1497
28 Jun 2012 09:27 PM
If statements c:
Report Abuse
AlbinoDerpasaurusRex is not online. AlbinoDerpasaurusRex
Joined: 09 Jun 2012
Total Posts: 248
28 Jun 2012 09:28 PM
[ Content Deleted ]
Report Abuse
AlbinoDerpasaurusRex is not online. AlbinoDerpasaurusRex
Joined: 09 Jun 2012
Total Posts: 248
28 Jun 2012 10:26 PM
[ Content Deleted ]
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
28 Jun 2012 10:29 PM
Just have a separate table for participants and only place the players who aren't spectating in that table. Example:

local participants = {}

for k,v in pairs(game.Players:GetPlayers()) do
if v.Spectating.Value == false then
table.insert(participants, v)
end
end
Report Abuse
AlbinoDerpasaurusRex is not online. AlbinoDerpasaurusRex
Joined: 09 Jun 2012
Total Posts: 248
28 Jun 2012 10:50 PM
[ Content Deleted ]
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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