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: If script value is true, then do this?

Previous Thread :: Next Thread 
3rdblox is not online. 3rdblox
Joined: 09 Dec 2012
Total Posts: 4741
07 Aug 2013 07:29 AM
I want a script that will team a new player to "Players" if the boolvalue inside it is true. (Boolvalue is just called value)
Report Abuse
blocco is not online. blocco
Joined: 14 Aug 2008
Total Posts: 29474
07 Aug 2013 07:32 AM
I don't understand
Report Abuse
3rdblox is not online. 3rdblox
Joined: 09 Dec 2012
Total Posts: 4741
07 Aug 2013 07:41 AM
Inside a script, there's a true/false value. When a new player is added, if the true/false value is true, then I want it to change the new player's team to a team called "Players". How can I do that?
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
07 Aug 2013 08:04 AM
if statements.
Report Abuse
3rdblox is not online. 3rdblox
Joined: 09 Dec 2012
Total Posts: 4741
07 Aug 2013 08:19 AM
It's finding and setting the player to "Players" that I can't do. I understand if statements.
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
07 Aug 2013 08:20 AM
Players.PlayerAdded
Report Abuse
johnhugh is not online. johnhugh
Joined: 26 Mar 2009
Total Posts: 1971
07 Aug 2013 08:46 AM
Player.TeamColor
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
07 Aug 2013 08:46 AM
BrickColor.new
Report Abuse
johnhugh is not online. johnhugh
Joined: 26 Mar 2009
Total Posts: 1971
07 Aug 2013 08:47 AM
Instance.new("BoolValue", player)
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
07 Aug 2013 08:47 AM
They don't want that though.
Report Abuse
johnhugh is not online. johnhugh
Joined: 26 Mar 2009
Total Posts: 1971
07 Aug 2013 08:48 AM
Well they should
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
07 Aug 2013 08:49 AM
But they don't...
Report Abuse
noah is not online. noah
Joined: 11 Sep 2006
Total Posts: 18977
07 Aug 2013 09:04 AM
Instance.new("FloorWire", game.Workspace)

cuz y not?
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
07 Aug 2013 09:05 AM
Because 6.8, that's why not.
Report Abuse
Usering is not online. Usering
Joined: 18 Aug 2012
Total Posts: 10281
07 Aug 2013 10:13 AM
It's is just like you typed it:

if script.Value == true --[[or just 'script.Value']] then
--Do something
end
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