Advertisement
PoliceFiighter761

Roblox - Better Graphics Mod.

Jan 19th, 2019
8,593
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.99 KB | None | 0 0
  1. EffectSettings = { -- Settings
  2. UseRecommendedSettings = true
  3. -- If above is true you wont need to change the settings below.
  4. -- and the default settings will be used.
  5. -- if above is false you will need to change the settings below.
  6.  
  7. -- Note:    I no longer support exploits. If it works for it, good for you but if it dosnt it wont get fixed.
  8. --          If you want to make it exploit compadable, go ahead use the code. Give credit tho.
  9.  
  10. ,SunRaySettings = {
  11.     enabled = false
  12.     ,intensity = 0
  13.     ,spread = 0
  14. }
  15. ,BloomSettings = {
  16.     enabled = false
  17.     ,intensity = 0
  18.     ,size = 0
  19.     ,threshold = 0
  20. }  
  21. ,ColorSettings = {
  22.     enabled = false
  23.     ,brightness = 0
  24.     ,contrast = 0
  25.     ,saturation = 0
  26.     ,tintcolor = Color3.fromRGB(0,0,0)
  27.     --                  (red, green, blue)
  28. }
  29. ,BlurSettings = {
  30.     enabled = false
  31.     ,size = 0
  32. }
  33. ,TerrainSettings = {
  34.     Terrain = {
  35.         -- Better Water v1
  36.         enabled = false
  37.         ,color = Color3.fromRGB(0,0,0)
  38.         --              (red, green, blue)
  39.         ,reflectance = 0
  40.         ,transparency = 0
  41.         ,wavesize = 0
  42.         ,wavespeed = 0
  43.     },
  44.     WaterCamera = {
  45.         -- Underwater cam
  46.         camenabled = false
  47.         ,camcolor = Color3.fromRGB(0,0,0)
  48.         --                  (red, green, blue)
  49.        
  50.         ,blurenabled = false
  51.         ,blursize = 0
  52.        
  53.         ,sunrayenabled = false
  54.         ,sunrayIntensitiy = 0
  55.         ,sunraySpread = 0
  56.     }
  57. }
  58. }
  59. -- Script below! Do not edit!
  60. local ScreenGui = Instance.new("ScreenGui") local Frame = Instance.new("Frame") local TextLabel = Instance.new("TextLabel") ScreenGui.Name = "Display"Frame.Parent = ScreenGui Frame.BackgroundColor3 = Color3.new(1, 1, 1) Frame.BackgroundTransparency = 1 Frame.Position = UDim2.new(1, -100, 1, -100) Frame.Size = UDim2.new(0, 100, 0, 100) TextLabel.Parent = Frame TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel.BackgroundTransparency = 1 TextLabel.Position = UDim2.new(1.75, -200, 1.32000005, -50) TextLabel.Size = UDim2.new(0, 125, 0, 18) TextLabel.Font = Enum.Font.SourceSans TextLabel.Text = "Graphics Mod V1.0.0" TextLabel.TextColor3 = Color3.new(0, 0, 0) TextLabel.TextSize = 14
  61. local val = pcall(function() ScreenGui.Parent = game.CoreGui end) if val == false then ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui end
  62. local RecommendedSettings = {SunRaySettings = {enabled = true   ,intensity = 0.25,spread = 1},BloomSettings = {enabled = true,intensity = 0.65,size = 24,threshold = 0.915} ,ColorSettings = {enabled = true,brightness = 0,contrast = -0.1,saturation = 0,tintcolor = Color3.fromRGB(255,253,222)},BlurSettings = {enabled = false,size = 0}   ,TerrainSettings = {WaterCamera = {camenabled = true,camcolor = Color3.fromRGB(56, 119, 255),blurenabled = true,blursize = 13,sunrayenabled = true,sunrayIntensitiy = 0.634,sunraySpread = 1},}} if EffectSettings.UseRecommendedSettings == true then EffectSettings = RecommendedSettings end local security = EffectSettings.SecuritySettings local SunRays = Instance.new("SunRaysEffect",game:GetService("Lighting")) local BloomEffect = Instance.new("BloomEffect",game:GetService("Lighting")) local ColorCorrection = Instance.new("ColorCorrectionEffect",game:GetService("Lighting")) local BlurEffect = Instance.new("BlurEffect",game:GetService("Lighting")) SunRays.Enabled = EffectSettings.SunRaySettings.enabled SunRays.Intensity = EffectSettings.SunRaySettings.intensity SunRays.Spread = EffectSettings.SunRaySettings.spread BloomEffect.Enabled = EffectSettings.BloomSettings.enabled BloomEffect.Intensity = EffectSettings.BloomSettings.intensity BloomEffect.Size = EffectSettings.BloomSettings.size BloomEffect.Threshold = EffectSettings.BloomSettings.threshold BlurEffect.Enabled = EffectSettings.BlurSettings.enabled BlurEffect.Size = EffectSettings.BlurSettings.size ColorCorrection.Enabled = EffectSettings.ColorSettings.enabled ColorCorrection.Brightness = EffectSettings.ColorSettings.brightness ColorCorrection.Contrast = EffectSettings.ColorSettings.contrast ColorCorrection.Saturation = EffectSettings.ColorSettings.saturation ColorCorrection.TintColor = EffectSettings.ColorSettings.tintcolor
  63. spawn(function() local cam = workspace.CurrentCamera local terrain = workspace.Terrain local offset = 0.01 local lighting = game:GetService("Lighting") local bloom = lighting:WaitForChild("Bloom") local ColorCorrection = lighting:WaitForChild("ColorCorrection") local blur = lighting:WaitForChild("Blur") local sunray = lighting:WaitForChild("SunRays") local effects = EffectSettings local IsInWater = false if effects.TerrainSettings.WaterCamera.camenabled == true then while wait() do local pos = cam.CFrame.Position local min = Vector3.new(pos.X + offset,pos.Y + offset, pos.Z + offset) local max = Vector3.new(pos.X - offset,pos.Y - offset, pos.Z - offset) local region = Region3.new(max, min) region = region:ExpandToGrid(4) if region then local material = game.Workspace.Terrain:ReadVoxels(region, 4) if material[1][1][1] == Enum.Material.Water then if IsInWater == false then IsInWater = true if effects.TerrainSettings.WaterCamera.blurenabled == true then blur.Enabled = effects.TerrainSettings.WaterCamera.blurenabled blur.Size = effects.TerrainSettings.WaterCamera.blursize end if effects.TerrainSettings.WaterCamera.sunrayenabled == true then sunray.Enabled = effects.TerrainSettings.WaterCamera.sunrayenabled sunray.Intensity = effects.TerrainSettings.WaterCamera.sunrayIntensitiy sunray.Spread = effects.TerrainSettings.WaterCamera.sunraySpread end ColorCorrection.Enabled = effects.TerrainSettings.WaterCamera.camenabled ColorCorrection.TintColor = effects.TerrainSettings.WaterCamera.camcolor end else if IsInWater == true then IsInWater = false sunray.Enabled = effects.SunRaySettings.enabled sunray.Intensity = effects.SunRaySettings.intensity sunray.Spread = effects.SunRaySettings.spread bloom.Enabled = effects.BloomSettings.enabled bloom.Intensity = effects.BloomSettings.intensity bloom.Size = effects.BloomSettings.size bloom.Threshold = effects.BloomSettings.threshold blur.Enabled = effects.BlurSettings.enabled blur.Size = effects.BlurSettings.size ColorCorrection.Enabled = effects.ColorSettings.enabled ColorCorrection.Brightness = effects.ColorSettings.brightness ColorCorrection.Contrast = effects.ColorSettings.contrast ColorCorrection.Saturation = effects.ColorSettings.saturation ColorCorrection.TintColor = effects.ColorSettings.tintcolor    end  end end end end end)
  64.    
  65. -- Edit the top of the script!
  66. -- This script is intended to be used to enhance your gameplay in games with better shaders.
  67. -- Its fully local. You can use it in exploits or a localscript in roblox studio.
  68. -- How to use it in your exploit: (Depricated.)
  69. -- 1) Paste the script into the lua injector
  70. -- 2) Change the settings
  71. -- 3) Execute
  72. -- How to use it in studio:
  73. -- 1) Create a screengui in "StarterGui"
  74. -- 2) Untick the property "ResetOnSpawn"
  75. -- 3) Create a local script in that gui
  76. -- 4) Paste the code in the local script
  77. -- 5) Configure it at the top of the script
  78. -- (C) PoliceFighter761 / https://pastebin.com/u/PoliceFiighter761
  79. -- Note:    I no longer support exploits. If it works for it, good for you but if it dosnt it wont get fixed.
  80. --          If you want to make it exploit compadable, go ahead use the code. Give credit tho.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement