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

how to make curency like ("Money") without using a leaderboard and can still buy things?

if anyone knows please leave a reply! :) thanks

1 comment

0

You could always make a large table and store player data during the game on the table, and save their data to a datastore once they leave.

1 answer

This is very easy.

Heres the script.

-- script in ServerScriptService

game.Players.PlayerAdded:Connect(function(plr)
local Stats = Instance.new("Folder")
Stats.Parent = plr
Stats.Name = "Stats"
local Money = Instance.new("NumberValue")
Money.Parent = Stats
Money.Name = "Money"
Money.Value = 4093204324

**In what I think, If you don't name the variable leaderstats, it would not show on the leaderboard. That is what happened to me a few weeks ago when I wrote Stats instead of leaderstats like I usually do. **

Hope this helped. xD

-PhotonLightning

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