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: Color3 help

Previous Thread :: Next Thread 
Erictino9 is not online. Erictino9
Joined: 23 Sep 2010
Total Posts: 129
07 Jul 2013 05:14 PM
function darkness(fires)
if (fires)>0 then
end
if fires==0 then
game.Lighting.OutdoorAmbient = Color3.new(0,0,0)
m = Instance.New("Message")
m.text = "The script works:)"
end
end
script.Parent.Changed:connect(darkness)

output said that New was a nil value
Report Abuse
TheTerminator01 is not online. TheTerminator01
Joined: 05 May 2009
Total Posts: 97
07 Jul 2013 05:17 PM
Change m.text to m.Text.
Give the message a parent like this: m = Instance.new("Message", workspace)
Report Abuse
PRESTIGIOUSaLEGEND is not online. PRESTIGIOUSaLEGEND
Joined: 16 Apr 2011
Total Posts: 1765
07 Jul 2013 05:18 PM
Instance.new("Message")


whenever you user .new it must always be lowercase

nothing to do with Color3 :)
Report Abuse
Erictino9 is not online. Erictino9
Joined: 23 Sep 2010
Total Posts: 129
07 Jul 2013 05:27 PM
wow

lol thanks
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