so ive got an rpg and im pretty noob at Lua so sorry if this is a basic question
ive got different areas and i want each area to have its own view distance fog, so when they walk through to the next area it sets their fog locally when they touch the brick
here is the script ive got which changes the whole games fog distance, idk how to change it to set it locally for the person who touched it
function onTouched(hit)
game.Lighting.FogEnd = ("250")
end
script.Parent.Touched:connect(onTouched)

3 comments
hehe thanks, yeah ive heard FilteringEnabled is a nightmare so im probably going to just set a default fog for everywhere.
How is Filtering Enabled a nightmare?
I've tried. You have to use remote events for almost everything.