Advertisement
1zxyuuki

Vt

Dec 14th, 2024
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 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 ToDisable = {
  5. Textures = true,
  6. VisualEffects = true,
  7. Parts = true,
  8. Particles = true,
  9. Sky = true
  10. }
  11.  
  12. local ToEnable = {
  13. FullBright = false
  14. }
  15.  
  16. local Stuff = {}
  17.  
  18. for _, v in next, game:GetDescendants() do
  19. if ToDisable.Parts then
  20. if v:IsA("Part") or v:IsA("Union") or v:IsA("BasePart") then
  21. v.Material = Enum.Material.SmoothPlastic
  22. table.insert(Stuff, 1, v)
  23. end
  24. end
  25.  
  26. if ToDisable.Particles then
  27. if v:IsA("ParticleEmitter") or v:IsA("Smoke") or v:IsA("Explosion") or v:IsA("Sparkles") or v:IsA("Fire") then
  28. v.Enabled = false
  29. table.insert(Stuff, 1, v)
  30. end
  31. end
  32.  
  33. if ToDisable.VisualEffects then
  34. if v:IsA("BloomEffect") or v:IsA("BlurEffect") or v:IsA("DepthOfFieldEffect") or v:IsA("SunRaysEffect") then
  35. v.Enabled = false
  36. table.insert(Stuff, 1, v)
  37. end
  38. end
  39.  
  40. if ToDisable.Textures then
  41. if v:IsA("Decal") or v:IsA("Texture") then
  42. v.Texture = ""
  43. table.insert(Stuff, 1, v)
  44. end
  45. end
  46.  
  47. if ToDisable.Sky then
  48. if v:IsA("Sky") then
  49. v.Parent = nil
  50. table.insert(Stuff, 1, v)
  51. end
  52. end
  53. end
  54.  
  55. game:GetService("TestService"):Message("Effects Disabler Script : Successfully disabled "..#Stuff.." assets / effects. Settings :")
  56.  
  57. for i, v in next, ToDisable do
  58. print(tostring(i)..": "..tostring(v))
  59. end
  60.  
  61. if ToEnable.FullBright then
  62. local Lighting = game:GetService("Lighting")
  63.  
  64. Lighting.FogColor = Color3.fromRGB(255, 255, 255)
  65. Lighting.FogEnd = math.huge
  66. Lighting.FogStart = math.huge
  67. Lighting.Ambient = Color3.fromRGB(255, 255, 255)
  68. Lighting.Brightness = 5
  69. Lighting.ColorShift_Bottom = Color3.fromRGB(255, 255, 255)
  70. Lighting.ColorShift_Top = Color3.fromRGB(255, 255, 255)
  71. Lighting.OutdoorAmbient = Color3.fromRGB(255, 255, 255)
  72. Lighting.Outlines = true
  73. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement