local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local camera = workspace.CurrentCamera local menuOpen = true local espOn = false local flyOn = false local noclipOn = false local lockOn = false local lockedPlayer = nil local bodyVelocity = nil local espObjects = {} local gui = Instance.new("ScreenGui") gui.Name = "TEAJUG123_MENU" gui.ResetOnSpawn = false gui.Parent = player.PlayerGui local main = Instance.new("Frame") main.Size = UDim2.fromOffset(520,520) main.Position = UDim2.new(.5,-260,.5,-260) main.BackgroundColor3 = Color3.fromRGB(60,0,120) main.Parent = gui local title = Instance.new("TextLabel") title.Size = UDim2.new(1,0,0,70) title.Text = "TEAJUG123 MENU" title.TextScaled = true title.TextColor3 = Color3.new(1,1,1) title.BackgroundColor3 = Color3.fromRGB(130,0,220) title.Parent = main local close = Instance.new("TextButton") close.Size = UDim2.fromOffset(60,50) close.Position = UDim2.new(1,-70,0,10) close.Text = "X" close.TextScaled = true close.Parent = main local function makeButton(text,y) local b = Instance.new("TextButton") b.Size = UDim2.fromOffset(360,60) b.Position = UDim2.fromOffset(80,y) b.Text = text b.TextScaled = true b.TextColor3 = Color3.new(1,1,1) b.BackgroundColor3 = Color3.fromRGB(140,0,240) b.Parent = main return b end local espButton = makeButton("ESP: OFF",120) local flyButton = makeButton("Fly: OFF",200) local noclipButton = makeButton("Noclip: OFF",280) local lockButton = makeButton("Lock On: OFF",360) close.MouseButton1Click:Connect(function() menuOpen = false gui.Enabled = false end) UIS.InputBegan:Connect(function(input,gp) if gp then return end if input.KeyCode == Enum.KeyCode.K then menuOpen = not menuOpen gui.Enabled = menuOpen end end) local function addESP(plr) if plr ~= player and plr.Character then if not plr.Character:FindFirstChild("TEAJUG123_ESP") then local h = Instance.new("Highlight") h.Name = "TEAJUG123_ESP" h.Parent = plr.Character espObjects[plr] = h end end end local function removeESP(plr) if espObjects[plr] then espObjects[plr]:Destroy() espObjects[plr] = nil end end espButton.MouseButton1Click:Connect(function() espOn = not espOn espButton.Text = espOn and "ESP: ON" or "ESP: OFF" for _,plr in pairs(Players:GetPlayers()) do if espOn then addESP(plr) else removeESP(plr) end end end) noclipButton.MouseButton1Click:Connect(function() noclipOn = not noclipOn noclipButton.Text = noclipOn and "Noclip: ON" or "Noclip: OFF" end) flyButton.MouseButton1Click:Connect(function() flyOn = not flyOn flyButton.Text = flyOn and "Fly: ON" or "Fly: OFF" local char = player.Character local root = char and char:FindFirstChild("HumanoidRootPart") if flyOn and root then bodyVelocity = Instance.new("BodyVelocity") bodyVelocity.MaxForce = Vector3.new(999999,999999,999999) bodyVelocity.Parent = root elseif bodyVelocity then bodyVelocity:Destroy() bodyVelocity=nil end end) local function getClosestPlayer() local closest local distance = math.huge local char = player.Character local root = char and char:FindFirstChild("HumanoidRootPart") if not root then return end for _,plr in pairs(Players:GetPlayers()) do if plr ~= player and plr.Character then local r = plr.Character:FindFirstChild("HumanoidRootPart") if r then local d = (root.Position-r.Position).Magnitude if d < distance then distance=d closest=plr end end end end return closest end lockButton.MouseButton1Click:Connect(function() lockOn = not lockOn lockButton.Text = lockOn and "Lock On: ON" or "Lock On: OFF" if lockOn then lockedPlayer=getClosestPlayer() else lockedPlayer=nil end end) RunService.RenderStepped:Connect(function() if player.Character then for _,v in pairs(player.Character:GetDescendants()) do if v:IsA("BasePart") then if noclipOn then v.CanCollide = false else v.CanCollide = true end end end end if flyOn and bodyVelocity then local move = Vector3.zero if UIS:IsKeyDown(Enum.KeyCode.W) then move += camera.CFrame.LookVector end if UIS:IsKeyDown(Enum.KeyCode.S) then move -= camera.CFrame.LookVector end if UIS:IsKeyDown(Enum.KeyCode.A) then move -= camera.CFrame.RightVector end if UIS:IsKeyDown(Enum.KeyCode.D) then move += camera.CFrame.RightVector end bodyVelocity.Velocity = move * 60 end if lockOn and lockedPlayer and lockedPlayer.Character then local root = lockedPlayer.Character:FindFirstChild("HumanoidRootPart") if root then camera.CFrame = CFrame.lookAt( camera.CFrame.Position, root.Position ) end end end)