You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
I want my code to save the int values value like you see in this picture when the game closes. Not when the deveoloper shutdowns the server. I simply want it to save when all the players leave and the server dies
2. What is the issue? Include screenshots / videos if possible!
My problem is that i havent been able to find a solution on how you could make something like it. I tried to use “BindToClose” as you can see in the pic below. But that didnt work
Yes i know. Thats what i’m trying to do. I just need to know how i would check when all the players leaves. And the server dies i guess you could say
Are you testing this on Studio Solo? Or are you starting a server and starting. BindToClose is finicky in Solo so it might not work correctly every time.