Cheat hub
Key RequiredUniversal

Cheat hub

Universal ScriptBacongod112Bacongod112 11.1K views 285 executesUpdated Nov 9, 2024
5.0/ 5(2 votes)
20100% Positive
Lua Script•299 lines (11021 chars)
-- Create the ScreenGui
local player = game.Players.LocalPlayer
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "WalkSpeedJumpGui"
screenGui.Parent = player:WaitForChild("PlayerGui")

-- Create the Frame (white box) to contain the elements
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 600, 0, 400)
frame.Position = UDim2.new(0.5, -300, 0.5, -200)
frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
frame.BorderSizePixel = 2
frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
frame.Parent = screenGui

-- Reopen Button (initially hidden)
local reopenButton = Instance.new("TextButton")
reopenButton.Size = UDim2.new(0, 100, 0, 30)
reopenButton.Position = UDim2.new(0, 10, 0, 10)
reopenButton.Text = "Reopen GUI"
reopenButton.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
reopenButton.TextScaled = true
reopenButton.Visible = false
reopenButton.Parent = screenGui

-- Close Button
local closeButton = Instance.new("TextButton")
closeButton.Size = UDim2.new(0, 30, 0, 30)
closeButton.Position = UDim2.new(1, -40, 0, 10)
closeButton.Text = "X"
closeButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
closeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
closeButton.Font = Enum.Font.SourceSansBold
closeButton.TextScaled = true
closeButton.Parent = frame

-- Speed and jump input UI
local speedInput = Instance.new("TextBox")
speedInput.Size = UDim2.new(0, 60, 0, 30)
speedInput.Position = UDim2.new(0, 10, 0, 50)
speedInput.PlaceholderText = "Speed"
speedInput.TextScaled = true
speedInput.Parent = frame

local setSpeedButton = Instance.new("TextButton")
setSpeedButton.Size = UDim2.new(0, 60, 0, 30)
setSpeedButton.Position = UDim2.new(0, 80, 0, 50)
setSpeedButton.Text = "Set"
setSpeedButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
setSpeedButton.TextScaled = true
setSpeedButton.Parent = frame

local jumpInput = Instance.new("TextBox")
jumpInput.Size = UDim2.new(0, 60, 0, 30)
jumpInput.Position = UDim2.new(0, 10, 0, 100)
jumpInput.PlaceholderText = "Jump"
jumpInput.TextScaled = true
jumpInput.Parent = frame

local setJumpButton = Instance.new("TextButton")
setJumpButton.Size = UDim2.new(0, 60, 0, 30)
setJumpButton.Position = UDim2.new(0, 80, 0, 100)
setJumpButton.Text = "Set"
setJumpButton.BackgroundColor3 = Color3.fromRGB(0, 255, 170)
setJumpButton.TextScaled = true
setJumpButton.Parent = frame

-- Other feature buttons
local infiniteJumpButton = Instance.new("TextButton")
infiniteJumpButton.Size = UDim2.new(0, 120, 0, 30)
infiniteJumpButton.Position = UDim2.new(0, 160, 0, 50)
infiniteJumpButton.Text = "Toggle Infinite Jumps"
infiniteJumpButton.BackgroundColor3 = Color3.fromRGB(255, 255, 0)
infiniteJumpButton.TextScaled = true
infiniteJumpButton.Parent = frame

local xrayButton = Instance.new("TextButton")
xrayButton.Size = UDim2.new(0, 120, 0, 30)
xrayButton.Position = UDim2.new(0, 160, 0, 100)
xrayButton.Text = "Toggle X-Ray"
xrayButton.BackgroundColor3 = Color3.fromRGB(128, 128, 255)
xrayButton.TextScaled = true
xrayButton.Parent = frame

local teleportButton = Instance.new("TextButton")
teleportButton.Size = UDim2.new(0, 120, 0, 30)
teleportButton.Position = UDim2.new(0, 300, 0, 50)
teleportButton.Text = "Get Teleport Tool"
teleportButton.BackgroundColor3 = Color3.fromRGB(0, 255, 255)
teleportButton.TextScaled = true
teleportButton.Parent = frame

