local player = game.Players.LocalPlayer local screenGui = Instance.new("ScreenGui") screenGui.Parent = player:WaitForChild("PlayerGui") screenGui.ResetOnSpawn = false local platform = Instance.new("Part") platform.Name = "BlackPlatform" platform.Size = Vector3.new(8, 1, 8) platform.Position = Vector3.new(-48, 71, 1442) platform.Anchored = true platform.CanCollide = true platform.Material = Enum.Material.SmoothPlastic platform.Color = Color3.fromRGB(0, 0, 0) platform.TopSurface = Enum.SurfaceType.Smooth platform.Parent = workspace local line = Instance.new("TextButton") line.Size = UDim2.new(0, 220, 0, 25) line.Position = UDim2.new(0.5, -110, 0.2, 0) line.BackgroundColor3 = Color3.fromRGB(30, 30, 30) line.Text = "Build A Boat" line.TextColor3 = Color3.fromRGB(255, 0, 0) line.Font = Enum.Font.SourceSansBold line.TextSize = 16 line.Active = true line.Draggable = true line.Parent = screenGui local panel = Instance.new("Frame") panel.Size = UDim2.new(0, 220, 0, 65) panel.Position = UDim2.new(0, 0, 0, 25) panel.BackgroundColor3 = Color3.fromRGB(50, 50, 50) panel.Visible = true panel.Parent = line local stroke = Instance.new("UIStroke") stroke.Thickness = 2 stroke.Color = Color3.fromRGB(80, 80, 80) stroke.Parent = panel local teleportButton = Instance.new("TextButton") teleportButton.Size = UDim2.new(0, 200, 0, 45) teleportButton.Position = UDim2.new(0, 10, 0, 10) teleportButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0) teleportButton.Text = "Teleport (OFF)" teleportButton.TextColor3 = Color3.fromRGB(255, 0, 0) teleportButton.Font = Enum.Font.SourceSansBold teleportButton.TextSize = 28 teleportButton.Parent = panel local btnCorner = Instance.new("UICorner") btnCorner.CornerRadius = UDim.new(0, 8) btnCorner.Parent = teleportButton local running = false teleportButton.MouseButton1Click:Connect(function() running = not running if running then teleportButton.Text = "Teleport (ON)" print("Teleport loop started") task.spawn(function() while running do local character = player.Character if character then local humanoidRootPart = character:FindFirstChild("HumanoidRootPart") if humanoidRootPart then humanoidRootPart.CFrame = platform.CFrame + Vector3.new(0, 5, 0) print("Teleported to platform") task.wait(3) if not running then break end local boatStages = workspace:FindFirstChild("BoatStages") if boatStages then local normalStages = boatStages:FindFirstChild("NormalStages") if normalStages then local theEnd = normalStages:FindFirstChild("TheEnd") if theEnd then local goldenChest = theEnd:FindFirstChild("GoldenChest") if goldenChest then local trigger = goldenChest:FindFirstChild("Trigger") if trigger then humanoidRootPart.CFrame = trigger.CFrame + Vector3.new(0, 5, 0) print("Teleported to trigger") task.wait(3) character:BreakJoints() print("Character reset") end end end end end end end task.wait(7) end end) else teleportButton.Text = "Teleport (OFF)" print("Teleport loop stopped") end end)