local function removeFog()
if game:GetService("Lighting").LightingLayers.Atmosphere and game:GetService("Lighting").LightingLayers.Night then
game:GetService("Lighting").LightingLayers.Atmosphere:Destroy()
game:GetService("Lighting").LightingLayers.Night:Destroy()
end
end
removeFog()
game.StarterGui:SetCore(
"SendNotification",
{
Title = "No Fog",
Text = "Fog has been removed!",
Duration = 2
})
To embed this project on your website, copy the following code and paste it into your website's HTML: