generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Ambient Problem...

Previous Thread :: Next Thread 
Apostasy is not online. 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 is not online. 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 is not online. 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 is not online. 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
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
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 is not online. 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
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
19 Aug 2011 08:02 PM
@l0lzz - Lol, well, you were right. xD
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image