|
| 06 Jun 2015 03:19 PM |
function onTouch() game.Lighting.fogend = 25 game.Lighting.fogcolor = 0,5,0
doesnt work. i know its so wrong.. |
|
|
| Report Abuse |
|
|
Mitko0o1
|
  |
| Joined: 30 Nov 2010 |
| Total Posts: 5725 |
|
|
| 06 Jun 2015 03:21 PM |
function onTouch() game.Lighting.FogEnd = 25 game.Lighting.FogColor = Color3.new(0/255,5/255,0/255) end
script.Parent.Touched:connect(onTouch)
http://wiki.roblox.com/index.php?title=Absolute_beginner%27s_guide_to_scripting#Event_Listeners |
|
|
| Report Abuse |
|
|
| |
|
| |
|