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: Police Lights: ACTUALLY HELP!

Previous Thread :: Next Thread 
hurtripley is not online. hurtripley
Joined: 18 Sep 2011
Total Posts: 1341
12 Aug 2013 07:36 PM
So i was making a police car light bar when i made a script that makes it flash diffrent colours. It was inserted in. But nothing happended, The brick didnt do ANYTHING.

Script:
while true do
script.Parent.BrickColor = BrickColor.White()
wait(.25)
script.Parent.BrickColor = BrickColor.Red()
wait(.25)
script.Parent.BrickColor = BrickColor.White()
wait(.25)
script.Parent.BrickColor = BrickColor.Red()
wait(.25)
end

I dont understand why this wont work. Yeah, I suck at scripting. But please actually help.
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
12 Aug 2013 07:38 PM
See a green > at the top of your screen?

Click it.
Report Abuse
mylifeis2cooldlol is not online. mylifeis2cooldlol
Joined: 08 Mar 2011
Total Posts: 874
12 Aug 2013 07:39 PM
Syntax is correct?

Anything else we should know about :3
Report Abuse
hurtripley is not online. hurtripley
Joined: 18 Sep 2011
Total Posts: 1341
12 Aug 2013 07:39 PM
I did. I feel stupid trying to get help from forumers.
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
12 Aug 2013 07:40 PM
script.Parent.BrickColor = BrickColor.new("Color")
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
12 Aug 2013 07:40 PM
Is the Disabled property unticked?
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
12 Aug 2013 07:40 PM
@madness725;

There are a few shortcuts for certain colors. The problem is not one of code.
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