local buyFrom = game.Workspace:WaitForChild('BuyShop') for i,v in pairs (script.Parent.Frame:GetChildren()) do v.BuyButton.MouseButton1Down:connect(function() game.Workspace.BuyShop:FireServer(tostring(v.Name)) print('Isent') end) end
-This is a local script