What's new
Heapleak - Scripthub

Get the most out of HeapLeak by creating a free account! Once signed in, you’ll gain full access to restricted content, be able to share your own scripts, and participate in our member-only discussions.

inf exp, auto rebith

Version / Update: v1.0.0
Download / Script Link
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local TeleportService = game:GetService("TeleportService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local LocalPlayer = Players.LocalPlayer

local WalkRemote = ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("StepTaken")
local RebirthRemote = ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("RequestRebirth")

local infExpEnabled = false
local autoRebirthEnabled = false
local connectionInf = nil
local connectionRebirth = nil
local menuKey = Enum.KeyCode.Insert
local isSettingKey = false

local function startInfExp()
if connectionInf then return end
connectionInf = RunService.Heartbeat:Connect(function()
if infExpEnabled then
WalkRemote:FireServer(math.huge)
end
end)
end

local function stopInfExp()
if connectionInf then
connectionInf:Disconnect()
connectionInf = nil
end
end

local function performRebirth()
pcall(function()
RebirthRemote:FireServer()
end)
end

local function startAutoRebirth()
if connectionRebirth then return end
connectionRebirth = RunService.Heartbeat:Connect(function()
if autoRebirthEnabled then
performRebirth()
end
end)
end

local function stopAutoRebirth()
if connectionRebirth then
connectionRebirth:Disconnect()
connectionRebirth = nil
end
end

local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.CoreGui
screenGui.ResetOnSpawn = false
screenGui.Name = "HyperSpeedHub"

local mainFrame = Instance.new("Frame", screenGui)
mainFrame.Size = UDim2.new(0, 220, 0, 200)
mainFrame.Position = UDim2.new(0.5, -110, 0.5, -100)
mainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 35)
Instance.new("UICorner", mainFrame).CornerRadius = UDim.new(0, 8)
mainFrame.Active = true
mainFrame.Draggable = true

local title = Instance.new("TextLabel", mainFrame)
title.Size = UDim2.new(1, 0, 0, 30)
title.BackgroundColor3 = Color3.fromRGB(35, 35, 45)
title.Text = "Hyper Speed Runner"
title.Font = Enum.Font.GothamBold
title.TextSize = 14
title.TextColor3 = Color3.new(1, 1, 1)
Instance.new("UICorner", title).CornerRadius = UDim.new(0, 8)

local toggleBtn = Instance.new("TextButton", mainFrame)
toggleBtn.Size = UDim2.new(0, 160, 0, 30)
toggleBtn.Position = UDim2.new(0.5, -80, 0, 40)
toggleBtn.Text = "Inf XP: OFF"
toggleBtn.Font = Enum.Font.Gotham
toggleBtn.TextSize = 14
toggleBtn.BackgroundColor3 = Color3.fromRGB(170, 0, 0)
toggleBtn.TextColor3 = Color3.new(1, 1, 1)
Instance.new("UICorner", toggleBtn).CornerRadius = UDim.new(0, 5)

local rebirthBtn = Instance.new("TextButton", mainFrame)
rebirthBtn.Size = UDim2.new(0, 160, 0, 30)
rebirthBtn.Position = UDim2.new(0.5, -80, 0, 80)
rebirthBtn.Text = "Auto Rebirth: OFF"
rebirthBtn.Font = Enum.Font.Gotham
rebirthBtn.TextSize = 14
rebirthBtn.BackgroundColor3 = Color3.fromRGB(170, 0, 0)
rebirthBtn.TextColor3 = Color3.new(1, 1, 1)
Instance.new("UICorner", rebirthBtn).CornerRadius = UDim.new(0, 5)

local keyBtn = Instance.new("TextButton", mainFrame)
keyBtn.Size = UDim2.new(0, 160, 0, 30)
keyBtn.Position = UDim2.new(0.5, -80, 0, 120)
keyBtn.Text = "Menu Key: Insert"
keyBtn.Font = Enum.Font.Gotham
keyBtn.TextSize = 12
keyBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 60)
keyBtn.TextColor3 = Color3.new(1, 1, 1)
Instance.new("UICorner", keyBtn).CornerRadius = UDim.new(0, 5)

local rejoinBtn = Instance.new("TextButton", mainFrame)
rejoinBtn.Size = UDim2.new(0, 160, 0, 30)
rejoinBtn.Position = UDim2.new(0.5, -80, 0, 160)
rejoinBtn.Text = "Rejoin"
rejoinBtn.Font = Enum.Font.Gotham
rejoinBtn.TextSize = 14
rejoinBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 60)
rejoinBtn.TextColor3 = Color3.new(1, 1, 1)
Instance.new("UICorner", rejoinBtn).CornerRadius = UDim.new(0, 5)

local credit = Instance.new("TextLabel", mainFrame)
credit.Size = UDim2.new(1, 0, 0, 20)
credit.Position = UDim2.new(0, 0, 1, -20)
credit.BackgroundTransparency = 1
credit.Text = "by NIKI"
credit.Font = Enum.Font.Gotham
credit.TextSize = 12
credit.TextColor3 = Color3.fromRGB(170, 170, 170)

toggleBtn.MouseButton1Click:Connect(function()
infExpEnabled = not infExpEnabled
toggleBtn.Text = "Inf XP: " .. (infExpEnabled and "ON" or "OFF")
toggleBtn.BackgroundColor3 = infExpEnabled and Color3.fromRGB(0, 170, 0) or Color3.fromRGB(170, 0, 0)
if infExpEnabled then
startInfExp()
else
stopInfExp()
end
end)

rebirthBtn.MouseButton1Click:Connect(function()
autoRebirthEnabled = not autoRebirthEnabled
rebirthBtn.Text = "Auto Rebirth: " .. (autoRebirthEnabled and "ON" or "OFF")
rebirthBtn.BackgroundColor3 = autoRebirthEnabled and Color3.fromRGB(0, 170, 0) or Color3.fromRGB(170, 0, 0)
if autoRebirthEnabled then
startAutoRebirth()
else
stopAutoRebirth()
end
end)

keyBtn.MouseButton1Click:Connect(function()
keyBtn.Text = "Press any key..."
isSettingKey = true
end)

rejoinBtn.MouseButton1Click:Connect(function()
TeleportService:Teleport(game.PlaceId, LocalPlayer)
end)

UserInputService.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then return end

if isSettingKey then
if input.KeyCode ~= Enum.KeyCode.Unknown then
menuKey = input.KeyCode
keyBtn.Text = "Menu Key: " .. input.KeyCode.Name
isSettingKey = false
elseif input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.MouseButton2 then
menuKey = input.UserInputType
keyBtn.Text = "Menu Key: " .. tostring(input.UserInputType):gsub("Enum.UserInputType.", "")
isSettingKey = false
end
return
end

if input.KeyCode == menuKey or input.UserInputType == menuKey then
mainFrame.Visible = not mainFrame.Visible
end
end)

print("Hyper Speed Runner Hub loaded. Press Insert (or your custom key) to open menu.")
[ View More ]
f0f88d28-d5ec-4f43-bead-958aca3de626.webp


join my discord server for more scripts!!!
 
Back
Top