Iluminação

Iluminação é um serviço que controla o ambiente de iluminação do jogo. Ele afeta a atmosfera geral, o humor e a visibilidade no mundo do jogo.

local Lighting = game:GetService("Lighting")

Lighting.ClockTime = 18 -- Sets the time to 6 PM
Lighting.Brightness = 2 -- Moderate brightness
Lighting.Ambient = Color3.fromRGB(128, 128, 128) -- Gray ambient light
Lighting.OutdoorAmbient = Color3.fromRGB(100, 100, 100) -- Darker gray for outdoor
Lighting.FogColor = Color3.fromRGB(50, 50, 50) -- Dark fog color
Lighting.FogStart = 100 -- Fog starts at 100 studs
Lighting.FogEnd = 1000 -- Fog ends at 1000 studs
Lighting.GlobalShadows = true -- Enable global shadows
local Lighting = game:GetService("Lighting")

Lighting.FogStart = math.huge
Lighting.FogEnd = math.huge

Se você achou este tutorial útil e gostaria de apoiar meu trabalho, por favor, considere me comprar um café.

Muito obrigado pelo seu apoio!

Me compre um café