local Players = game:GetService("Players")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()

-- Replace with your actual waypoint position
local waypointPosition = Vector3.new(48.00, 10.51, 272.97)

-- Function to teleport the player
local function teleportToWaypoint()
    if character and character:FindFirstChild("Humanoid") then
        local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
        if humanoidRootPart then
            humanoidRootPart.CFrame = CFrame.new(waypointPosition)
        end
    end
end

-- Example usage
teleportToWaypoint()

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: