Advertisement
dimitarbogdanov

pluh

Feb 1st, 2023 (edited)
700
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.81 KB | None | 0 0
  1. if _G.__clrcn then
  2.     _G.__clrcn()
  3.     _G.__clrcn = nil
  4. end
  5.  
  6. local Players = game:GetService("Players")
  7. local Lighting = game:GetService("Lighting")
  8. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  9. local RunService = game:GetService("RunService")
  10.  
  11. local connections = {}
  12.  
  13. local player = Players.LocalPlayer
  14.  
  15. function fixLighting()
  16.     Lighting.Ambient = Color3.fromRGB(255, 255, 255)
  17.     Lighting.OutdoorAmbient = Color3.fromRGB(255, 255, 255)
  18.     for _, v in pairs(Lighting:GetChildren()) do
  19.         if v.Name == "Blur" then
  20.             v.Size = 0
  21.         end
  22.     end
  23. end
  24.  
  25. function onSpawn()
  26.     local bp = player.Backpack
  27.     local gun = bp:WaitForChild("BERETTA M9A3")
  28.     local config = gun.ConfigMods.CConfig
  29.     local module = require(config)
  30.     module.Ammo = math.huge
  31.     module.StoredAmmo = math.huge
  32.     module.MagCount = math.huge
  33.     module.gunRecoilMin = 0
  34.     module.gunRecoilMax = 0
  35.     module.AutoEnabled = true
  36.     module.SemiEnabled = true
  37.     module.BurstEnabled = true
  38.     module.ExposiveEnabled = true
  39.     module.ExplosiveAmmo = math.huge
  40.     module.LaserAttached = true
  41.     module.AimGunRecoilMin = 0
  42.     module.AimGunRecoilMax = 0
  43.     module.AimCamShakeMin = 0
  44.     module.AimCanShakeMin = 0
  45.     module.AimCamShakeMax = 0
  46.     module.CamShakeMin = 0
  47.     module.CanShakeMin = 0
  48.     module.CamShakeMax = 0
  49.     module.BulletSpread = 0
  50.     module.KickbackMin = 0
  51.     module.KickbackMax = 0
  52.     module.AimSideKickMin = 0
  53.     module.AimSideKickMax = 0
  54.     module.SideKickMin = 0
  55.     module.SideKickMax = 0
  56.     module.Firerate = math.huge
  57.     module.RPGEnabled = true
  58.     module.FireMode = 2
  59.     fixLighting()
  60. end
  61.  
  62. fixLighting()
  63. onSpawn()
  64. table.insert(connections, player.CharacterAdded:Connect(onSpawn))
  65.  
  66. table.insert(connections, RunService.Heartbeat:Connect(fixLighting))
  67.  
  68. _G.__clrcn = function()
  69.     for _, conn in pairs(connections) do
  70.         pcall(function()
  71.             conn:Disconnect()
  72.         end)
  73.     end
  74. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement