I have tried one for my game. Unfortunately, I do not have any code snippets to add. I'd really appreciate it if any of you ponder upon my question and create a script for me.
You mean a data store? http://wiki.roblox.com/index.php?title=Data_store
Example:
local DataStore = game:GetService("DataStoreService"):GetDataStore("Points") game.Players.PlayerAdded:connect(function(player) local key = "user_" .. player.userId --we want to give 50 points to users each time they visit DataStore:UpdateAsync(key, function(oldValue) local newValue = oldValue or 0 --oldValue might be nil newValue = newValue + 50 return newValue end) end)