ON/OFF Button lighting in the sky Roblox studio (Script)

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024
  • local clickDetector = script.Parent:WaitForChild("ClickDetector")
    skyState = true
    script.Parent.ClickDetector.MouseClick:Connect(function()
    if(skyState == true) then
    game.Lighting.Brightness = 0
    skyState = false
    elseif(skyState == false and clickDetector.MouseClick) then
    game.Lighting.Brightness = 3
    skyState = true
    end
    end)
    My line emoji line.me/S/shop...

Комментарии •