You can write your topic however you want, but you need to answer these questions:
- What do you want to achieve?
I want to make the part when you touch it only you will have fog 20
- What is the issue?
I don’t know how to make the fog only for you
- What solutions I tried so far?
I used this script already:
debounce = false
script.Parent.Touched:connect(function(hit)
if not debounce then
debounce = true
if(hit.Parent:FindFirstChild("Humanoid")~=nil)then
game.Lighting.FogEnd = 20
end
debounce = false
end
end)
Thanks for every help!
vojtasuper2.