How do i change the LightingStyle

Hello again i been trying to make Lighting Setting but something off
also here is the script

local Lighting = game:GetService("Lighting")
local Button = script.Parent

Button.MouseButton1Click:Connect(function()
	if Lighting.LightingStyle == Enum.LightingStyle.Realistic then
		Lighting.LightingStyle = Enum.LightingStyle.Soft
		Button.Text = "Soft"
	else
		Lighting.LightingStyle = Enum.LightingStyle.Realistic
		Button.Text = "Realistic"
	end
end)

if you reading this it help me a lot

Unfortunately it’s not possible to change LightingStyle with scripts. :sad:

1 Like

well it seen like that we can’t change value or type of lighting

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.