Advertisement
SigmaBoy456

Roblox Universal Hitbox expander GUI v1

Jun 20th, 2024
31,490
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.08 KB | None | 1 1
  1. -- Check my Pastebin by Click my Username
  2. -- i have more ton of script Thata are advanced
  3. -- this script is in developing by Mawin_CK
  4. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  5. local Window = OrionLib:MakeWindow({
  6.   Name = "Roblox Hitbox Expander Universal v1 by Mawin_CK",
  7.   HidePremium = false,
  8.   SaveConfig = true,
  9.   ConfigFolder = "OrionTest"
  10. })
  11.  
  12. local Tab = Window:MakeTab({
  13.   Name = "Main",
  14.   Icon = "rbxassetid://4483345998",
  15.   PremiumOnly = false
  16. })
  17.  
  18. local Section = Tab:AddSection({
  19.   Name = "Script"
  20. })
  21.  
  22. Tab:AddButton({
  23.   Name = "Expand Non-Player Hitbox",
  24.   Callback = function()
  25.     local function expandNonPlayerHitbox()
  26.       local localPlayer = game.Players.LocalPlayer
  27.  
  28.       for _, npc in ipairs(game.Workspace:GetDescendants()) do
  29.         pcall(function()
  30.           if npc:IsA("Model") and npc:FindFirstChild("Humanoid") and not npc:FindFirstChild("HumanoidRootPart") then
  31.             local hitbox = npc:FindFirstChild("Humanoid") or npc.PrimaryPart
  32.             if hitbox then
  33.               hitbox.Size = Vector3.new(10, 10, 10)
  34.               hitbox.CanCollide = false
  35.               hitbox.Transparency = 0.5
  36.               hitbox.Color = Color3.fromRGB(255, 0, 0)
  37.             end
  38.           end
  39.         end)
  40.       end
  41.     end
  42.  
  43.     while true do
  44.       expandNonPlayerHitbox()
  45.       wait(1)
  46.     end
  47.   end
  48. })
  49.  
  50. Tab:AddButton({
  51.   Name = "Expand Player Hitbox (Team Check)",
  52.   Callback = function()
  53.     local function expandPlayerHitbox()
  54.       local localPlayer = game.Players.LocalPlayer
  55.  
  56.       for _, player in ipairs(game.Players:GetPlayers()) do
  57.         pcall(function()
  58.           if player ~= localPlayer and player.Team ~= localPlayer.Team and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  59.             local hitbox = player.Character:FindFirstChild("HumanoidRootPart")
  60.             if hitbox then
  61.               hitbox.Size = Vector3.new(10, 10, 10)
  62.               hitbox.CanCollide = false
  63.               hitbox.Transparency = 0.5
  64.               hitbox.Color = Color3.fromRGB(255, 0, 0)
  65.             end
  66.           end
  67.         end)
  68.       end
  69.     end
  70.  
  71.     while true do
  72.       expandPlayerHitbox()
  73.       wait(1)
  74.     end
  75.   end
  76. })
  77.  
  78. Tab:AddButton({
  79.   Name = "Expand All Player Hitboxes",
  80.   Callback = function()
  81.     local function expandAllPlayerHitboxes()
  82.       local localPlayer = game.Players.LocalPlayer
  83.  
  84.       for _, player in ipairs(game.Players:GetPlayers()) do
  85.         pcall(function()
  86.           if player ~= localPlayer and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
  87.             local hitbox = player.Character:FindFirstChild("HumanoidRootPart")
  88.             if hitbox then
  89.               hitbox.Size = Vector3.new(10, 10, 10)
  90.               hitbox.CanCollide = false
  91.               hitbox.Transparency = 0.5
  92.               hitbox.Color = Color3.fromRGB(255, 0, 0)
  93.             end
  94.           end
  95.         end)
  96.       end
  97.     end
  98.  
  99.     while true do
  100.       expandAllPlayerHitboxes()
  101.       wait(1)
  102.     end
  103.   end
  104. })
  105.  
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement