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: Any errors? No output

Previous Thread :: Next Thread 
RATEXmegaGAMER is not online. RATEXmegaGAMER
Joined: 10 Dec 2010
Total Posts: 4046
17 Jul 2011 09:57 AM
This is the script:

while wait() do
if Game.Players.NumPlayers < 2 then
script.Parent.Value = false
elseif Game.Players.NumPlayers > 2 then
script.Parent.Value = true
end
end

I'm sure there's a very simple mistake there, but I can't find it. The hierarchy is:

>Game
>>Workspace
>>>BoolValue
>>>>Script
Report Abuse
marioblox1094 is not online. marioblox1094
Joined: 14 Aug 2010
Total Posts: 1839
17 Jul 2011 10:03 AM
script.Parent.Value.Value = false
same thing for the other
Report Abuse
RATEXmegaGAMER is not online. RATEXmegaGAMER
Joined: 10 Dec 2010
Total Posts: 4046
17 Jul 2011 10:06 AM
@mario that just makes it give me output...
Report Abuse
marioblox1094 is not online. marioblox1094
Joined: 14 Aug 2010
Total Posts: 1839
17 Jul 2011 10:07 AM
game.Workspace.Value.Value = false

BoolValue has a Property Value
Report Abuse
RATEXmegaGAMER is not online. RATEXmegaGAMER
Joined: 10 Dec 2010
Total Posts: 4046
17 Jul 2011 10:09 AM
"Posted: 07-17-2011 08:03 AM
script.Parent.Value.Value = false
same thing for the other"

That's what you posted.
Report Abuse
marioblox1094 is not online. marioblox1094
Joined: 14 Aug 2010
Total Posts: 1839
17 Jul 2011 10:14 AM
I did not look closely at the hierachy.
Report Abuse
Robert00001 is not online. Robert00001
Joined: 15 May 2010
Total Posts: 7965
17 Jul 2011 10:15 AM
@mario, you're wrong.

Script is that script.

~ ROBERT00001 ~
~(ಠωಠ)~
Report Abuse
RATEXmegaGAMER is not online. RATEXmegaGAMER
Joined: 10 Dec 2010
Total Posts: 4046
17 Jul 2011 10:17 AM
@Robert see any errors?
Report Abuse
RATEXmegaGAMER is not online. RATEXmegaGAMER
Joined: 10 Dec 2010
Total Posts: 4046
17 Jul 2011 10:26 AM
Bring
Up
My
Thread

Help please.
Report Abuse
RATEXmegaGAMER is not online. RATEXmegaGAMER
Joined: 10 Dec 2010
Total Posts: 4046
17 Jul 2011 10:34 AM
Why is the forum so slow today?
Report Abuse
sncplay42 is not online. sncplay42
Joined: 27 Nov 2008
Total Posts: 11891
17 Jul 2011 11:10 AM
That seems like it should work, but was one of those comparison operators supposed to be >= or <=? If the value was exactly 2, neither of those conditions would be true and the value would stay the same.
Report Abuse
Robert00001 is not online. Robert00001
Joined: 15 May 2010
Total Posts: 7965
17 Jul 2011 11:12 AM
while wait() do
script.Parent.Value = (Game.Players.NumPlayers => 2)
end

ya.

~ ROBERT00001 ~
~(ಠωಠ)~
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