--[[ DevHub 0.1 - Developer Testing Hub ✅ Safe, Roblox-compliant 🧠 For debugging and developer use only ]] --=== SETTINGS ===-- local allowedUserIds = {123456789} -- Replace with your Roblox UserId(s) local swordId = 125013769 -- Linked Sword (official Roblox gear) --=== SERVICES ===-- local Players = game:GetService("Players") local InsertService = game:GetService("InsertService") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local LocalPlayer = Players.LocalPlayer --=== SECURITY ===-- if not table.find(allowedUserIds, LocalPlayer.UserId) then warn("DevHub disabled for non-developer.") return end --=== CREATE GUI ===-- local gui = Instance.new("ScreenGui") gui.Name = "DevHub" gui.ResetOnSpawn = false gui.Parent = LocalPlayer:WaitForChild("PlayerGui") local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 250, 0, 260) frame.Position = UDim2.new(0.05, 0, 0.3, 0) frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) frame.BorderSizePixel = 0 frame.Parent = gui local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 30) title.BackgroundColor3 = Color3.fromRGB(50, 50, 50) title.Text = "DevHub 0.1" title.TextColor3 = Color3.new(1, 1, 1) title.Font = Enum.Font.SourceSansBold title.TextSize = 20 title.Parent = frame local function makeButton(name, order) local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, -10, 0, 35) btn.Position = UDim2.new(0, 5, 0, 35 + (order - 1) * 40) btn.BackgroundColor3 = Color3.fromRGB(80, 80, 80) btn.TextColor3 = Color3.new(1, 1, 1) btn.Font = Enum.Font.SourceSans btn.TextSize = 18 btn.Text = name btn.Parent = frame return btn end local flyBtn = makeButton("Fly", 1) local infJumpBtn = makeButton("Infinite Jump", 2) local espBtn = makeButton("ESP", 3) local gearBtn = makeButton("Spawn Sword", 4) local aimBtn = makeButton("Lock-On Aim", 5) --=== FLY ===-- local flying = false local flySpeed = 50 local function toggleFly() flying = not flying local char = LocalPlayer.Character if not char or not char:FindFirstChild("HumanoidRootPart") then return end if flying then local hrp = char.HumanoidRootPart local bodyGyro = Instance.new("BodyGyro") local bodyVel = Instance.new("BodyVelocity") bodyGyro.P = 9e4 bodyGyro.MaxTorque = Vector3.new(9e9, 9e9, 9e9) bodyGyro.Parent = hrp bodyVel.MaxForce = Vector3.new(9e9, 9e9, 9e9) bodyVel.Parent = hrp RunService.RenderStepped:Connect(function() if flying and hrp then local moveDir = Vector3.new() if UserInputService:IsKeyDown(Enum.KeyCode.W) then moveDir += hrp.CFrame.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.S) then moveDir -= hrp.CFrame.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.A) then moveDir -= hrp.CFrame.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.D) then moveDir += hrp.CFrame.RightVector end bodyVel.Velocity = moveDir * flySpeed end end) else for _, v in pairs(char.HumanoidRootPart:GetChildren()) do if v:IsA("BodyGyro") or v:IsA("BodyVelocity") then v:Destroy() end end end end --=== INFINITE JUMP ===-- local infJump = false local function toggleInfJump() infJump = not infJump UserInputService.JumpRequest:Connect(function() if infJump and LocalPlayer.Character then LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):ChangeState("Jumping") end end) end --=== ESP ===-- local espOn = false local function toggleESP() espOn = not espOn for _, p in ipairs(Players:GetPlayers()) do if p ~= LocalPlayer and p.Character then local highlight = p.Character:FindFirstChildOfClass("Highlight") if espOn then if not highlight then local hl = Instance.new("Highlight") hl.FillTransparency = 1 hl.OutlineColor = Color3.fromRGB(0, 255, 0) hl.Parent = p.Character end else if highlight then highlight:Destroy() end