So today, I was scrolling through YouTube and came across an old tutorial on how to make a sword fighting game (by AlvinBlox). I am on the final stage which is the in-game cash shop.
Right now, I am trying to make the different shop items appear in the shop gui automatically. But, there is a problem with the script.
The error:
I tried changing it to ‘do’ as it said here, but that made the ‘i’ value an error as well as a few other things. My guess is the tutorial is somewhat outdated and to continue I will need further assistance.
The full script:
Any help would be great!