Hello, I need help with this script that wont work any more
local light = script.Parent
local lightlight = light.SpotLight
local lv = game.ServerStorage.lightvalue.Value
while true do
wait(.1)
if lv == true then
lightlight = false
elseif lv == false then
lightlight.Enabled = true
end
end
i have another script changing light value and storing it in game.serverstorage.lightvalue.Value (light value is a boolean) Thanks
