#NIGHT VISION
10 messages · Page 1 of 1 (latest)
k
have u tried ```lua
local Lighting = game:GetService("Lighting")
local PostEffects = game:GetService("StarterPlayer").StarterPlayerScripts:FindFirstChild("PostEffect") or game:GetService("StarterGui"):FindFirstChild("PostEffect")
local function enableNightVision()
Lighting.Ambient = Color3.new(0, 0, 0)
Lighting.Brightness = 0.5
Lighting.FogEnd = 100
-- Add green tint to the screen
PostEffects.ColorCorrection.TintColor = Color3.new(0, 1, 0)
-- Add noise texture to simulate visual static
PostEffects.FilmGrain.Enabled = true
PostEffects.FilmGrain.Intensity = 0.5
PostEffects.FilmGrain.Size = 1
-- Simulate limited dynamic range
PostEffects.Tonemapping.Enabled = true
PostEffects.Tonemapping.Exposure = -1
PostEffects.Tonemapping.Contrast = 3
end
local function disableNightVision()
Lighting.Ambient = Color3.new(1, 1, 1)
Lighting.Brightness = 1
Lighting.FogEnd = 1000
-- Reset post effects
PostEffects.ColorCorrection.TintColor = Color3.new(1, 1, 1)
PostEffects.FilmGrain.Enabled = false
PostEffects.Tonemapping.Enabled = false
PostEffects.Tonemapping.Exposure = 0
PostEffects.Tonemapping.Contrast = 1
end
game:GetService("UserInputService").InputBegan:Connect(function(input, gameProcessedEvent)
if not gameProcessedEvent and input.KeyCode == Enum.KeyCode.N then
if PostEffects.Enabled then
disableNightVision()
else
enableNightVision()
end
end
end)```
what the fuck is PostEffects
dog ive been on developing on the roblox engine for 3 and 1/2 years and ive never heard of this 💀
same i have 5 years of studio experience and i still dont know what a posteffects service is
I’ve been scripting for 6 years and don’t learn that u til now