Advertisement
OPfescriptsdaily

Roblox Base Battles Script (HitBox Expander, Infinite Ammo)

Feb 6th, 2022
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. -- https://www.roblox.com/games/5326405001/Base-Battles
  2. --Cridit:6F4H#3492
  3. local Player = game:GetService("Players").LocalPlayer
  4. local Global = require(game:GetService("ReplicatedStorage").Libraries.Global)
  5.  
  6. for i,v in pairs (game:GetService("ReplicatedStorage").Weapons.Guns:GetChildren()) do
  7. for g,x in pairs (v:GetChildren()) do
  8. if x:FindFirstChild("Configuration") then
  9. local Config = require(x.Configuration)
  10. Config.firemode = "automatic"
  11. Config.automatic = true
  12. Config.maxAmmo = math.huge
  13. end
  14. end
  15. end
  16.  
  17. while task.wait() do
  18. for i,v in pairs (game:GetService("Players"):GetChildren()) do
  19. if v ~= Player and v.Character and v.Character:FindFirstChild("HumanoidRootPart") then
  20. if Global.Teams[v] ~= Global.Teams[Player] then
  21. v.Character.HumanoidRootPart.Size = Vector3.new(50,50,50)
  22. v.Character.HumanoidRootPart.CanCollide = false
  23. v.Character.HumanoidRootPart.Transparency = 0.5
  24. if Global.Teams[v] == "Blue" then
  25. v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Royal blue")
  26. elseif Global.Teams[v] == "Red" then
  27. v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Really red")
  28. end
  29. elseif Global.Teams[v] == Global.Teams[Player] then
  30. v.Character.HumanoidRootPart.Size = Vector3.new(1,1,1)
  31. v.Character.HumanoidRootPart.Transparency = 1
  32. end
  33. end
  34. end
  35. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement