local TweenService = game:GetService("TweenService")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
local teleports = {
{name = "1 Hour", position = CFrame.new(13.154, 11.675, -227.052)},
{name = "3 Hours", position = CFrame.new(52.137, 13.77, -223.167)},
{name = "24 Hours Obby", position = CFrame.new(88.882, 10.344, -300.194)},
{name = "3 Days", position = CFrame.new(125.62, 21.793, -452.492)},
{name = "5 Days", position = CFrame.new(163.542, 28.555, -628.428)},
{name = "24 Hours Stairs", position = CFrame.new(2794.429, 984.887, -31.778)}
}
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = player:WaitForChild("PlayerGui")
local menuButton = Instance.new("TextButton")
menuButton.Size = UDim2.new(0, 50, 0, 50)
menuButton.Position = UDim2.new(0, 10, 0.5, -25)
menuButton.Text = "Menu"
menuButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
menuButton.TextColor3 = Color3.fromRGB(255, 255, 255)
menuButton.Parent = screenGui
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 200, 0, #teleports * 50 + 60)
frame.Position = UDim2.new(0, -210, 0.5, -frame.Size.Y.Offset/2)
frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
frame.Visible = false
frame.Parent = screenGui
local destroyButton = Instance.new("TextButton")
destroyButton.Size = UDim2.new(1, 0, 0, 40)
destroyButton.Position = UDim2.new(0, 0, 1, -40)
destroyButton.Text = "Destroy"
destroyButton.BackgroundColor3 = Color3.fromRGB(200, 50, 50)
destroyButton.TextColor3 = Color3.fromRGB(255, 255, 255)
destroyButton.Parent = frame
destroyButton.MouseButton1Click:Connect(function()
screenGui:Destroy()
end)
local function toggleMenu()
frame.Visible = not frame.Visible
local targetPosition = UDim2.new(0, 60, 0.5, -frame.Size.Y.Offset/2)
if not frame.Visible then
targetPosition = UDim2.new(0, -210, 0.5, -frame.Size.Y.Offset/2)
end
local tween = TweenService:Create(frame, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Position = targetPosition})
tween:Play()
end
menuButton.MouseButton1Click:Connect(toggleMenu)
for i, teleport in ipairs(teleports) do
local button = Instance.new("TextButton")
button.Size = UDim2.new(1, 0, 0, 40)
button.Position = UDim2.new(0, 0, 0, (i - 1) * 50)
button.Text = teleport.name
button.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
button.TextColor3 = Color3.fromRGB(255, 255, 255)
button.Parent = frame
button.MouseButton1Click:Connect(function()
humanoidRootPart.CFrame = teleport.position
end)
end
To embed this project on your website, copy the following code and paste it into your website's HTML: