MegaPro23411424214

BASE BATTLES| HITBOX & INFINITE AMMO

Feb 4th, 2022 (edited)
1,294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.94 KB | None | 0 0
  1.  
  2.  
  3. SCRIPT:
  4. local library = loadstring(game:HttpGet(("https://raw.githubusercontent.com/AikaV3rm/UiLib/master/Lib.lua")))()
  5.  
  6. local w = library:CreateWindow("Base Battles")
  7.  
  8. local b = w:CreateFolder("Gun")
  9.  
  10. local player = game:GetService("Players").LocalPlayer
  11. local mouse = player:GetMouse()
  12.  
  13. --no recoil
  14. b:Button(
  15. "No recoil",
  16. function()
  17. for i, v in next, getgc(true) do
  18. if type(v) == "table" and rawget(v, "damage") then
  19. v.bloomFactor = 0
  20. v.noYawRecoil = "true"
  21. v.recoilCoefficient = 1
  22. end
  23. end
  24. end
  25. )
  26.  
  27. b:Button(
  28. "HitBox",
  29. function()
  30. while true do
  31. wait(1)
  32. getgenv().HeadSize = 15
  33. getgenv().Disabled = true
  34.  
  35. if getgenv().Disabled then
  36. for i, v in next, game:GetService("Players"):GetPlayers() do
  37. if v.Name ~= game:GetService("Players").LocalPlayer.Name then
  38. pcall(
  39. function()
  40. v.Character.HumanoidRootPart.Name = "xC6M3Vuz7QpsY5nv"
  41. v.Character.xC6M3Vuz7QpsY5nv.Size =
  42. Vector3.new(getgenv().HeadSize, getgenv().HeadSize, getgenv().HeadSize)
  43. v.Character.xC6M3Vuz7QpsY5nv.Transparency = 0.5
  44. v.Character.xC6M3Vuz7QpsY5nv.CanCollide = false
  45. v.Character.xC6M3Vuz7QpsY5nv.Color = Color3.fromRGB(210, 44, 255)
  46. end
  47. )
  48. end
  49. end
  50. end
  51. end
  52. end
  53. )
  54. --Make all guns automatic
  55. b:Button(
  56. "Automatic",
  57. function()
  58. for i, v in next, getgc(true) do
  59. if type(v) == "table" and rawget(v, "damage") then
  60. v.automatic = "true"
  61. end
  62. end
  63. end
  64. )
  65. --inf ammo
  66. b:Bind(
  67. "Infinity ammo",
  68. Enum.KeyCode.C,
  69. function()
  70. for i, v in pairs(getgc(true)) do
  71. if type(v) == "table" and rawget(v, "ammo") then
  72. v.ammo = math.huge
  73. end
  74. end
  75. end
  76. )
  77.  
  78. --Triggerbot
  79. b:Toggle(
  80. "Triggerbot ",
  81. function(bool)
  82. shared.toggle = bool
  83. if shared.toggle then
  84. game:GetService("RunService").RenderStepped:Connect(
  85. function()
  86. if mouse.Target.Parent:FindFirstChild("Humanoid") and mouse.Target.Parent.Name ~= player.Name then
  87. local target = game:GetService("Players"):FindFirstChild(mouse.Target.Parent.Name)
  88. if shared.toggle then
  89. mouse1press()
  90. wait()
  91. mouse1release()
  92. end
  93. end
  94. end
  95. )
  96. end
  97. end
  98. )
  99.  
  100. b:DestroyGui()
Add Comment
Please, Sign In to add comment