Advertisement
Smartdumgood

disable creen effects

Jan 3rd, 2025
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. --[[
  2. WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
  3. ]]
  4. local Players = game:GetService("Players")
  5. local LocalPlayer = Players.LocalPlayer
  6. local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")
  7.  
  8. -- Function to remove screen effects
  9. local function removeScreenEffects()
  10. -- Remove blur effects
  11. for _, v in pairs(game:GetService("Lighting"):GetChildren()) do
  12. if v:IsA("BlurEffect") or v:IsA("ColorCorrectionEffect") or v:IsA("SunRaysEffect") then
  13. v:Destroy()
  14. end
  15. end
  16.  
  17. -- Remove GUI effects from PlayerGui
  18. for _, gui in pairs(PlayerGui:GetChildren()) do
  19. if gui:IsA("ScreenGui") then
  20. for _, effect in pairs(gui:GetDescendants()) do
  21. if effect:IsA("BlurEffect") or effect:IsA("ColorCorrectionEffect") then
  22. effect:Destroy()
  23. end
  24. end
  25. end
  26. end
  27. end
  28.  
  29. -- Run initially
  30. removeScreenEffects()
  31.  
  32. -- Keep monitoring for new effects
  33. game:GetService("RunService").RenderStepped:Connect(function()
  34. removeScreenEffects()
  35. end)
  36.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement