I have a leader stat with a data store and I want that to be my cash in my game, can anybody tweak the script for a leader stat that already exists? if you need the name just put "leader stat you want" ~~~~~~~~~~~~~~~~~
game.players.PlayerAdded:Connect(function(player) local stats = Instance.new("folder") stats.Name = "leaderstats" stats.Parent = player local cash = instance.new("IntValue") cash.Name + HighScore cash.Value = 3 cash.Parent = stats end) ** sorry if it isnt divided into lines I had to copy a script on the youtube search bar lol

2 comments
I'm sorry, what do you need us to do? Just edit the name, or do a datawipe with GetDataStore() by replacing the name.
I found out how alr