local currecyName = "Money" local DataStore = game:GetService("DataStoreService"):GetDataStore("TestDataStore")
game.Players.PlayerAdded:Connect (function(player)
local folder = Instance.new("Folder")
folder.Name = "leaderstats"
local currency = Instance.new("IntValue")
currency.Name = currecyName
currency.Parent = folder
end)

2 comments
The script preview is not working...
what's the parent of folder huh?