Hello,
I'm trying to make a database that gets data of the user when he clicks a button. But I'm lost, and don't know how to do that. Literally everything I have is this:
local datastore = game:GetService("DataStoreService")
local ds1 = datastore:GetDataStore("ReapingData")
game.Players.PlayerAdded:connect(function(plr)
end)
Can anyone help me more?
Thank you.

1 comment
I recommend using a localscript and then firing the server script so you don't have to do all the work arounds.