local plr = game.Players.LocalPlayer local gui = workspace.CARDealerP.GunGui local remote = gui:FindFirstChild("DealerRemote") print("dealer remote:", tostring(remote), remote and remote.ClassName) if not remote then return end remote.OnClientEvent:Connect(function(...) print("dealer replied:", ...) end) local before = 0 for _, c in ipairs(workspace.CivCars:GetChildren()) do local o = c:FindFirstChild("Owner") if o and o.Value == plr.Name then before += 1 end end print("cars owned out before:", before) remote:FireServer("Buy", "2022 Toyota GR86") task.wait(4) for _, c in ipairs(workspace.CivCars:GetChildren()) do local o = c:FindFirstChild("Owner") if o and o.Value == plr.Name then print(" out:", c.Name) end end