Hello, this is for a horror game that a the killer should get a bright red vision and the Survivors gets darkness vision. However I cannot get red vision For the killer to reset back to Dark Ambient (0,0,0) After a round has ended. Which will stay red even after reset for the person that use to be the killer and will have to keep rejoining just to get the red vision to remove?
if game:findFirstChild("NetworkServer") ~= nil then
function UpdateLighting()
game.Lighting.Ambient = Color3.new(0, 0, 0)
end
UpdateLighting()
game.Lighting.Changed:connect(UpdateLighting)
while wait() do
game.Lighting.Ambient = Color3.new(255, 0, 0)
end
end