local invisibilityButton = Instance.new("TextButton")
invisibilityButton.Size = UDim2.new(0, 120, 0, 30)
invisibilityButton.Position = UDim2.new(0, 450, 0, 50)
invisibilityButton.Text = "Toggle Invisibility"
invisibilityButton.BackgroundColor3 = Color3.fromRGB(128, 255, 128)
invisibilityButton.TextScaled = true
invisibilityButton.Parent = frame

-- Aimbot Button
local aimbotButton = Instance.new("TextButton")
aimbotButton.Size = UDim2.new(0, 120, 0, 30)
aimbotButton.Position = UDim2.new(0, 450, 0, 100)
aimbotButton.Text = "Toggle Aimbot"
aimbotButton.BackgroundColor3 = Color3.fromRGB(255, 128, 0)
aimbotButton.TextScaled = true
aimbotButton.Parent = frame

-- Mini Map Toggle Button
local miniMapToggleButton = Instance.new("TextButton")
miniMapToggleButton.Size = UDim2.new(0, 120, 0, 30)
miniMapToggleButton.Position = UDim2.new(0, 450, 0, 150)
miniMapToggleButton.Text = "Toggle Mini Map"
miniMapToggleButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
miniMapToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
miniMapToggleButton.TextScaled = true
miniMapToggleButton.Parent = frame

-- Mini Map Frame
local miniMapFrame = Instance.new("Frame")
miniMapFrame.Size = UDim2.new(0, 150, 0, 150)
miniMapFrame.Position = UDim2.new(0, 10, 0.5, -75)
miniMapFrame.BackgroundColor3 = Color3.fromRGB(200, 200, 200)
miniMapFrame.BorderSizePixel = 2
miniMapFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
miniMapFrame.Visible = false
miniMapFrame.Parent = screenGui

-- Variables for features
local infiniteJumpEnabled = false
local xrayEnabled = false
local invisibilityEnabled = false
local miniMapEnabled = false
local teleportTool = nil
local aimbotEnabled = false

-- Functions for toggles and features
setSpeedButton.MouseButton1Click:Connect(function()
    local speed = tonumber(speedInput.Text)
    if speed then
        player.Character.Humanoid.WalkSpeed = speed
    end
end)

setJumpButton.MouseButton1Click:Connect(function()
    local jumpHeight = tonumber(jumpInput.Text)
    if jumpHeight then
        player.Character.Humanoid.JumpPower = jumpHeight
    end
end)

infiniteJumpButton.MouseButton1Click:Connect(function()
    infiniteJumpEnabled = not infiniteJumpEnabled
end)

game:GetService("UserInputService").JumpRequest:Connect(function()
    if infiniteJumpEnabled then
        player.Character:FindFirstChildOfClass("Humanoid"):ChangeState("Jumping")
    end
end)

xrayButton.MouseButton1Click:Connect(function()
    xrayEnabled = not xrayEnabled
end)

teleportButton.MouseButton1Click:Connect(function()
    if teleportTool then
        teleportTool:Destroy()
    end
    teleportTool = Instance.new("Tool")
    teleportTool.Name = "TeleportTool"
    teleportTool.RequiresHandle = false
    teleportTool.Activated:Connect(function()
        local mouse = player:GetMouse()
        local targetPosition = mouse.Hit.p
        player.Character.HumanoidRootPart.CFrame = CFrame.new(targetPosition)
    end)
    teleportTool.Parent = player.Backpack
end)

invisibilityButton.MouseButton1Click:Connect(function()
    invisibilityEnabled = not invisibilityEnabled
    if invisibilityEnabled then
        for _, part in pairs(player.Character:GetChildren()) do
            if part:IsA("BasePart") then
                part.LocalTransparencyModifier = 1
            end
        end
    else
        for _, part in pairs(player.Character:GetChildren()) do
            if part:IsA("BasePart") then
                part.LocalTransparencyModifier = 0
            end
        end
    end
end)

aimbotButton.MouseButton1Click:Connect(function()
    aimbotEnabled = not aimbotEnabled
end)

