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: Help

Previous Thread :: Next Thread 
Asperkid is not online. Asperkid
Joined: 23 May 2015
Total Posts: 7
28 May 2015 07:48 PM
How would I change the color of a spotlight with a script?

Report Abuse
ehern11 is not online. ehern11
Joined: 23 Apr 2011
Total Posts: 1541
28 May 2015 07:49 PM
use Color3
Report Abuse
AbstractMadness is not online. AbstractMadness
Joined: 22 Dec 2014
Total Posts: 20425
28 May 2015 07:50 PM
local spotlight = script.Parent.SpotLight

spotlight.Color = Color3.new(BrickColor.new("Red"))
Report Abuse
Asperkid is not online. Asperkid
Joined: 23 May 2015
Total Posts: 7
28 May 2015 07:50 PM
Color3 = Color3(x,x,x)?
Report Abuse
amanda is not online. amanda
Joined: 21 Nov 2006
Total Posts: 5925
28 May 2015 07:52 PM
the 3 args range from 0-1, so if you want to do rgb do

Color3.new(r/255, g/255, b/255)
Report Abuse
Asperkid is not online. Asperkid
Joined: 23 May 2015
Total Posts: 7
28 May 2015 07:59 PM
Thanks all!
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