Apostasy
|
  |
| Joined: 29 May 2008 |
| Total Posts: 232 |
|
|
| 19 Aug 2011 07:40 PM |
This script is supposed to make the ambient less dark, but it makes the whole map white. It's EXTREMELY bright! What's wrong with this?
function onClicked() game.Lighting.Ambient = Color3.new(95,95,95) end script.Parent.ClickDetector.MouseClick:connect(onClicked) |
|
|
| Report Abuse |
|
|
Apostasy
|
  |
| Joined: 29 May 2008 |
| Total Posts: 232 |
|
|
| 19 Aug 2011 07:52 PM |
| I really don't see why this happens. Seems to be no reason for it. Anyone know? |
|
|
| Report Abuse |
|
|
Beta1458
|
  |
| Joined: 13 Oct 2010 |
| Total Posts: 13 |
|
|
| 19 Aug 2011 07:54 PM |
| Make sure the Parent is named "ClickDetector", or you might just wanna change the name. |
|
|
| Report Abuse |
|
|
l0lzz
|
  |
| Joined: 05 Dec 2009 |
| Total Posts: 1529 |
|
|
| 19 Aug 2011 07:56 PM |
| Isn't Color3 a number between 0-1 ? Try Color3.new(95/255,95/255,95/255) |
|
|
| Report Abuse |
|
|
|
| 19 Aug 2011 07:58 PM |
| l0lzz is right, but you do realize that the proper way to do this is change the Brightness property? |
|
|
| Report Abuse |
|
|
l0lzz
|
  |
| Joined: 05 Dec 2009 |
| Total Posts: 1529 |
|
|
| 19 Aug 2011 08:00 PM |
@Electric Good, lol for a second there I thought I was high... xD |
|
|
| Report Abuse |
|
|
|
| 19 Aug 2011 08:02 PM |
| @l0lzz - Lol, well, you were right. xD |
|
|
| Report Abuse |
|
|