How to save a bunch of values in a folder?

I recommend using a DataStore module for this. They save the data of the player when they leave without the queue warnings.

Try it and learn it. This is what I use.