Advertisement
Sooclean

Roblox Base Battle

Feb 21st, 2022
1,181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.34 KB | None | 0 0
  1. local library = loadstring(game:HttpGet(("https://raw.githubusercontent.com/AikaV3rm/UiLib/master/Lib.lua")))()
  2.  
  3.  
  4.  
  5. local w = library:CreateWindow("Base Battles")
  6.  
  7.  
  8.  
  9. local b = w:CreateFolder("Gun")
  10.  
  11.  
  12.  
  13. --no recoil
  14.  
  15. b:Button(
  16.  
  17.     "No recoil",
  18.  
  19.     function()
  20.  
  21.         for i, v in next, getgc(true) do
  22.  
  23.             if type(v) == "table" and rawget(v, "damage") then
  24.  
  25.                 v.bloomFactor = 0
  26.  
  27.                 v.noYawRecoil = "true"
  28.  
  29.                 v.recoilCoefficient = 1
  30.  
  31.             end
  32.  
  33.         end
  34.  
  35.     end
  36.  
  37. )
  38.  
  39.  
  40.  
  41. b:Button(
  42.  
  43.     "HitBox",
  44.  
  45.     function()
  46.  
  47.         while true do
  48.  
  49.             wait(1)
  50.  
  51.             getgenv().HeadSize = 25
  52.  
  53.             getgenv().Disabled = true
  54.  
  55.  
  56.  
  57.             if getgenv().Disabled then
  58.  
  59.                 for i, v in next, game:GetService("Players"):GetPlayers() do
  60.  
  61.                     if v.Name ~= game:GetService("Players").LocalPlayer.Name then
  62.  
  63.                         pcall(
  64.  
  65.                             function()
  66.  
  67.                                 v.Character.HumanoidRootPart.Name = "xC6M3Vuz7QpsY5nv"
  68.  
  69.                                 v.Character.xC6M3Vuz7QpsY5nv.Size =
  70.  
  71.                                     Vector3.new(getgenv().HeadSize, getgenv().HeadSize, getgenv().HeadSize)
  72.  
  73.                                 v.Character.xC6M3Vuz7QpsY5nv.Transparency = 0.5
  74.  
  75.                                 v.Character.xC6M3Vuz7QpsY5nv.CanCollide = false
  76.  
  77.                                 v.Character.xC6M3Vuz7QpsY5nv.Color = Color3.fromRGB(210, 44, 255)
  78.  
  79.                             end
  80.  
  81.                         )
  82.  
  83.                     end
  84.  
  85.                 end
  86.  
  87.             end
  88.  
  89.         end
  90.  
  91.     end
  92.  
  93. )
  94.  
  95. --Make all guns automatic
  96.  
  97. b:Button(
  98.  
  99.     "Automatic",
  100.  
  101.     function()
  102.  
  103.         for i, v in next, getgc(true) do
  104.  
  105.             if type(v) == "table" and rawget(v, "damage") then
  106.  
  107.                 v.automatic = "true"
  108.  
  109.             end
  110.  
  111.         end
  112.  
  113.     end
  114.  
  115. )
  116.  
  117. --inf ammo
  118.  
  119. b:Bind(
  120.  
  121.     "Infinity ammo",
  122.  
  123.     Enum.KeyCode.C,
  124.  
  125.     function()
  126.  
  127.         for i, v in pairs(getgc(true)) do
  128.  
  129.             if type(v) == "table" and rawget(v, "ammo") then
  130.  
  131.                 v.ammo = math.huge
  132.  
  133.             end
  134.  
  135.         end
  136.  
  137.     end
  138.  
  139. )
  140.  
  141.  
  142.  
  143. b:DestroyGui()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement