local plr = game.Players.LocalPlayer local VIM = game:GetService("VirtualInputManager") local pad = workspace.CARDealerP local char = plr.Character local function realClick(guiObject) local pos = guiObject.AbsolutePosition local size = guiObject.AbsoluteSize local x, y = math.floor(pos.X + size.X / 2), math.floor(pos.Y + size.Y / 2) VIM:SendMouseButtonEvent(x, y, 0, true, game, 1) task.wait(0.05) VIM:SendMouseButtonEvent(x, y, 0, false, game, 1) end local gui for i = 1, 8 do char.HumanoidRootPart.CFrame = pad.CFrame * CFrame.new(0, pad.Size.Y / 2 + 6, 0) task.wait(0.2) char.HumanoidRootPart.CFrame = pad.CFrame * CFrame.new(0, pad.Size.Y / 2 + 2, 0) task.wait(0.6) gui = plr.PlayerGui:FindFirstChild("GunGui") if gui and gui:FindFirstChild("Holder") then break end end if not gui then print("no shop") return end local holder = gui.Holder local scroll = holder:FindFirstChild("ScrollingFrame") local target = "2022 Toyota GR86" local btn = scroll:FindFirstChild(target) print("before -> name:", holder.GunName.Text, "| amount:", holder.Amount.Text, "| buy:", holder.Buy.Text) print("button pos:", tostring(btn.AbsolutePosition), "size:", tostring(btn.AbsoluteSize), "visible:", tostring(btn.Visible)) realClick(btn) task.wait(1) print("after car click -> name:", holder.GunName.Text, "| amount:", holder.Amount.Text, "| buy:", holder.Buy.Text) realClick(holder.Buy) task.wait(3) print("after buy click -> name:", holder.GunName.Text, "| amount:", holder.Amount.Text) local found, t = nil, 0 repeat task.wait(0.3) t += 0.3 for _, c in ipairs(workspace.CivCars:GetChildren()) do local o = c:FindFirstChild("Owner") if o and o.Value == plr.Name and c.Name == target then found = c end end until found or t > 8 print(target .. " spawned:", tostring(found ~= nil))