Which script should I record in order to allow the player to buy weapons from the GUI shop. His weapon should be saved when the player leaves the game.
What do you mean by the question? With what I got from the question, it seems you don't know how to save things, just go on ROBLOX Wiki and learn about datastore, with that, you should from there be able to allow for saved items.
Closed as Not Constructive by BlueTaslem
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?