local player = game:GetService("Players").LocalPlayer local char = player.Character if not char then return end if not char:FindFirstChild("HumanoidRootPart") then return end local function teleportTo(part) if part then char.HumanoidRootPart.CFrame = part.CFrame + Vector3.new(0, 3, 0) end end if game.PlaceId == 5777099015 then -- Chapter 1 local trigger = workspace.EndLocation.Trigger if firetouchinterest then firetouchinterest(char.HumanoidRootPart, trigger, 0) task.wait() firetouchinterest(char.HumanoidRootPart, trigger, 1) else teleportTo(trigger) end elseif game.PlaceId == 9053673709 then -- Chapter 2 local teleportPart = workspace.Map1.Model.TeleportToPlace if firetouchinterest then firetouchinterest(char.HumanoidRootPart, teleportPart, 0) task.wait() firetouchinterest(char.HumanoidRootPart, teleportPart, 1) else teleportTo(teleportPart) end elseif game.PlaceId == 16527670555 then -- Chapter 3 for i = 1,15 do game:GetService("ReplicatedStorage").AddCheese:FireServer() task.wait() end task.wait(0.5) local teleportEnd = workspace.Teleports.TeleportEnd if firetouchinterest then firetouchinterest(char.HumanoidRootPart, teleportEnd, 0) task.wait(0.5) firetouchinterest(char.HumanoidRootPart, teleportEnd, 1) else teleportTo(teleportEnd) end end