Whenever I use this script it changes the value of the lights color to some random number, not the numbers I have set, why is this?
for _, light in pairs(game.Workspace:GetDescendants()) do
local surfaceLight = light:FindFirstChild("AdministrationLight")
if surfaceLight then
surfaceLight.Color = Color3.new(255, 255, 255)
end
end

2 comments
Ah, I wasn't aware of that. Thank you, it works fine now.
It isn't required, it's just easier to use fromRGB. The Color3.new equivalent to Color3.fromRGB(255, 255, 255) is Color3.new(255/255, 255/255, 255/255), which is Color3.new(1, 1, 1). Color3.new()'s parameters only accept numerical arguments from 0 to 1.