Posted
local fov = true
local blur = true
local currentDensity = 0.23
local sunrays = 0.3 -- Dont recommend going over 0.5
--[FOV Changes]
local UIS = game:GetService("UserInputService")
local function tw(target,changes,style,dir,tim)
game:GetService('TweenService'):Create(target,TweenInfo.new(tim,Enum.EasingStyle[style],Enum.EasingDirection[dir]),changes):Play()
end
UIS.InputBegan:Connect(function(inp)
if inp.KeyCode == Enum.KeyCode.W and fov then
tw(game.Workspace.CurrentCamera, {FieldOfView = 80}, "Quint", "InOut", 1)
elseif inp.KeyCode == Enum.KeyCode.S and fov then
tw(game.Workspace.CurrentCamera, {FieldOfView = 80}, "Quint", "InOut", 1)
end
end)
UIS.InputEnded:Connect(function(inp)
if inp.KeyCode == Enum.KeyCode.W and fov then
tw(game.Workspace.CurrentCamera, {FieldOfView = 80}, "Quint", "InOut", 1)
elseif inp.KeyCode == Enum.KeyCode.S and fov then
tw(game.Workspace.CurrentCamera, {FieldOfView = 80}, "Quint", "InOut", 1)
end
end)
--[Lighting]
local bloom = Instance.new("BloomEffect", game.Lighting)
bloom.Enabled = true
bloom.Intensity = 1
bloom.Size = 24
bloom.Threshold = 2
local depthField = Instance.new("DepthOfFieldEffect", game.Lighting)
depthField.FarIntensity = 0.1
depthField.Enabled = true
depthField.FocusDistance = 0.05
depthField.InFocusRadius = 50
depthField.NearIntensity = 2
local sun = Instance.new("SunRaysEffect", game.Lighting)
sun.Intensity = 0.2
sun.Spread = 1
sun.Enabled = true
if blur then
local blurr = Instance.new("BlurEffect", game.Lighting)
blurr.Size = 1.5
end
--[Changing atmosphere]
for i,v in next, game.Lighting:GetChildren() do
if v:IsA("Atmosphere") or v:IsA("Sky") then
v:Destroy()
end
end
local atmo = Instance.new("Atmosphere", game.Lighting)
atmo.Density = currentDensity
atmo.Offset = 0.3
atmo.Color = Color3.fromRGB(200, 15, 20)
atmo.Decay = Color3.fromRGB(106, 11, 12)
local sky = Instance.new("Sky", game.Lighting)
sky.MoonTextureId = "rbxassetid://6444320592"
sky.SkyboxBk = "rbxassetid://6444884337"
sky.SkyboxDn = "rbxassetid://6444884785"
sky.SkyboxFt = "rbxassetid://6444884337"
sky.SkyboxLf = "rbxassetid://6444884337"
sky.SkyboxRt = "rbxassetid://6444884337"
sky.SkyboxUp = "rbxassetid://6412503613"
sky.StarCount = 3000
sky.SunAngularSize = 11
sky.SunTextureId = "rbxassetid://6196665106"
--[Setting the lighting technology]
game.Lighting.GlobalShadows = true
game.Lighting.OutdoorAmbient = Color3.fromRGB(99, 99, 99)
game.Lighting.ShadowSoftness = 0.3
game.Lighting.Brightness = 1.5
Note: These are only my "settings" for the script
Credits goto scde for the script itself
Synapse X only since some games can detect it if you arent using Synapse.
Replied
looks good, and you can likely use any executor for this simple script (even jjsploit)
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post