local ReplicatedStorage = game:GetService("ReplicatedStorage") local BuyRemote = ReplicatedStorage:WaitForChild("GameRemotes"):WaitForChild("BuyEvent") local GameItems = ReplicatedStorage.GameItems for _, obj in pairs(GameItems:GetChildren()) do if obj:IsA("Tool") then BuyRemote:FireServer(obj.Name) end end