— Fixed thank you guys for checking this —
We can’t make code for you, we can only help you with errors you might have in your code or something you might not understand. Some things though, make sure you indent your code correctly so it is easier to read. Also why do you have two PlayerAdded
events in one script, I would just combine those. I don’t think a while loop is the smartest idea to put in a PlayerAdded
event as well.
As for your datastore issue, there are many tutorials online to get information from, please search online before just making a post. Here is a video made by AlvinBlox as an example on Datastores.