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
 

Ambience change for lights?

Previous Thread :: Next Thread 
TheEpicSamuri is not online. TheEpicSamuri
Joined: 04 Dec 2011
Total Posts: 1343
07 Aug 2012 04:53 PM
function goal()
game.Workspace.Message.Text = "GOAL!!!!!!!!!"
game.Lighting.Ambient = Color3.new(255;0;255)
wait(0.01)
game.Lighting.Ambient = Color3.new(255;51;0)
wait(0.01)
game.Lighting.Ambient = Color3.new(102;255;51)
wait(0.01)
game.Lighting.Ambient = Color3.new(255;0;255)
wait(0.01)
game.Lighting.Ambient = Color3.new(255;51;0)
wait(0.01)
game.Lighting.Ambient = Color3.new(102;255;51)
wait(0.01)
game.Lighting.Ambient = Color3.new(255;0;255)
wait(0.1)
game.Lighting.Ambient = Color3.new(128;128;128) -- Original Lighitng Ambience is 128;128;128
wait(3)
game.Workspace.Message.Text = ""
end

script.Parent.Touched:connect(goal)



This wont work it says line 3 unexpected symbol )
Report Abuse
doombringer42 is not online. doombringer42
Joined: 13 Nov 2007
Total Posts: 5445
07 Aug 2012 04:54 PM
use commas to separate parameters, not semicolons.
Report Abuse
TheEpicSamuri is not online. TheEpicSamuri
Joined: 04 Dec 2011
Total Posts: 1343
07 Aug 2012 04:58 PM
Works, but the Ambient at the end when its done doing the other ones its supposed to turn to normal but it turns the map white?
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