this is my code, it doesn't work..
local Rep = game:GetService("ReplicatedStorage")
local DataStore2 = require(Rep:WaitForChild("MainModule"))
DataStore2.Combine("DataStick2","Class","Size","Money","OwnedRanks")
game.Players.PlayerAdded:Connect(function(Plr)
local UpdOwnedRanks = DataStore2("OwnedRanks",Plr)
local OwnedRanks = Instance.new("Frame",Plr)
OwnedRanks.Name = "OwnedRanks"
local function UpdaOwnedRanksa()
OwnedRanks.ChildAdded = UpdOwnedRanks:Get()
end
UpdaOwnedRanksa()
UpdOwnedRanks:OnUpdate(UpdaOwnedRanksa)
Everytime a guy buy a rank it will be added to the folder, i want the folder to save it '-'
