Totalxterror

Shit For Rian

Oct 21st, 2020 (edited)
354
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.98 KB | None | 0 0
  1. _G.ToggleColor = Color3.fromRGB(255,0,0)
  2. _G.ButtonColor = Color3.fromRGB(0,255,0)
  3. _G.SliderColor = Color3.fromRGB(0,0,255)
  4.  
  5. local library = loadstring(game:HttpGet(('https://pastebin.com/raw/FsJak6AT')))() -- It's obfuscated, I won't let you see my ugly coding skills. =)
  6.  
  7. local w = library:CreateWindow("Extra Useful Stuff")
  8.  
  9. local b = w:CreateFolder("Main Stuff")
  10.  
  11. b:Toggle("FullBright",function(bool)
  12.     shared.toggle = bool
  13.     print(shared.toggle)
  14.     if not _G.FullBrightExecuted then
  15.  
  16.     _G.FullBrightEnabled = false
  17.  
  18.     _G.NormalLightingSettings = {
  19.         Brightness = game:GetService("Lighting").Brightness,
  20.         ClockTime = game:GetService("Lighting").ClockTime,
  21.         FogEnd = game:GetService("Lighting").FogEnd,
  22.         GlobalShadows = game:GetService("Lighting").GlobalShadows,
  23.         Ambient = game:GetService("Lighting").Ambient
  24.     }
  25.  
  26.     game:GetService("Lighting"):GetPropertyChangedSignal("Brightness"):Connect(function()
  27.         if game:GetService("Lighting").Brightness ~= 1 and game:GetService("Lighting").Brightness ~= _G.NormalLightingSettings.Brightness then
  28.             _G.NormalLightingSettings.Brightness = game:GetService("Lighting").Brightness
  29.             if not _G.FullBrightEnabled then
  30.                 repeat
  31.                     wait()
  32.                 until _G.FullBrightEnabled
  33.             end
  34.             game:GetService("Lighting").Brightness = 1
  35.         end
  36.     end)
  37.  
  38.     game:GetService("Lighting"):GetPropertyChangedSignal("ClockTime"):Connect(function()
  39.         if game:GetService("Lighting").ClockTime ~= 12 and game:GetService("Lighting").ClockTime ~= _G.NormalLightingSettings.ClockTime then
  40.             _G.NormalLightingSettings.ClockTime = game:GetService("Lighting").ClockTime
  41.             if not _G.FullBrightEnabled then
  42.                 repeat
  43.                     wait()
  44.                 until _G.FullBrightEnabled
  45.             end
  46.             game:GetService("Lighting").ClockTime = 12
  47.         end
  48.     end)
  49.  
  50.     game:GetService("Lighting"):GetPropertyChangedSignal("FogEnd"):Connect(function()
  51.         if game:GetService("Lighting").FogEnd ~= 786543 and game:GetService("Lighting").FogEnd ~= _G.NormalLightingSettings.FogEnd then
  52.             _G.NormalLightingSettings.FogEnd = game:GetService("Lighting").FogEnd
  53.             if not _G.FullBrightEnabled then
  54.                 repeat
  55.                     wait()
  56.                 until _G.FullBrightEnabled
  57.             end
  58.             game:GetService("Lighting").FogEnd = 786543
  59.         end
  60.     end)
  61.  
  62.     game:GetService("Lighting"):GetPropertyChangedSignal("GlobalShadows"):Connect(function()
  63.         if game:GetService("Lighting").GlobalShadows ~= false and game:GetService("Lighting").GlobalShadows ~= _G.NormalLightingSettings.GlobalShadows then
  64.             _G.NormalLightingSettings.GlobalShadows = game:GetService("Lighting").GlobalShadows
  65.             if not _G.FullBrightEnabled then
  66.                 repeat
  67.                     wait()
  68.                 until _G.FullBrightEnabled
  69.             end
  70.             game:GetService("Lighting").GlobalShadows = false
  71.         end
  72.     end)
  73.  
  74.     game:GetService("Lighting"):GetPropertyChangedSignal("Ambient"):Connect(function()
  75.         if game:GetService("Lighting").Ambient ~= Color3.fromRGB(178, 178, 178) and game:GetService("Lighting").Ambient ~= _G.NormalLightingSettings.Ambient then
  76.             _G.NormalLightingSettings.Ambient = game:GetService("Lighting").Ambient
  77.             if not _G.FullBrightEnabled then
  78.                 repeat
  79.                     wait()
  80.                 until _G.FullBrightEnabled
  81.             end
  82.             game:GetService("Lighting").Ambient = Color3.fromRGB(178, 178, 178)
  83.         end
  84.     end)
  85.  
  86.     game:GetService("Lighting").Brightness = 1
  87.     game:GetService("Lighting").ClockTime = 12
  88.     game:GetService("Lighting").FogEnd = 786543
  89.     game:GetService("Lighting").GlobalShadows = false
  90.     game:GetService("Lighting").Ambient = Color3.fromRGB(178, 178, 178)
  91.  
  92.     local LatestValue = true
  93.     spawn(function()
  94.         repeat
  95.             wait()
  96.         until _G.FullBrightEnabled
  97.         while wait() do
  98.             if _G.FullBrightEnabled ~= LatestValue then
  99.                 if not _G.FullBrightEnabled then
  100.                     game:GetService("Lighting").Brightness = _G.NormalLightingSettings.Brightness
  101.                     game:GetService("Lighting").ClockTime = _G.NormalLightingSettings.ClockTime
  102.                     game:GetService("Lighting").FogEnd = _G.NormalLightingSettings.FogEnd
  103.                     game:GetService("Lighting").GlobalShadows = _G.NormalLightingSettings.GlobalShadows
  104.                     game:GetService("Lighting").Ambient = _G.NormalLightingSettings.Ambient
  105.                 else
  106.                     game:GetService("Lighting").Brightness = 1
  107.                     game:GetService("Lighting").ClockTime = 12
  108.                     game:GetService("Lighting").FogEnd = 786543
  109.                     game:GetService("Lighting").GlobalShadows = false
  110.                     game:GetService("Lighting").Ambient = Color3.fromRGB(178, 178, 178)
  111.                 end
  112.                 LatestValue = not LatestValue
  113.             end
  114.         end
  115.     end)
  116. end
  117.  
  118. _G.FullBrightExecuted = true
  119. _G.FullBrightEnabled = not _G.FullBrightEnabled
  120. end)
  121.  
  122.  
  123. b:Slider("WalkSpeed",16,500,true,function(value) --MinValue,MaxValue,Precise
  124.     while wait() do
  125.     _G.something = value
  126.     game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = _G.something
  127.     end
  128. end)
  129.  
  130. local b = w:CreateFolder("Credits") -- Creates the folder(U will put here your buttons,etc)
  131. b:Toggle("Scripts: Total",function(boolCred1)
  132.     shared.toggleCred1 = boolCred1
  133. end)
  134.  
  135. spawn(function()
  136.     while wait() do
  137.         if shared.toggleCred1 then
  138.             print("Nub")
  139.         end
  140.     end
  141. end)
Add Comment
Please, Sign In to add comment