I’d like for this to be fixed: the model doesn’t go untransparent at Clocktime 1 and transparent at Clocktime 5, I’ve tried many ways, changing the code around, looking at videos, and I cannot seem to get it to work.
local light = game:GetService("Lighting")
local model = script.Parent
local campsite = model:GetChildren()
while true do
for i, child in ipairs(campsite) do
if light.ClockTime <= 1 then
child.Transparency = 0
else
if light.ClockTime <= 5 then
child.Transparency = 1
end
end
end
end