Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How to make the lighting darker so hard to see

Asked by 10 years ago

I have tried so much but nothing I do works i'm not really new to scripting I've just never changed the lighting before... Need help please!!

0
Add a colour correction effect and change the brightness to a negative T0yotaAE86 0 — 3y

3 answers

Log in to vote
3
Answered by 10 years ago

Change the lighting settings: * change all colors to 0,0,0 (it's black) * change brightness to 0

Launch the game, and... Tadaam !

0
Thanks for the help :) christianbrouse 5 — 10y
Ad
Log in to vote
1
Answered by
User#2 0
10 years ago

Using a script to change properties is fairly easy.

To change a property of lighting you'll first want to get the Lighting service, then set one of it's Properties. This works almost exactly how setting a Brick's color works. The only exception is Lighting has different property names and some properties are Color3 values.

So, to change a value of lighting, you'd do this:

game.Lighting.Ambient = Color3.new(255/255, 0/255, 0/255)

What that does is set Lighting's Ambient property to a Color3 value. Some Color3's have their values between 0 and 1, some use numbers between 0 and 255. Ambient does 0 to 1, which is why I'm dividing by 255.

0
I tried but I can't figure out how to change the Lightings Property christianbrouse 5 — 10y
0
What I posted should work. What property are you trying to change? User#2 0 — 10y
0
Hold on now my game is randomly shutting down.. Why me?! christianbrouse 5 — 10y
Log in to vote
1
Answered by 10 years ago

If it't not local lighting, you could go to roblox studio. Then hover over to view->properties and in the WorkSpace->Lighting-> and edit the ambient

Answer this question