Copy salient and essential scripts and models from Plane Building Roblox
This commit is contained in:
commit
891781366d
76 changed files with 10904 additions and 0 deletions
9
scripts/WaterVisibility
Normal file
9
scripts/WaterVisibility
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
local run = game:GetService("RunService")
|
||||
run.RenderStepped:Connect(function()
|
||||
game.Lighting.Blur.Enabled = false
|
||||
game.Lighting.WaterCorrection.Enabled = false
|
||||
if game.Workspace.CurrentCamera.CFrame.Position.Y < 0 then
|
||||
game.Lighting.Blur.Enabled = true
|
||||
game.Lighting.WaterCorrection.Enabled = true
|
||||
end
|
||||
end)
|
||||
Loading…
Add table
Add a link
Reference in a new issue