i want to make a alarm what will enable when is the core melting or freezeing. But it dont enables.
while true do
temp = game.Workspace.Temp.Value
if temp == 3000 then
script.Parent.PointLight.Enabled = true
elseif temp == 2700 then
script.Parent.PointLight.Enabled = false
elseif temp == 2200 then
script.Parent.PointLight.Enabled = false
elseif temp == -100 then
script.Parent.PointLight.Enabled = false
elseif temp == -300 then
script.Parent.PointLight.Enabled = false
else
script.Parent.PointLight.Enabled = true
end
wait()
end

1 comment
Its not working :C