local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local mouse = player:GetMouse() local char = player.Character or player.CharacterAdded:Wait() local hum = char:WaitForChild("Humanoid") local root = char:WaitForChild("HumanoidRootPart") -- states local states = { infJump = false, fly = false, noclip = false, esp = false, clickTP = false } -- gui local gui = Instance.new("ScreenGui") gui.Name = "HAXUI (kinda shit)" gui.ResetOnSpawn = false gui.Parent = player:WaitForChild("PlayerGui") local main = Instance.new("Frame", gui) main.Size = UDim2.fromOffset(260, 300) main.Position = UDim2.fromScale(0.4, 0.3) main.BackgroundColor3 = Color3.fromRGB(25, 25, 25) main.Active = true main.Draggable = true Instance.new("UICorner", main).CornerRadius = UDim.new(0, 18) local stroke = Instance.new("UIStroke", main) stroke.Color = Color3.fromRGB(70, 70, 70) local title = Instance.new("TextLabel", main) title.Size = UDim2.new(1, 0, 0, 40) title.BackgroundTransparency = 1 title.Text = "HAXUI (kinda shit)" title.Font = Enum.Font.GothamBold title.TextSize = 18 title.TextColor3 = Color3.fromRGB(230, 230, 230) -- button creator local function makeButton(text, yPos) local b = Instance.new("TextButton", main) b.Size = UDim2.new(1, -30, 0, 36) b.Position = UDim2.fromOffset(15, yPos) b.Text = text b.Font = Enum.Font.Gotham b.TextSize = 14 b.TextColor3 = Color3.new(1,1,1) b.BackgroundColor3 = Color3.fromRGB(40, 40, 40) Instance.new("UICorner", b).CornerRadius = UDim.new(0, 12) return b end local buttons = { infJump = makeButton("Infinite Jump: OFF", 55), fly = makeButton("Fly: OFF", 100), noclip = makeButton("Noclip: OFF", 145), esp = makeButton("ESP: OFF", 190), clickTP = makeButton("Click TP: OFF", 235), } local destroyBtn = Instance.new("TextButton", main) destroyBtn.Size = UDim2.fromOffset(30, 30) destroyBtn.Position = UDim2.fromOffset(215, 5) destroyBtn.Text = "X" destroyBtn.Font = Enum.Font.GothamBold destroyBtn.TextSize = 14 destroyBtn.TextColor3 = Color3.fromRGB(255, 120, 120) destroyBtn.BackgroundTransparency = 1 -- infinite jump UIS.JumpRequest:Connect(function() if states.infJump then hum:ChangeState(Enum.HumanoidStateType.Jumping) end end) -- fly local bv, bg RunService.RenderStepped:Connect(function() if states.fly then if not bv then bv = Instance.new("BodyVelocity", root) bg = Instance.new("BodyGyro", root) bv.MaxForce = Vector3.new(1e5,1e5,1e5) bg.MaxTorque = Vector3.new(1e5,1e5,1e5) end local move = Vector3.zero if UIS:IsKeyDown(Enum.KeyCode.W) then move += workspace.CurrentCamera.CFrame.LookVector end if UIS:IsKeyDown(Enum.KeyCode.S) then move -= workspace.CurrentCamera.CFrame.LookVector end if UIS:IsKeyDown(Enum.KeyCode.A) then move -= workspace.CurrentCamera.CFrame.RightVector end if UIS:IsKeyDown(Enum.KeyCode.D) then move += workspace.CurrentCamera.CFrame.RightVector end if UIS:IsKeyDown(Enum.KeyCode.Space) then move += Vector3.new(0,1,0) end if UIS:IsKeyDown(Enum.KeyCode.LeftControl) then move -= Vector3.new(0,1,0) end bv.Velocity = move * 60 bg.CFrame = workspace.CurrentCamera.CFrame else if bv then bv:Destroy() bg:Destroy() bv, bg = nil, nil end end end) -- noclip RunService.Stepped:Connect(function() if states.noclip and char then for _,v in ipairs(char:GetDescendants()) do if v:IsA("BasePart") then v.CanCollide = false end end end end) -- esp local espCache = {} local function toggleESP(on) for _,plr in ipairs(Players:GetPlayers()) do if plr ~= player and plr.Character then if on then if not espCache[plr] then local h = Instance.new("Highlight", plr.Character) h.FillColor = Color3.fromRGB(255, 80, 80) h.OutlineTransparency = 1 espCache[plr] = h end else if espCache[plr] then espCache[plr]:Destroy() espCache[plr] = nil end end end end end -- click tp mouse.Button1Down:Connect(function() if states.clickTP and mouse.Hit then root.CFrame = CFrame.new(mouse.Hit.Position + Vector3.new(0,3,0)) end end) -- button logic for key,btn in pairs(buttons) do btn.MouseButton1Click:Connect(function() states[key] = not states[key] btn.Text = btn.Text:sub(1, btn.Text:find(":")) .. (states[key] and " ON" or " OFF") if key == "esp" then toggleESP(states.esp) end end) end destroyBtn.MouseButton1Click:Connect(function() gui:Destroy() end) -- toggle menu UIS.InputBegan:Connect(function(input, gpe) if not gpe and input.KeyCode == Enum.KeyCode.RightShift then main.Visible = not main.Visible end end)