📅  最后修改于: 2022-03-11 14:54:54.376000             🧑  作者: Mango
--loop
for _, Button in pairs(workspace.Buttons:GetChildren()) do
--function
Button.MouseButton1Click:Connect(funcion()
print(Button.Name, "Pressed!")
end)
end