local player = game.Players.LocalPlayer -- get the player local workspace = game:GetService("Workspace") -- workspace stuff -- Function to teleport to a Hitbox in a numbered folder local function goToHitbox(folderNum) -- Find the Checkpoints folder inside Map local map = workspace:FindFirstChild("Map") if map == nil then print("Oh no! Map folder not found in Workspace!") return end local checkpoints = map:FindFirstChild("Checkpoints") if checkpoints == nil then print("Oops! Checkpoints folder not found in Map!") return end -- Look for folder named like "0", "1", etc. local folder = checkpoints:FindFirstChild(tostring(folderNum)) if folder then -- Look for Hitbox part inside the folder local hitbox = folder:FindFirstChild("Hitbox") if hitbox and hitbox:IsA("BasePart") then -- make sure it's a part if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then -- Teleport player above the Hitbox so they don't get stuck player.Character.HumanoidRootPart.CFrame = hitbox.CFrame + Vector3.new(0, 3, 0) print("Teleported to Hitbox in folder " .. folderNum .. " yay!") else print("Uh oh, player character or HumanoidRootPart is missing!") end else print("No Hitbox found in folder " .. folderNum .. " or it's not a Part!") end else print("Folder " .. folderNum .. " not found in Checkpoints!") end end -- Loop through folders 0 to 100 local function startTeleporting() print("Starting to teleport through all Hitbox parts...") for i = 0, 100 do goToHitbox(i) wait(0.25) -- wait 2 secs between teleports, feels nice end print("Done teleporting through all 101 folders!") end -- Run it as soon as the script starts startTeleporting()