Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do i make a spotlight color the same as the bricks color?

This is the code i have

script.Parent.BrickColor = script.Parent.SpotLight.Color.

3 answers

script.Parent.SpotLight.Color = script.Parent.Color

Hope this helps :)

local Spotlight = script.Parent

Spotlight.Color = Color3.fromRGB(25,25,25) -- Numbers represent color values change this to run color.

Hi EyeDontLie!

We can get the Color3 of the part and change that to the spotlight color.

local myColor = script.Parent.Color

script.Parent.SpotLight.Color = Color3.fromRGB(myColor)

Hope I helped! LennyPlayzYT

This discussion is preserved as it was. New answers, comments, and votes are closed.