Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Gui to leaderboard can it be done?

Lets say a gui had data on it eg. Chips:250, and I wanted to move that data up onto a leader board so I could give them 250 money in exchange for chips so then they would have 0 chips and 250 money, and reversing it would give them 0 money and 250 chips. I am wondering How I would actually replace the data into the leader board OR** make a script that I can just say have a gui that lets me key in the number under the title "CHIPS" and another with the title "MONEY" that crosses between the gui and the Leader board. For more info Personal Message me

Thanks! Luckytyler4

1 comment

0

This is a studio question, not a scripting. Just add a screengui.

1 answer

Of course!

You'd need to create the values for leaderstats just like normal, and then manipulate them in whatever scripts are controlling your GUIs / managing your money / chips.

See here on the Wiki for describing how you set up leaderboards

You can set the values just like normal NumberValue objects, so wherever you keep track of your chips and money you simply have to also store that number to their corresponding leaderstats for that one player.

This discussion is preserved as it was. New answers, comments, and votes are closed.