Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How can I create a cash stat to save in the data store without making it a leaderstat?

Asked by 10 years ago

Hi, I am creating a new game in which is very cool, but it is built off of the basic Roblox Control Point template. The problem is, after every round it deletes your stats such as KOs and WOs. I would like to have a "Cash" stat in my game but not have it get deleted. I would like it to be able to save in the data store so when players return to the game they will keep all their cash and still start out with a clean slate of Knockouts and Wipeouts without making it a leaderstat. Is there a way I can do this?

2 answers

Log in to vote
1
Answered by 10 years ago

I believe you can do so, in the game code. ROBLOX has pros working there, so they make their code neat and readable. You could possibly change a sentence or two of code without mussing up te game. You will probably need to have to break down the code and make it delete the stats seperatly and purposly miss out the Cash stat. I really hoped this helped you even a little bit. Good luck and may the force be with you.

Ad
Log in to vote
0
Answered by 10 years ago

Just save it somewhere besides leaderstats (don't save it in the character, though)

0
Could you explain what you mean? AwsomeSpongebob 350 — 10y
0
How do you not understand? Thewsomeguy 448 — 10y
0
I don't understand where/how else I would save it. It kind of reflects back on my question. AwsomeSpongebob 350 — 10y

Answer this question