I originally took this to ROBLOX's SH but no-one's suggestions seemed to help.
What I am trying to do is create a player level which currently increments when you click script.Parent, a brick with a ClickDetector.
Also, it works in Solo Mode. Nothing else.
local datastore = game:GetService("DataStoreService"):GetDataStore("PlayerLevel")
wait(10)--Too lazy to check for character properly
script.Parent.ClickDetector.MouseClick:connect(function(plr)
local key = "user_"..plr.userId
local gui = plr.PlayerGui.MainUI.plrLevelGui.PlrLvlNum
datastore:IncrementAsync(key, 1)
gui.Text = datastore:GetAsync(key)
end)

3 comments
Are you getting any kind of output?
@Adark: I'm not, actually. :p
Don't get lazy when coding. The more lines you have and the more things you check for then the more efficient and unbreakable your code is.