| |
|
| |
|
CarlosMX
|
  |
| Joined: 30 Apr 2011 |
| Total Posts: 791 |
|
|
| 21 Jan 2013 08:40 PM |
| When you say 'Lighting' do you mean the "Brightness" or what? I may be able to help. |
|
|
| Report Abuse |
|
|
CarlosMX
|
  |
| Joined: 30 Apr 2011 |
| Total Posts: 791 |
|
| |
|
|
| 21 Jan 2013 08:47 PM |
function onClick() game.Lighting.Ambient = Color3.new(1, 0, 0) game.Lighting.Brightness = .5 game.Lighting.TimeOfDay = '01:00:00' end
MouseButton1Click:connect(onClick)
★ I GOT THE SWAG NOW ALL I NEED IS YOU IN THE KITCHEN ★ |
|
|
| Report Abuse |
|
|
| |
|
|
| 21 Jan 2013 08:48 PM |
mine prob wont work im bad at doing this stuff
★ I GOT THE SWAG NOW ALL I NEED IS YOU IN THE KITCHEN ★ |
|
|
| Report Abuse |
|
|
CarlosMX
|
  |
| Joined: 30 Apr 2011 |
| Total Posts: 791 |
|
| |
|
|
| 21 Jan 2013 08:53 PM |
mines for a gui if you meant that
★ I GOT THE SWAG NOW ALL I NEED IS YOU IN THE KITCHEN ★ |
|
|
| Report Abuse |
|
|
CarlosMX
|
  |
| Joined: 30 Apr 2011 |
| Total Posts: 791 |
|
|
| 21 Jan 2013 08:57 PM |
Insert this into gui button for the "Dark" brightness:
script.Parent.MouseButton1Click:connect(function() game.Lighting.Brightness = 0 end
And this for dull:
script.Parent.MouseButton1Click:connect(function() game.Lighting.Brightness = 0.5 end
And this for Bright:
script.Parent.MouseButton1Click:connect(function() game.Lighting.Brightness = 1 end
|
|
|
| Report Abuse |
|
|
|
| 21 Jan 2013 08:58 PM |
darn me i forgot script.Parent haha
★ I GOT THE SWAG NOW ALL I NEED IS YOU IN THE KITCHEN ★ |
|
|
| Report Abuse |
|
|
| |
|
CarlosMX
|
  |
| Joined: 30 Apr 2011 |
| Total Posts: 791 |
|
|
| 22 Jan 2013 10:17 PM |
| Oh. That script can easily be converted, so go ahead and try. If your attempt fails, come back and show us what you tried. |
|
|
| Report Abuse |
|
|