
KeylessUniversal

-- ULTIMATE ROBLOX MENU by l1amx - FIXED VERSION
-- Alles funktioniert: Menu öffnen/schließen, ESP, Aimbot, Fly
local player = game:GetService("Players").LocalPlayer
local camera = workspace.CurrentCamera
local runService = game:GetService("RunService")
local userInput = game:GetService("UserInputService")
-- ===== KEY SYSTEM =====
local authenticated = false
local VALID_KEY = "99"
local menuKey = Enum.KeyCode.RightShift
local waitingForKey = false
-- ===== MENU VARIABLEN =====
local menuOpen = false
-- ===== FPS VARIABLEN =====
local fps = 60
local lastTime = tick()
local frameCount = 0
-- ===== TOGGLES =====
local toggles = {
-- ESP
ESP = true,
NAMETAGS = true,
HEALTHBAR = true,
HEALTHBAR_TYPE = "SIDEBAR",
SNAP_LINES = false,
ESP_MAX_DISTANCE = 500,
-- Aimbot
AIMBOT = true,
AIM_FOV = 90,
AIM_SMOOTHNESS = 3,
AIM_VISIBLE_CHECK = false,
AIM_MAX_DISTANCE = 500,
-- Fly
FLY = false,
FLY_SPEED = 50,
-- Widget
WIDGET = true,
SHOW_FPS = true
}
-- ===== GUI ERSTELLEN =====
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "UltimateMenu"
screenGui.ResetOnSpawn = false
screenGui.Parent = player:WaitForChild("PlayerGui")
-- ===== FPS COUNTER =====
local fpsLabel = Instance.new("TextLabel")
fpsLabel.Name = "FPSCounter"
fpsLabel.Size = UDim2.new(0, 80, 0, 30)
fpsLabel.Position = UDim2.new(1, -90, 0, 10)
fpsLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
fpsLabel.BackgroundTransparency = 0.5
fpsLabel.TextColor3 = Color3.fromRGB(0, 255, 0)
fpsLabel.Text = "FPS: 60"
fpsLabel.TextSize = 16
fpsLabel.Font = Enum.Font.SourceSansBold
fpsLabel.Parent = screenGui
local fpsCorner = Instance.new("UICorner")
fpsCorner.CornerRadius = UDim.new(0, 8)
fpsCorner.Parent = fpsLabel
-- FPS Update
runService.RenderStepped:Connect(function()
frameCount = frameCount + 1
local currentTime = tick()
if currentTime - lastTime >= 1 then
fps = frameCount
frameCount = 0
lastTime = currentTime
if toggles.SHOW_FPS then
fpsLabel.Text = "FPS: " .. fps
end
end
fpsLabel.Visible = toggles.SHOW_FPS
end)
-- ===== KEY WINDOW =====
local keyWindow = Instance.new("Frame")
keyWindow.Name = "KeyWindow"
keyWindow.Size = UDim2.new(0, 350, 0, 280)
keyWindow.Position = UDim2.new(0.5, -175, 0.5, -140)
keyWindow.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
keyWindow.BackgroundTransparency = 0.1
keyWindow.BorderSizePixel = 0
keyWindow.Visible = true
keyWindow.Parent = screenGui
local keyCorner = Instance.new("UICorner")
keyCorner.CornerRadius = UDim.new(0, 15)
keyCorner.Parent = keyWindow
local keyHeader = Instance.new("Frame")
keyHeader.Size = UDim2.new(1, 0, 0, 40)
keyHeader.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
keyHeader.BorderSizePixel = 0
keyHeader.Parent = keyWindow
local keyHeaderCorner = Instance.new("UICorner")
keyHeaderCorner.CornerRadius = UDim.new(0, 15)
keyHeaderCorner.Parent = keyHeader
local keyTitle = Instance.new("TextLabel")
keyTitle.Size = UDim2.new(1, 0, 1, 0)
keyTitle.BackgroundTransparency = 1
keyTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
keyTitle.Text = "KEY EINGEBEN"
keyTitle.TextSize = 20
keyTitle.Font = Enum.Font.SourceSansBold
keyTitle.Parent = keyHeader
local keyInputFrame = Instance.new("Frame")
keyInputFrame.Size = UDim2.new(0, 250, 0, 40)
keyInputFrame.Position = UDim2.new(0.5, -125, 0, 60)
keyInputFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
keyInputFrame.BorderSizePixel = 0
keyInputFrame.Parent = keyWindow
local keyInputCorner = Instance.new("UICorner")
keyInputCorner.CornerRadius = UDim.new(0, 10)
keyInputCorner.Parent = keyInputFrame
local keyInput = Instance.new("TextBox")
keyInput.Size = UDim2.new(1, -10, 1, -10)
keyInput.Position = UDim2.new(0, 5, 0, 5)
keyInput.BackgroundTransparency = 1
keyInput.TextColor3 = Color3.fromRGB(255, 255, 255)
keyInput.PlaceholderText = "Key hier eingeben..."
keyInput.PlaceholderColor3 = Color3.fromRGB(150, 150, 150)
keyInput.TextSize = 16
keyInput.Font = Enum.Font.SourceSans
keyInput.ClearTextOnFocus = false
keyInput.Parent = keyInputFrame
local submitBtn = Instance.new("TextButton")
submitBtn.Size = UDim2.new(0, 150, 0, 40)
submitBtn.Position = UDim2.new(0.5, -75, 0, 120)
submitBtn.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
submitBtn.Text = "ABSCHICKEN"
submitBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
submitBtn.TextSize = 18
submitBtn.Font = Enum.Font.SourceSansBold
submitBtn.Parent = keyWindow
local submitCorner = Instance.new("UICorner")
submitCorner.CornerRadius = UDim.new(0, 10)
submitCorner.Parent = submitBtn
-- Key wählen Button
local chooseKeyBtn = Instance.new("TextButton")
chooseKeyBtn.Size = UDim2.new(0, 250, 0, 40)
chooseKeyBtn.Position = UDim2.new(0.5, -125, 0, 180)
chooseKeyBtn.BackgroundColor3 = Color3.fromRGB(0, 100, 200)
chooseKeyBtn.Text = "Key zum Menu öffnen tippen"
chooseKeyBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
chooseKeyBtn.TextSize = 16
chooseKeyBtn.Font = Enum.Font.SourceSansBold
chooseKeyBtn.Parent = keyWindow
local chooseKeyCorner = Instance.new("UICorner")
chooseKeyCorner.CornerRadius = UDim.new(0, 10)
chooseKeyCorner.Parent = chooseKeyBtn
chooseKeyBtn.MouseButton1Click:Connect(function()
waitingForKey = true
chooseKeyBtn.Text = "Drücke eine Taste..."
chooseKeyBtn.BackgroundColor3 = Color3.fromRGB(255, 100, 0)
end)
-- Key Check
submitBtn.MouseButton1Click:Connect(function()
if keyInput.Text == VALID_KEY then
authenticated = true
keyWindow.Visible = false
menu.Visible = menuOpen
widget.Visible = toggles.WIDGET
else
player:Kick("Falscher Key! Der Key ist 99")
end
end)
keyInput.FocusLost:Connect(function(enterPressed)
if enterPressed and keyInput.Text == VALID_KEY then
authenticated = true
keyWindow.Visible = false
menu.Visible = menuOpen
widget.Visible = toggles.WIDGET
elseif enterPressed then
player:Kick("Falscher Key! Der Key ist 99")
end
end)
-- ===== TASTENABFRAGE FÜR MENU-KEY =====
userInput.InputBegan:Connect(function(input, gameProcessed)
if waitingForKey and input.UserInputType == Enum.UserInputType.Keyboard then
menuKey = input.KeyCode
waitingForKey = false
chooseKeyBtn.Text = "Key: " .. tostring(menuKey):gsub("Enum.KeyCode.", "")
chooseKeyBtn.BackgroundColor3 = Color3.fromRGB(0, 100, 200)
end
if not gameProcessed and authenticated then
if input.KeyCode == menuKey then
menuOpen = not menuOpen
menu.Visible = menuOpen
toggleBtn.Text = menuOpen and "▲" or "▼"
end
end
end)
-- ===== WIDGET =====
local widget = Instance.new("Frame")
widget.Name = "Widget"
widget.Size = UDim2.new(0, 250, 0, 45)
widget.Position = UDim2.new(0.5, -125, 0, 10)
widget.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
widget.BackgroundTransparency = 0.2
widget.BorderSizePixel = 0
widget.Active = true
widget.Draggable = true
widget.Visible = false
widget.Parent = screenGui
local widgetCorner = Instance.new("UICorner")
widgetCorner.CornerRadius = UDim.new(0, 15)
widgetCorner.Parent = widget
local widgetText = Instance.new("TextLabel")
widgetText.Size = UDim2.new(1, -45, 1, 0)
widgetText.Position = UDim2.new(0, 15, 0, 0)
widgetText.BackgroundTransparency = 1
widgetText.TextColor3 = Color3.fromRGB(255, 255, 255)
widgetText.Text = "l1amx ULTIMATE"
widgetText.TextSize = 18
widgetText.Font = Enum.Font.SourceSansBold
widgetText.TextXAlignment = Enum.TextXAlignment.Left
widgetText.Parent = widget
local toggleBtn = Instance.new("TextButton")
toggleBtn.Size = UDim2.new(0, 30, 0, 30)
toggleBtn.Position = UDim2.new(1, -40, 0.5, -15)
toggleBtn.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
toggleBtn.Text = "▼"
toggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
toggleBtn.Font = Enum.Font.SourceSansBold
toggleBtn.TextSize = 20
toggleBtn.Parent = widget
local toggleCorner = Instance.new("UICorner")
toggleCorner.CornerRadius = UDim.new(0, 8)
toggleCorner.Parent = toggleBtn
-- ===== MENU =====
local menu = Instance.new("Frame")
menu.Name = "Menu"
menu.Size = UDim2.new(0, 320, 0, 450)
menu.Position = UDim2.new(0, 20, 0, 70)
menu.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
menu.BackgroundTransparency = 0.1
menu.BorderSizePixel = 0
menu.Active = true
menu.Draggable = true
menu.Visible = false
menu.Parent = screenGui
local menuCorner = Instance.new("UICorner")
menuCorner.CornerRadius = UDim.new(0, 15)
menuCorner.Parent = menu
local menuHeader = Instance.new("Frame")
menuHeader.Size = UDim2.new(1, 0, 0, 40)
menuHeader.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
menuHeader.BorderSizePixel = 0
menuHeader.Parent = menu
local menuHeaderCorner = Instance.new("UICorner")
menuHeaderCorner.CornerRadius = UDim.new(0, 15)
menuHeaderCorner.Parent = menuHeader
local menuTitle = Instance.new("TextLabel")
menuTitle.Size = UDim2.new(1, 0, 1, 0)
menuTitle.BackgroundTransparency = 1
menuTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
menuTitle.Text = "l1amx ULTIMATE"
menuTitle.TextSize = 20
menuTitle.Font = Enum.Font.SourceSansBold
menuTitle.Parent = menuHeader
-- Scrolling Frame für Menu-Inhalt
local scrollFrame = Instance.new("ScrollingFrame")
scrollFrame.Size = UDim2.new(1, -10, 1, -50)
scrollFrame.Position = UDim2.new(0, 5, 0, 45)
scrollFrame.BackgroundTransparency = 1
scrollFrame.BorderSizePixel = 0
scrollFrame.CanvasSize = UDim2.new(0, 0, 2, 0)
scrollFrame.ScrollBarThickness = 8
scrollFrame.Parent = menu
local yPos = 10
local function addLabel(text)
local label = Instance.new("TextLabel")
label.Size = UDim2.new(1, -20, 0, 25)
label.Position = UDim2.new(0, 10, 0, yPos)
label.BackgroundTransparency = 1
label.TextColor3 = Color3.fromRGB(255, 255, 0)
label.Text = text
label.TextSize = 16
label.Font = Enum.Font.SourceSansBold
label.Parent = scrollFrame
yPos = yPos + 30
end
local function addCheckbox(text, getFunc, setFunc)
local btn = Instance.new("TextButton")
btn.Size = UDim2.new(1, -20, 0, 35)
btn.Position = UDim2.new(0, 10, 0, yPos)
btn.BackgroundColor3 = getFunc() and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(70, 70, 70)
btn.Text = text .. ": " .. (getFunc() and "AN" or "AUS")
btn.TextColor3 = Color3.fromRGB(255, 255, 255)
btn.Font = Enum.Font.SourceSans
btn.TextSize = 16
btn.Parent = scrollFrame
local btnCorner = Instance.new("UICorner")
btnCorner.CornerRadius = UDim.new(0, 8)
btnCorner.Parent = btn
btn.MouseButton1Click:Connect(function()
setFunc(not getFunc())
btn.BackgroundColor3 = getFunc() and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(70, 70, 70)
btn.Text = text .. ": " .. (getFunc() and "AN" or "AUS")
end)
yPos = yPos + 40
end
local function addSlider(text, getFunc, setFunc, min, max)
local label = Instance.new("TextLabel")
label.Size = UDim2.new(1, -20, 0, 20)
label.Position = UDim2.new(0, 10, 0, yPos)
label.BackgroundTransparency = 1
label.TextColor3 = Color3.fromRGB(255, 255, 255)
label.Text = text .. ": " .. getFunc()
label.TextSize = 14
label.Font = Enum.Font.SourceSans
label.TextXAlignment = Enum.TextXAlignment.Left
label.Parent = scrollFrame
yPos = yPos + 20
local sliderBg = Instance.new("Frame")
sliderBg.Size = UDim2.new(1, -20, 0, 10)
sliderBg.Position = UDim2.new(0, 10, 0, yPos)
sliderBg.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
sliderBg.BorderSizePixel = 0
sliderBg.Parent = scrollFrame
local sliderBgCorner = Instance.new("UICorner")
sliderBgCorner.CornerRadius = UDim.new(0, 5)
sliderBgCorner.Parent = sliderBg
local sliderFill = Instance.new("Frame")
sliderFill.Size = UDim2.new((getFunc() - min) / (max - min), 0, 1, 0)
sliderFill.BackgroundColor3 = Color3.fromRGB(0, 150, 255)
sliderFill.BorderSizePixel = 0
sliderFill.Parent = sliderBg
local sliderFillCorner = Instance.new("UICorner")
sliderFillCorner.CornerRadius = UDim.new(0, 5)
sliderFillCorner.Parent = sliderFill
local dragActive = false
sliderBg.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragActive = true
end
end)
sliderBg.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragActive = false
end
end)
runService.RenderStepped:Connect(function()
if dragActive then
local mousePos = userInput:GetMouseLocation()
local absPos = sliderBg.AbsolutePosition
local absSize = sliderBg.AbsoluteSize
local percent = math.clamp((mousePos.X - absPos.X) / absSize.X, 0, 1)
local newValue = math.floor(min + (max - min) * percent)
setFunc(newValue)
label.Text = text .. ": " .. newValue
sliderFill.Size = UDim2.new(percent, 0, 1, 0)
end
end)
yPos = yPos + 20
end
local function addHealthbarButtons()
local label = Instance.new("TextLabel")
label.Size = UDim2.new(1, -20, 0, 20)
label.Position = UDim2.new(0, 10, 0, yPos)
label.BackgroundTransparency = 1
label.TextColor3 = Color3.fromRGB(255, 255, 255)
label.Text = "Healthbar Typ:"
label.TextSize = 14
label.Font = Enum.Font.SourceSans
label.TextXAlignment = Enum.TextXAlignment.Left
label.Parent = scrollFrame
yPos = yPos + 20
local sidebarBtn = Instance.new("TextButton")
sidebarBtn.Size = UDim2.new(0, 130, 0, 35)
sidebarBtn.Position = UDim2.new(0, 10, 0, yPos)
sidebarBtn.BackgroundColor3 = toggles.HEALTHBAR_TYPE == "SIDEBAR" and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(70, 70, 70)
sidebarBtn.Text = "SIDEBAR"
sidebarBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
sidebarBtn.Font = Enum.Font.SourceSans
sidebarBtn.TextSize = 14
sidebarBtn.Parent = scrollFrame
local sidebarCorner = Instance.new("UICorner")
sidebarCorner.CornerRadius = UDim.new(0, 8)
sidebarCorner.Parent = sidebarBtn
local downbarBtn = Instance.new("TextButton")
downbarBtn.Size = UDim2.new(0, 130, 0, 35)
downbarBtn.Position = UDim2.new(0, 150, 0, yPos)
downbarBtn.BackgroundColor3 = toggles.HEALTHBAR_TYPE == "DOWNBAR" and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(70, 70, 70)
downbarBtn.Text = "DOWNBAR"
downbarBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
downbarBtn.Font = Enum.Font.SourceSans
downbarBtn.TextSize = 14
downbarBtn.Parent = scrollFrame
local downbarCorner = Instance.new("UICorner")
downbarCorner.CornerRadius = UDim.new(0, 8)
downbarCorner.Parent = downbarBtn
sidebarBtn.MouseButton1Click:Connect(function()
toggles.HEALTHBAR_TYPE = "SIDEBAR"
sidebarBtn.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
downbarBtn.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
end)
downbarBtn.MouseButton1Click:Connect(function()
toggles.HEALTHBAR_TYPE = "DOWNBAR"
downbarBtn.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
sidebarBtn.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
end)
yPos = yPos + 45
end
-- MENU ELEMENTE
addLabel("=== ESP EINSTELLUNGEN ===")
addCheckbox("ESP", function() return toggles.ESP end, function(v) toggles.ESP = v end)
addCheckbox("Nametags", function() return toggles.NAMETAGS end, function(v) toggles.NAMETAGS = v end)
addCheckbox("Healthbar", function() return toggles.HEALTHBAR end, function(v) toggles.HEALTHBAR = v end)
addHealthbarButtons()
addCheckbox("Snap Lines", function() return toggles.SNAP_LINES end, function(v) toggles.SNAP_LINES = v end)
addSlider("ESP Max Distance", function() return toggles.ESP_MAX_DISTANCE end, function(v) toggles.ESP_MAX_DISTANCE = v end, 100, 2000)
addLabel("=== AIMBOT EINSTELLUNGEN ===")
addCheckbox("Aimbot", function() return toggles.AIMBOT end, function(v) toggles.AIMBOT = v end)
addSlider("Aimbot FOV", function() return toggles.AIM_FOV end, function(v) toggles.AIM_FOV = v end, 30, 300)
addSlider("Aimbot Smoothness", function() return toggles.AIM_SMOOTHNESS end, function(v) toggles.AIM_SMOOTHNESS = v end, 1, 10)
addCheckbox("Visible Check", function() return toggles.AIM_VISIBLE_CHECK end, function(v) toggles.AIM_VISIBLE_CHECK = v end)
addSlider("Aimbot Max Distance", function() return toggles.AIM_MAX_DISTANCE end, function(v) toggles.AIM_MAX_DISTANCE = v end, 100, 2000)
addLabel("=== FLY EINSTELLUNGEN ===")
addCheckbox("Fly", function() return toggles.FLY end, function(v) toggles.FLY = v end)
addSlider("Fly Speed", function() return toggles.FLY_SPEED end, function(v) toggles.FLY_SPEED = v end, 10, 200)
addLabel("=== WIDGET ===")
addCheckbox("Widget", function() return toggles.WIDGET end, function(v) toggles.WIDGET = v widget.Visible = v end)
addCheckbox("FPS Counter", function() return toggles.SHOW_FPS end, function(v) toggles.SHOW_FPS = v fpsLabel.Visible = v end)
scrollFrame.CanvasSize = UDim2.new(0, 0, 0, yPos + 20)
-- ===== FOV KREIS =====
local fovCircle = Instance.new("Frame")
fovCircle.Name = "FOVCircle"
fovCircle.Size = UDim2.new(0, toggles.AIM_FOV * 2, 0, toggles.AIM_FOV * 2)
fovCircle.Position = UDim2.new(0.5, -toggles.AIM_FOV, 0.5, -toggles.AIM_FOV)
fovCircle.BackgroundTransparency = 1
fovCircle.BorderSizePixel = 0
fovCircle.Visible = toggles.AIMBOT
fovCircle.Parent = screenGui
local circleCorner = Instance.new("UICorner")
circleCorner.CornerRadius = UDim.new(1, 0)
circleCorner.Parent = fovCircle
local circleStroke = Instance.new("UIStroke")
circleStroke.Color = Color3.new(1, 1, 1)
circleStroke.Thickness = 2
circleStroke.Transparency = 0.2
circleStroke.Parent = fovCircle
runService.RenderStepped:Connect(function()
fovCircle.Size = UDim2.new(0, toggles.AIM_FOV * 2, 0, toggles.AIM_FOV * 2)
fovCircle.Position = UDim2.new(0.5, -toggles.AIM_FOV, 0.5, -toggles.AIM_FOV)
fovCircle.Visible = toggles.AIMBOT
end)
-- ===== ESP LOGIK =====
local espGui = Instance.new("ScreenGui")
espGui.Name = "ESP"
espGui.ResetOnSpawn = false
espGui.Parent = player:WaitForChild("PlayerGui")
local function createESP(playerName)
local frame = Instance.new("Frame")
frame.Name = playerName .. "_ESP"
frame.Size = UDim2.new(0, 120, 0, 70)
frame.BackgroundTransparency = 1
frame.Parent = espGui
local nameLabel = Instance.new("TextLabel")
nameLabel.Name = "Name"
nameLabel.Size = UDim2.new(1, 0, 0, 20)
nameLabel.Position = UDim2.new(0, 0, 0, -25)
nameLabel.BackgroundTransparency = 1
nameLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
nameLabel.Text = playerName
nameLabel.TextSize = 16
nameLabel.Font = Enum.Font.SourceSansBold
nameLabel.Parent = frame
local snapLine = Instance.new("Frame")
snapLine.Name = "SnapLine"
snapLine.Size = UDim2.new(0, 2, 0, 100)
snapLine.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
snapLine.BorderSizePixel = 0
snapLine.Visible = false
snapLine.Parent = frame
local sidebarBg = Instance.new("Frame")
sidebarBg.Name = "SidebarBg"
sidebarBg.Size = UDim2.new(0, 12, 0, 40)
sidebarBg.Position = UDim2.new(0.5, -26, 0.5, -20)
sidebarBg.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
sidebarBg.BorderSizePixel = 0
sidebarBg.Visible = false
sidebarBg.Parent = frame
local sidebarBgCorner = Instance.new("UICorner")
sidebarBgCorner.CornerRadius = UDim.new(0, 4)
sidebarBgCorner.Parent = sidebarBg
local sidebarBar = Instance.new("Frame")
sidebarBar.Name = "SidebarBar"
sidebarBar.Size = UDim2.new(1, -4, 1, -4)
sidebarBar.Position = UDim2.new(0, 2, 1, -2)
sidebarBar.AnchorPoint = Vector2.new(0, 1)
sidebarBar.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
sidebarBar.BorderSizePixel = 0
sidebarBar.Parent = sidebarBg
local downbarBg = Instance.new("Frame")
downbarBg.Name = "DownbarBg"
downbarBg.Size = UDim2.new(0, 50, 0, 8)
downbarBg.Position = UDim2.new(0.5, -25, 0, 20)
downbarBg.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
downbarBg.BorderSizePixel = 0
downbarBg.Visible = false
downbarBg.Parent = frame
local downbarBgCorner = Instance.new("UICorner")
downbarBgCorner.CornerRadius = UDim.new(0, 4)
downbarBgCorner.Parent = downbarBg
local downbarBar = Instance.new("Frame")
downbarBar.Name = "DownbarBar"
downbarBar.Size = UDim2.new(1, -4, 1, -4)
downbarBar.Position = UDim2.new(0, 2, 0, 2)
downbarBar.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
downbarBar.BorderSizePixel = 0
downbarBar.Parent = downbarBg
return frame
end
-- ESP Update
runService.RenderStepped:Connect(function()
if not authenticated then return end
-- ESP ein/aus
for _, gui in ipairs(espGui:GetChildren()) do
if gui.Name:find("_ESP") then
gui.Visible = toggles.ESP
end
end
if not toggles.ESP then return end
for _, otherPlayer in ipairs(game:GetService("Players"):GetPlayers()) do
if otherPlayer ~= player then
local char = otherPlayer.Character
if char and char:FindFirstChild("Humanoid") and char.Humanoid.Health > 0 then
local rootPart = char:FindFirstChild("HumanoidRootPart")
if rootPart then
local distance = (rootPart.Position - camera.CFrame.Position).Magnitude
if distance <= toggles.ESP_MAX_DISTANCE then
local screenPos, onScreen = camera:WorldToScreenPoint(rootPart.Position)
if onScreen then
local gui = espGui:FindFirstChild(otherPlayer.Name .. "_ESP")
if not gui then
gui = createESP(otherPlayer.Name)
end
gui.Position = UDim2.new(0, screenPos.X - 60, 0, screenPos.Y - 70)
local nameLabel = gui:FindFirstChild("Name")
if nameLabel then
nameLabel.Visible = toggles.NAMETAGS
end
local snapLine = gui:FindFirstChild("SnapLine")
if snapLine then
snapLine.Visible = toggles.SNAP_LINES
if toggles.SNAP_LINES then
snapLine.Size = UDim2.new(0, 2, 0, screenPos.Y)
snapLine.Position = UDim2.new(0, 60, 0, -screenPos.Y)
end
end
local healthPercent = char.Humanoid.Health / char.Humanoid.MaxHealth
local healthColor = healthPercent < 0.3 and Color3.fromRGB(255, 0, 0) or
healthPercent < 0.5 and Color3.fromRGB(255, 255, 0) or
Color3.fromRGB(0, 255, 0)
local sidebarBg = gui:FindFirstChild("SidebarBg")
local downbarBg = gui:FindFirstChild("DownbarBg")
if toggles.HEALTHBAR and toggles.HEALTHBAR_TYPE == "SIDEBAR" then
sidebarBg.Visible = true
downbarBg.Visible = false
local sidebarBar = sidebarBg:FindFirstChild("SidebarBar")
if sidebarBar then
sidebarBar.Size = UDim2.new(1, -4, healthPercent, -4)
sidebarBar.BackgroundColor3 = healthColor
end
elseif toggles.HEALTHBAR and toggles.HEALTHBAR_TYPE == "DOWNBAR" then
sidebarBg.Visible = false
downbarBg.Visible = true
local downbarBar = downbarBg:FindFirstChild("DownbarBar")
if downbarBar then
downbarBar.Size = UDim2.new(healthPercent, -4, 1, -4)
downbarBar.BackgroundColor3 = healthColor
end
else
if sidebarBg then sidebarBg.Visible = false end
if downbarBg then downbarBg.Visible = false end
end
end
end
end
end
end
end
-- Alte ESPs löschen
for _, gui in ipairs(espGui:GetChildren()) do
if gui.Name:find("_ESP") then
local playerName = gui.Name:gsub("_ESP", "")
local playerExists = false
for _, otherPlayer in ipairs(game:GetService("Players"):GetPlayers()) do
if otherPlayer.Name == playerName and otherPlayer.Character and otherPlayer.Character:FindFirstChild("Humanoid") and otherPlayer.Character.Humanoid.Health > 0 then
playerExists = true
break
end
end
if not playerExists then
gui:Destroy()
end
end
end
end)
-- ===== AIMBOT LOGIK =====
local currentTarget = nil
local function getLiveTargets()
local targets = {}
for _, otherPlayer in ipairs(game:GetService("Players"):GetPlayers()) do
if otherPlayer ~= player then
local char = otherPlayer.Character
if char and char:FindFirstChild("Humanoid") and char.Humanoid.Health > 0 then
if char:FindFirstChild("Head") then
table.insert(targets, otherPlayer)
end
end
end
end
return targets
end
local function getClosestTarget()
local closestPlayer = nil
local closestDistance = toggles.AIM_FOV + 1
for _, targetPlayer in ipairs(getLiveTargets()) do
local head = targetPlayer.Character:FindFirstChild("Head")
if head then
local distance = (head.Position - camera.CFrame.Position).Magnitude
if distance <= toggles.AIM_MAX_DISTANCE then
local screenPos, onScreen = camera:WorldToScreenPoint(head.Position)
if onScreen then
if not toggles.AIM_VISIBLE_CHECK or isPlayerVisible(head.Position) then
local center = Vector2.new(camera.ViewportSize.X / 2, camera.ViewportSize.Y / 2)
local fovDistance = (Vector2.new(screenPos.X, screenPos.Y) - center).Magnitude
if fovDistance <= toggles.AIM_FOV and fovDistance < closestDistance then
closestDistance = fovDistance
closestPlayer = targetPlayer
end
end
end
end
end
end
return closestPlayer
end
runService.RenderStepped:Connect(function()
if not authenticated then return end
if userInput:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) and toggles.AIMBOT then
if currentTarget then
local char = currentTarget.Character
if not char or not char:FindFirstChild("Humanoid") or char.Humanoid.Health <= 0 then
currentTarget = nil
end
end
if not currentTarget then
currentTarget = getClosestTarget()
end
if currentTarget and currentTarget.Character and currentTarget.Character:FindFirstChild("Head") then
local head = currentTarget.Character.Head
local targetCFrame = CFrame.new(camera.CFrame.Position, head.Position)
if toggles.AIM_SMOOTHNESS > 1 then
local smoothFactor = toggles.AIM_SMOOTHNESS / 20
camera.CFrame = camera.CFrame:Lerp(targetCFrame, smoothFactor)
else
camera.CFrame = targetCFrame
end
end
else
currentTarget = nil
end
end)
-- ===== FLY LOGIK =====
local flyConnection = nil
local function startFly()
if flyConnection then flyConnection:Disconnect() end
local bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.Velocity = Vector3.new(0, 0, 0)
bodyVelocity.MaxForce = Vector3.new(4000, 4000, 4000)
flyConnection = runService.RenderStepped:Connect(function()
if not authenticated then return end
if toggles.FLY and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
if not bodyVelocity.Parent then
bodyVelocity.Parent = player.Character.HumanoidRootPart
end
local moveDirection = Vector3.new(0, 0, 0)
if userInput:IsKeyDown(Enum.KeyCode.W) then
moveDirection = moveDirection + camera.CFrame.LookVector
end
if userInput:IsKeyDown(Enum.KeyCode.S) then
moveDirection = moveDirection - camera.CFrame.LookVector
end
if userInput:IsKeyDown(Enum.KeyCode.A) then
moveDirection = moveDirection - camera.CFrame.RightVector
end
if userInput:IsKeyDown(Enum.KeyCode.D) then
moveDirection = moveDirection + camera.CFrame.RightVector
end
if userInput:IsKeyDown(Enum.KeyCode.Space) then
moveDirection = moveDirection + Vector3.new(0, 1, 0)
end
if userInput:IsKeyDown(Enum.KeyCode.LeftControl) then
moveDirection = moveDirection + Vector3.new(0, -1, 0)
end
if moveDirection.Magnitude > 0 then
moveDirection = moveDirection.Unit * toggles.FLY_SPEED
end
bodyVelocity.Velocity = moveDirection
player.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Physics)
else
if bodyVelocity.Parent then
bodyVelocity:Destroy()
end
end
end)
end
startFly()
-- GUI initial sichtbar
fpsLabel.Visible = toggles.SHOW_FPS
print("=== ULTIMATE MENU GELADEN ===")
print("Key: 99")
print("Menu-Taste: frei wählbar")
print("Menu ist verschiebbar")
print("ESP funktioniert")
print("Aimbot mit Rechtsklick")
print("Fly wie /fly")No comments yet for this script.



