local player = game.Players.LocalPlayer local coins = workspace:WaitForChild('Coins') for _, v in ipairs(coins:GetChildren()) do if v:IsA('BasePart') then player.Character:PivotTo(v:GetPivot()) task.wait() end end