I was thinking
while true do script.Parent.Color = (255, 255, 255) -- and like 2 more end
any helpers?
Do you want it to change with an script or how ? because if I am not wrong you can always set the PointLight object in a part and change the color using the properties options and change it to any color you want and add shadows to it Hope it helped
Datatypes are not matching, that why you get an error. First (255, 255, 255) is not a valid Lua literal. While with native Lua datatypes most of the time you don't have to pay attention to the datatype because Lua is dynamic typed and can convert between datatypes implicitly. For example
a = 2 b = "2" print(a+b)
If you run that code, you will get 4.
Variable a is holding an integer datatype, while variable b is holding a string. In a static typed language like C you would get an error unless you first explicitly convert b to a integer, but Lua does that implicitly (however in some cases where the interpreter is not smart enough, you will need to use tostring or tonumber).
But that doesn't happen with most Roblox datatypes. So your code should be
while true do script.Parent.Color = Color3.new(1, 1, 1) end