Basically, I’m making a crafting Gui. I’m to the part where an event should fire when a player clicks any of those buttons. However I don’t want to do this 32 times. Should I do this with a loop, or are there otherways?
Do it with a loop, as far as I know that’s the best way if you don’t wanna have 32 scripts…
for i, button in pairs(buttons) do
button.MouseButton1Click:Connect(someFunction)
end