-- Aimbot Functionality: Point camera at nearest player
game:GetService("RunService").RenderStepped:Connect(function()
    if aimbotEnabled then
        local targetPlayer = nil
        local closestDistance = math.huge
        for _, otherPlayer in pairs(game.Players:GetPlayers()) do
            if otherPlayer ~= player and otherPlayer.Character and otherPlayer.Character:FindFirstChild("HumanoidRootPart") then
                local distance = (player.Character.HumanoidRootPart.Position - otherPlayer.Character.HumanoidRootPart.Position).magnitude
                if distance < closestDistance then
                    closestDistance = distance
                    targetPlayer = otherPlayer
                end
            end
        end

        if targetPlayer then
            local camera = workspace.CurrentCamera
            local targetPosition = targetPlayer.Character.HumanoidRootPart.Position
            local lookAt = CFrame.new(camera.CFrame.Position, targetPosition)
            camera.CFrame = lookAt
        end
    end
end)

-- Mini Map Update Function
local function updateMiniMap()
    if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
        miniMapFrame:ClearAllChildren() -- Clear previous indicators

        -- Player Indicator
        local playerPosition = player.Character.HumanoidRootPart.Position
        local playerIndicator = Instance.new("Frame")
        playerIndicator.Size = UDim2.new(0, 10, 0, 10)
        playerIndicator.Position = UDim2.new(0, (playerPosition.X % 600) / 4, 0, (playerPosition.Z % 600) / 4)
        playerIndicator.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
        playerIndicator.Parent = miniMapFrame

        -- Other players' indicators
        for _, otherPlayer in pairs(game.Players:GetPlayers()) do
            if otherPlayer ~= player and otherPlayer.Character and otherPlayer.Character:FindFirstChild("HumanoidRootPart") then
                local otherPlayerPosition = otherPlayer.Character.HumanoidRootPart.Position
                local indicator = Instance.new("Frame")
                indicator.Size = UDim2.new(0, 10, 0, 10)
                indicator.Position = UDim2.new(0, (otherPlayerPosition.X % 600) / 4, 0, (otherPlayerPosition.Z % 600) / 4)
                indicator.BackgroundColor3 = Color3.fromRGB(0, 0, 0) -- Other players in black
                indicator.Parent = miniMapFrame
            end
        end
    end
end

game:GetService("RunService").RenderStepped:Connect(function()
    if miniMapEnabled and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
        updateMiniMap()
    end
end)

miniMapToggleButton.MouseButton1Click:Connect(function()
    miniMapEnabled = not miniMapEnabled
    miniMapFrame.Visible = miniMapEnabled
end)

-- Close and Reopen buttons functionality
closeButton.MouseButton1Click:Connect(function()
    frame.Visible = false
    reopenButton.Visible = true
end)

reopenButton.MouseButton1Click:Connect(function()
    frame.Visible = true
    reopenButton.Visible = false
end)

-- X-Ray Effect Function
game:GetService("RunService").RenderStepped:Connect(function()
    if xrayEnabled then
        for _, otherPlayer in pairs(game.Players:GetPlayers()) do
            if otherPlayer.Character and otherPlayer.Character:FindFirstChild("HumanoidRootPart") then
                local highlight = Instance.new("Highlight")
                highlight.Adornee = otherPlayer.Character
                highlight.FillColor = Color3.fromRGB(255, 0, 0) -- Highlight color for X-ray
                highlight.FillTransparency = 0.5 -- Make it semi-transparent
                highlight.Parent = otherPlayer.Character
            end
        end
    else
        for _, otherPlayer in pairs(game.Players:GetPlayers()) do
            if otherPlayer.Character then
                for _, highlight in pairs(otherPlayer.Character:GetChildren()) do
                    if highlight:IsA("Highlight") then
                        highlight:Destroy()
                    end
                end
            end
        end
    end
end)

Features & Information

You can set your speed jump height mini map aim bot x ray alot of stuff

Community Comments (1)

LunarScriptsLunarScriptsNov 12, 2024(edited)

Nice!

More Scripts for Universal Scripts