local lib = getgenv().Library local plr = game.Players.LocalPlayer local hrp = plr.Character.HumanoidRootPart -- go somewhere recognisable first hrp.CFrame = CFrame.new(-694, 258, -684) task.wait(1.5) local startPos = hrp.Position print(string.format("[test] start at %.0f,%.0f,%.0f | money %d", startPos.X, startPos.Y, startPos.Z, plr.stored.Money.Value)) local dd = lib.Registry["Garage Vehicle"] dd.Set("ATV") local btn for _, d in ipairs(lib.Open.Gui:GetDescendants()) do if d:IsA("TextButton") and d.Name == "Button_Purchase Vehicle" then btn = d end end firesignal(btn.MouseButton1Click) for i = 1, 26 do task.wait(1) if i == 26 then local cars, driving = {}, false for _, c in ipairs(workspace.CivCars:GetChildren()) do local o = c:FindFirstChild("Owner") if o and o.Value == plr.Name then table.insert(cars, c.Name) local seat = c:FindFirstChild("DriveSeat") if seat and seat.Occupant then driving = true end end end local p = plr.Character.HumanoidRootPart.Position print(string.format("[test] end: money=%d cars=%s driving=%s at %.0f,%.0f,%.0f (moved %.0f studs)", plr.stored.Money.Value, table.concat(cars, ","), tostring(driving), p.X, p.Y, p.Z, (p - startPos).Magnitude)) end end