Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
- ]]
- local Players = game:GetService("Players")
- local LocalPlayer = Players.LocalPlayer
- local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")
- -- Function to remove screen effects
- local function removeScreenEffects()
- -- Remove blur effects
- for _, v in pairs(game:GetService("Lighting"):GetChildren()) do
- if v:IsA("BlurEffect") or v:IsA("ColorCorrectionEffect") or v:IsA("SunRaysEffect") then
- v:Destroy()
- end
- end
- -- Remove GUI effects from PlayerGui
- for _, gui in pairs(PlayerGui:GetChildren()) do
- if gui:IsA("ScreenGui") then
- for _, effect in pairs(gui:GetDescendants()) do
- if effect:IsA("BlurEffect") or effect:IsA("ColorCorrectionEffect") then
- effect:Destroy()
- end
- end
- end
- end
- end
- -- Run initially
- removeScreenEffects()
- -- Keep monitoring for new effects
- game:GetService("RunService").RenderStepped:Connect(function()
- removeScreenEffects()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement