local player = game.Players.LocalPlayer -- grab the local player local workspace = game:GetService("Workspace") -- workspace stuff -- Function to teleport to a specific checkpoint local function goToCheckpoint(checkpointNum) local checkpointFolder = workspace:FindFirstChild("Checkpoints") -- find the folder if checkpointFolder == nil then print("Oops! Checkpoints folder not found in Workspace!") return end -- Look for the part named CheckpointX (like Checkpoint1, Checkpoint2, etc.) local checkpointPart = checkpointFolder:FindFirstChild("Checkpoint" .. checkpointNum) if checkpointPart and checkpointPart:IsA("Part") then -- make sure it's a real part if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then -- Teleport player a bit above the part so they don't get stuck player.Character.HumanoidRootPart.CFrame = checkpointPart.CFrame + Vector3.new(0, 3, 0) print("Teleported to Checkpoint" .. checkpointNum .. " yay!") else print("Uh oh, player character or HumanoidRootPart is missing!") end else print("Checkpoint" .. checkpointNum .. " not found or not a Part!") end end -- Loop through all checkpoints from 1 to 201 local function startTeleporting() print("Starting to teleport through all checkpoints...") for i = 1, 201 do goToCheckpoint(i) wait(0) end print("All done teleporting through 201 checkpoints!") end startTeleporting()