local DEV_USERID = 4815679279 local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local StarterGui = game:GetService("StarterGui") local LocalPlayer = Players.LocalPlayer if LocalPlayer.UserId ~= DEV_USERID then script:Destroy() return end local character, humanoid local function setupChar() character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() humanoid = character:WaitForChild("Humanoid") end setupChar() LocalPlayer.CharacterAdded:Connect(setupChar) -- Prevent death & knockdown (Universal God Mode) humanoid.HealthChanged:Connect(function() humanoid.Health = humanoid.MaxHealth humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false) end) humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false) humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding, false) -- UI -- local ScreenGui = Instance.new("ScreenGui", LocalPlayer:WaitForChild("PlayerGui")) ScreenGui.Name = "DevHub" ScreenGui.ResetOnSpawn = false local scale = Instance.new("UIScale", ScreenGui) scale.Scale = UserInputService.TouchEnabled and 1.5 or 1 local openBtn = Instance.new("TextButton") openBtn.Parent = ScreenGui openBtn.Size = UDim2.new(0,120,0,45) openBtn.Position = UDim2.new(0,15,0,15) openBtn.Text = "DEV" openBtn.TextScaled = true local panel = Instance.new("Frame") panel.Parent = ScreenGui panel.Size = UDim2.new(0,260,0,260) panel.Position = UDim2.new(0,15,0,70) panel.Visible = false panel.BackgroundColor3 = Color3.fromRGB(55,55,55) local dragging = false local dragStart, startPos panel.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = panel.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) panel.InputChanged:Connect(function(input) if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then local delta = input.Position - dragStart panel.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end end) local function newButton(text, y) local b = Instance.new("TextButton") b.Parent = panel b.Size = UDim2.new(1,-20,0,40) b.Position = UDim2.new(0,10,0,y) b.Text = text b.TextScaled = true b.BackgroundColor3 = Color3.fromRGB(80,80,80) return b end local flightBtn = newButton("Toggle Flight", 10) local noclipBtn = newButton("Toggle NoClip", 55) local oreBtn = newButton("Ore Hitbox x10", 100) local espBtn = newButton("Ore ESP", 145) local speedBtn = newButton("Speed: 60", 190) openBtn.MouseButton1Click:Connect(function() panel.Visible = not panel.Visible end) -- Toggles local flight = false local noclip = false local esp = false local oreBoost = false local speed = 60 -- Buttons flightBtn.MouseButton1Click:Connect(function() flight = not flight humanoid.PlatformStand = flight flightBtn.Text = flight and "[ON] Flight" or "Toggle Flight" end) noclipBtn.MouseButton1Click:Connect(function() noclip = not noclip noclipBtn.Text = noclip and "[ON] NoClip" or "Toggle NoClip" end) local highlights = {} espBtn.MouseButton1Click:Connect(function() esp = not esp espBtn.Text = esp and "[ON] Ore ESP" or "Ore ESP" if esp then for _, model in ipairs(workspace:GetChildren()) do if model:IsA("Model") and model:GetAttribute("Ore") == true then local h = Instance.new("Highlight") h.FillTransparency = 0.5 h.OutlineTransparency = 0 h.Parent = model highlights[model] = h end end else for model, h in pairs(highlights) do if h then h:Destroy() end end highlights = {} end end) oreBtn.MouseButton1Click:Connect(function() oreBoost = not oreBoost oreBtn.Text = oreBoost and "[ON] Ore Hitbox" or "Ore Hitbox x10" for _, model in ipairs(workspace:GetChildren()) do if model:IsA("Model") and model:GetAttribute("Ore") == true then for _, p in ipairs(model:GetDescendants()) do if p:IsA("BasePart") then if oreBoost then p.Size = p.Size * 10 else p.Size = Vector3.new(4,4,4) end end end end end end) speedBtn.MouseButton1Click:Connect(function() speed = speed + 20 if speed > 200 then speed = 20 end speedBtn.Text = "Speed: " .. speed end) -- MAIN LOOP RunService.RenderStepped:Connect(function() if not character or not humanoid then return end local hrp = character:FindFirstChild("HumanoidRootPart") if not hrp then return end if flight then hrp.Velocity = humanoid.MoveDirection * speed end if noclip then for _, p in ipairs(character:GetChildren()) do if p:IsA("BasePart") then p.CanCollide = false end end end end)