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
 

[ Content Deleted ]

Previous Thread :: Next Thread 
RTCMaaznager is not online. RTCMaaznager
Joined: 16 Oct 2011
Total Posts: 3809
21 Jan 2013 08:19 PM
[ Content Deleted ]
Report Abuse
RTCMaaznager is not online. RTCMaaznager
Joined: 16 Oct 2011
Total Posts: 3809
21 Jan 2013 08:27 PM
[ Content Deleted ]
Report Abuse
CarlosMX is not online. 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 is not online. CarlosMX
Joined: 30 Apr 2011
Total Posts: 791
21 Jan 2013 08:41 PM
Or Day/Night?
Report Abuse
captinsoap is not online. captinsoap
Joined: 24 Jan 2010
Total Posts: 9570
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
RTCMaaznager is not online. RTCMaaznager
Joined: 16 Oct 2011
Total Posts: 3809
21 Jan 2013 08:47 PM
[ Content Deleted ]
Report Abuse
captinsoap is not online. captinsoap
Joined: 24 Jan 2010
Total Posts: 9570
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 is not online. CarlosMX
Joined: 30 Apr 2011
Total Posts: 791
21 Jan 2013 08:51 PM
I'll make something soon
Report Abuse
captinsoap is not online. captinsoap
Joined: 24 Jan 2010
Total Posts: 9570
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 is not online. 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
captinsoap is not online. captinsoap
Joined: 24 Jan 2010
Total Posts: 9570
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
RTCMaaznager is not online. RTCMaaznager
Joined: 16 Oct 2011
Total Posts: 3809
22 Jan 2013 04:04 PM
[ Content Deleted ]
Report Abuse
CarlosMX is not online. 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
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