
Key Required

local Players = game:GetService("Players")
local Workspace = game:GetService("Workspace")
local CoreGui = game:GetService("CoreGui")
local LocalPlayer = Players.LocalPlayer
repeat task.wait() until LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
local function getRoot() return LocalPlayer.Character:WaitForChild("HumanoidRootPart") end
local gui = Instance.new("ScreenGui", CoreGui)
gui.Name = "RedFoxAutoTP"
local frame = Instance.new("Frame", gui)
frame.Size = UDim2.new(0, 320, 0, 180)
frame.Position = UDim2.new(0, 100, 0, 100)
frame.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
frame.Active = true
frame.Draggable = true
Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 8)
local title = Instance.new("TextLabel", frame)
title.Size = UDim2.new(1, 0, 0, 30)
title.Text = "RedFox Auto TP Hub"
title.TextColor3 = Color3.fromRGB(255, 0, 0)
title.Font = Enum.Font.SourceSansBold
title.TextSize = 20
title.BackgroundTransparency = 1
local tpButton = Instance.new("TextButton", frame)
tpButton.Size = UDim2.new(0, 280, 0, 40)
tpButton.Position = UDim2.new(0.5, -140, 0, 40)
tpButton.Text = "Auto TP (No Prestige)"
tpButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
tpButton.TextColor3 = Color3.new(1, 1, 1)
tpButton.Font = Enum.Font.SourceSans
tpButton.TextSize = 16
Instance.new("UICorner", tpButton).CornerRadius = UDim.new(0, 6)
local loopButton = Instance.new("TextButton", frame)
loopButton.Size = UDim2.new(0, 280, 0, 40)
loopButton.Position = UDim2.new(0.5, -140, 0, 100)
loopButton.Text = "Auto TP + Prestige Loop"
loopButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
loopButton.TextColor3 = Color3.new(1, 1, 1)
loopButton.Font = Enum.Font.SourceSans
loopButton.TextSize = 16
Instance.new("UICorner", loopButton).CornerRadius = UDim.new(0, 6)
local tpRunning = false
local loopRunning = false
local function getStageFolders()
local list = {}
local Stages = Workspace:FindFirstChild("Stages")
if not Stages then return list end
for _, folder in pairs(Stages:GetChildren()) do
if folder:IsA("Folder") and tonumber(folder.Name) then
table.insert(list, folder)
end
end
table.sort(list, function(a, b)
return tonumber(a.Name) < tonumber(b.Name)
end)
return list
end
local function getCurrentStage()
local stats = LocalPlayer:FindFirstChild("leaderstats")
if stats and stats:FindFirstChild("Stage") then
return tonumber(stats.Stage.Value) or 1
end
return 1
end
local function teleportFrom(stage)
local folders = getStageFolders()
for _, folder in ipairs(folders) do
if not tpRunning and not loopRunning then break end
local stageNum = tonumber(folder.Name)
if stageNum and stageNum >= stage then
local spawn = folder:FindFirstChild("Spawn")
if spawn and spawn:IsA("BasePart") then
getRoot().CFrame = spawn.CFrame + Vector3.new(0, 5, 0)
task.wait(.3)
end
end
end
if tpRunning or loopRunning then
getRoot().CFrame = CFrame.new(
-1129.43237, 539.133972, 511.508728,
1, 0, 0,
0, 1, 0,
0, 0, 1
)
task.wait(5)
end
end
local function runAutoTP()
tpRunning = true
tpButton.Text = "Stop Auto TP"
tpButton.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
local start = getCurrentStage()
teleportFrom(start)
tpButton.Text = "Auto TP (No Prestige)"
tpButton.BackgroundColor3 = Color3.fromRGB(0, 180, 0)
tpRunning = false
end
local function runLoop()
loopRunning = true
loopButton.Text = "Stop Loop"
loopButton.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
while loopRunning do
local start = getCurrentStage()
teleportFrom(start)
repeat task.wait(1) until getCurrentStage() <= 5 or not loopRunning
end
loopButton.Text = "Auto TP + Final TP Loop"
loopButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
end
tpButton.MouseButton1Click:Connect(function()
if loopRunning then return end
tpRunning = not tpRunning
if tpRunning then
task.spawn(runAutoTP)
else
tpButton.Text = "Auto TP (No Prestige)"
tpButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
end
end)
loopButton.MouseButton1Click:Connect(function()
if tpRunning then return end
loopRunning = not loopRunning
if loopRunning then
task.spawn(runLoop)
else
loopButton.Text = "Auto TP + Final TP Loop"
loopButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
end
end)
LocalPlayer.CharacterAdded:Connect(function()
task.wait(1)
if tpRunning then task.spawn(runAutoTP) end
if loopRunning then task.spawn(runLoop) end
end)No comments yet for this script.