I have been experimenting for a while and the closest i can get to is
function onTouched(part)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
-- Display an 'IntValue' on leaderboard
local Coins = Instance.new("IntValue")
Coins.Name = "Coins"
Coins.Value = Coins.Value + 200
Coins.Parent = leaderstats
end
Any ideas on what was done wrong?
