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 |
|
|
|
| 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 |
|
|
|
| 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
|
  |
| Joined: 23 Sep 2010 |
| Total Posts: 129 |
|
| |
|