The lighting properties are set to 11:59:57 but this script is not working. HELP!! here is the script-
if game.Lighting.TimeOfDay == "12:00:00" then
script.Parent.Transparency = 0.5
wait(0.2)
Transparency = 0.5
wait(5)
script.Parent.CanCollide = false
wait(0.2)
CanCollide = false
if CanCollide == false then
print("CanCollide has been set to false.")
end
if Transparency == 0.5 then
print("The baseplate is now transparent.")
end
end
