Thanks for the reply.
Changed the i's inside of the i loops to j's and k's. Removed table.insert and set to button[i] =.
I wish there was a way to somehow access the i from outside of the secure execute snippet so I didn't have to change all 6 buttons every time any one of them changed.
|