while true do local TweenService = game:GetService("TweenService") local Players = game:GetService("Players") local localPlayer = Players.LocalPlayer local character = localPlayer.Character local function tweenToGoldenChest(target) local humanoidRootPart = character:FindFirstChild("HumanoidRootPart") if humanoidRootPart then humanoidRootPart.Anchored = true local tweenInfo = TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.Out) local goal = {Position = target.Position} local tween = TweenService:Create(humanoidRootPart, tweenInfo, goal) tween.Completed:Connect(function() humanoidRootPart.Anchored = false end) tween:Play() end end local function findAndTweenGoldenChest(parent) for _, child in ipairs(parent:GetDescendants()) do if child:IsA("BasePart") and child.Name == "DarknessPart" then tweenToGoldenChest(child) break end end end findAndTweenGoldenChest(workspace.BoatStages.NormalStages.CaveStage1) task.wait(3.4) local function findAndTweenGoldenChest1(parent) for _, child in ipairs(parent:GetDescendants()) do if child:IsA("BasePart") and child.Name == "Trigger" then tweenToGoldenChest(child) break end end end findAndTweenGoldenChest1(workspace.BoatStages.NormalStages.TheEnd.GoldenChest) task.wait(3.7) end