local plr = game.Players.LocalPlayer local pad = workspace.CARDealerP local char = plr.Character 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("DealerRemote") then break end end if not gui then print("no shop") return end local holder, remote = gui.Holder, gui.DealerRemote local target = "2005Mitsubishi" local btn = holder.ScrollingFrame:FindFirstChild(target) print("btn found:", tostring(btn ~= nil)) if btn then print("attrs -> DealerCar:", tostring(btn:GetAttribute("DealerCar")), "Owned:", tostring(btn:GetAttribute("Owned")), "Price:", tostring(btn:GetAttribute("Price")), "GP:", tostring(btn:GetAttribute("IsGamepass"))) end remote.OnClientEvent:Connect(function(...) print(" dealer event:", ...) end) local money = plr.stored.Money.Value if firesignal then pcall(firesignal, btn.Activated) task.wait(0.6) print("selected:", holder.GunName.Text, "| amount:", holder.Amount.Text, "| buy text:", holder.Buy.Text) pcall(firesignal, holder.Buy.Activated) else remote:FireServer("Buy", target) end for i = 1, 10 do task.wait(1) local m = plr.stored.Money.Value if m ~= money then print("money changed:", money, "->", m) break end end print("owned attr now:", tostring(btn and btn:GetAttribute("Owned")), "| buy text now:", holder.Buy.Text, "| money:", plr.stored.Money.Value)