--// Services local Players = game:GetService("Players") local CoreGui = game:GetService("CoreGui") local Workspace = game:GetService("Workspace") local UserInputService = game:GetService("UserInputService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local TeleportService = game:GetService("TeleportService") local LocalPlayer = Players.LocalPlayer --// Remove old GUI if CoreGui:FindFirstChild("CoolHub") then CoreGui:FindFirstChild("CoolHub"):Destroy() end --// Variables local auraEnabled = false local rejoinEnabled = false local dragging = false local dragStart, startPos --// GUI local ScreenGui = Instance.new("ScreenGui", CoreGui) ScreenGui.Name = "CoolHub" ScreenGui.ResetOnSpawn = false ScreenGui.DisplayOrder = 999999 ScreenGui.IgnoreGuiInset = true local Main = Instance.new("Frame", ScreenGui) Main.Size = UDim2.new(0, 280, 0, 200) Main.Position = UDim2.new(0.05, 0, 0.2, 0) Main.BackgroundColor3 = Color3.fromRGB(20, 20, 30) Main.BorderSizePixel = 0 Instance.new("UICorner", Main).CornerRadius = UDim.new(0, 14) local Stroke = Instance.new("UIStroke", Main) Stroke.Color = Color3.fromRGB(100, 140, 255) Stroke.Thickness = 2 local Title = Instance.new("TextLabel", Main) Title.Size = UDim2.new(1, 0, 0, 50) Title.BackgroundTransparency = 1 Title.Text = "OpenSource Hub\nMade by _OpenSource_" Title.TextColor3 = Color3.fromRGB(255,255,255) Title.TextScaled = true Title.Font = Enum.Font.GothamBold -- Button creator local function createButton(text, posY) local Btn = Instance.new("TextButton", Main) Btn.Size = UDim2.new(0.85, 0, 0, 45) Btn.Position = UDim2.new(0.075, 0, 0, posY) Btn.BackgroundColor3 = Color3.fromRGB(35, 35, 50) Btn.TextColor3 = Color3.fromRGB(255,255,255) Btn.TextScaled = true Btn.Font = Enum.Font.GothamBold Btn.Text = text Instance.new("UICorner", Btn).CornerRadius = UDim.new(0, 10) local stroke = Instance.new("UIStroke", Btn) stroke.Color = Color3.fromRGB(90, 140, 255) return Btn end local AuraBtn = createButton("Kill Aura Gun: OFF", 65) local RejoinBtn = createButton("Auto Rejoin: OFF", 125) --// Dragging Main.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true dragStart = input.Position startPos = Main.Position end end) Main.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = false end end) UserInputService.InputChanged:Connect(function(input) if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then local delta = input.Position - dragStart Main.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end end) --// Toggles AuraBtn.MouseButton1Click:Connect(function() auraEnabled = not auraEnabled AuraBtn.Text = "Kill Aura Gun: " .. (auraEnabled and "ON" or "OFF") end) RejoinBtn.MouseButton1Click:Connect(function() rejoinEnabled = not rejoinEnabled RejoinBtn.Text = "Auto Rejoin: " .. (rejoinEnabled and "ON" or "OFF") -- Immediately rejoin if enabled if rejoinEnabled then task.wait(0.5) TeleportService:Teleport(game.PlaceId, LocalPlayer) end end) --// 🔫 Kill Aura (ANY GUN) task.spawn(function() while true do if auraEnabled then local char = LocalPlayer.Character local tool = char and char:FindFirstChildOfClass("Tool") local handle = tool and tool:FindFirstChild("Handle") if handle then local function attack(folder) for _, mob in ipairs(folder:GetChildren()) do if mob:IsA("Model") then local hum = mob:FindFirstChildOfClass("Humanoid") local part = mob:FindFirstChild("HumanoidRootPart") or mob:FindFirstChild("Head") if hum and part and hum.Health > 0 then ReplicatedStorage:WaitForChild("GameplayEvents") :WaitForChild("ShootEvent") :FireServer(part.Position, part.Position, handle, 20) end end end end local zombies = Workspace:FindFirstChild("Zombies") if zombies then attack(zombies) end local npcs = Workspace:FindFirstChild("NPCs") if npcs then attack(npcs) end end end task.wait(0.12) end end)