|
| 05 Dec 2016 03:35 PM |
I've tried to script this but every time I test it, both the other player and me see the fogcolor, fogend and fogstart change for both of us, whilst I only wanted just the individual player to see the fog change once they touch a brick, if you know how to do this, I would like to know please! :-(
|
|
|
| Report Abuse |
|
|
pidgey
|
  |
| Joined: 16 Jan 2008 |
| Total Posts: 2739 |
|
|
| 05 Dec 2016 03:36 PM |
| turn fe on and change lighting in a local script |
|
|
| Report Abuse |
|
|
|
| 05 Dec 2016 03:51 PM |
| https://www.roblox.com/games/101138442/Local-Lighting-via-Latency |
|
|
| Report Abuse |
|
|
|
| 05 Dec 2016 03:54 PM |
if u dont know how to FE then ur out of luck but u can mess around with billboard guis and the new lighting effects to kinda sorta replicate fog |
|
|
| Report Abuse |
|
|
|
| 19 Dec 2016 07:29 AM |
I put the local scripts into Lighting, but now the fog doesn't appear at all whenever I touch it
|
|
|
| Report Abuse |
|
|
|
| 19 Dec 2016 07:30 AM |
So you put the localscripts in lighting, and now they don't work? Sounds like a bug |
|
|
| Report Abuse |
|
|
|
| 19 Dec 2016 07:31 AM |
| Are you using FE or the solution I posted? |
|
|
| Report Abuse |
|
|
| |
|
Rerumu
|
  |
| Joined: 11 Oct 2014 |
| Total Posts: 950 |
|
|
| 19 Dec 2016 07:59 AM |
"So you put the localscripts in lighting, and now they don't work? Sounds like a bug"
Lol. |
|
|
| Report Abuse |
|
|
|
| 19 Dec 2016 09:16 AM |
Don't you have to use RemoteEvent for this?
|
|
|
| Report Abuse |
|
|
|
| 19 Dec 2016 09:37 AM |
I've tried to do everything but it doesn't seem to work...
|
|
|
| Report Abuse |
|
|
|
| 19 Dec 2016 10:12 AM |
Dude. Just use the solution 10MilesWide gave you if you don't know how to use FE.
|
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 19 Dec 2016 10:47 AM |
@OP
workspace.FilteringEnabled = true
--local script
game.Lighting.FogEnd = 10
BOOM DONE. Its that easy
|
|
|
| Report Abuse |
|
|
|
| 19 Dec 2016 11:09 AM |
TimeTicks, that's what he did
Then he put the script in Lighting |
|
|
| Report Abuse |
|
|
HlCOM
|
  |
| Joined: 29 Mar 2009 |
| Total Posts: 3332 |
|
|
| 19 Dec 2016 11:10 AM |
| http://wiki.roblox.com/index.php?title=API:Class/LocalScript |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2017 01:25 PM |
I'm not sure if this LOCAL script is right, this is what I have done.
local part = game.Workspace.ChangingBlock3 game.Workspace.FilteringEnabled = true
function onTouch(part) local humanoid = part.Parent:findFirstChild("Humanoid") if humanoid~= nil then wait(1) game.Lighting.FogEnd = (40) game.Lighting.FogStart = (0) game.Lighting.FogColor = Color3.new (0,0,0) game.Lighting.TimeOfDay = (00) end end
part.Touched:connect(onTouch)
For some reason, it doesn't work if I script it like this, anything I did wrong???
|
|
|
| Report Abuse |
|
|