Here is the code I have:
game.Players.PlayerAdded:Connect(function(player)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player
local Searches = Instance.new("IntValue")
Searches.Name = "Searches"
Searches.Value = 0
Searches.Parent = leaderstats
local Cash = Instance.new("IntValue")
Cash.Name = "Cash"
Cash.Value = 0
Cash.Parent = leaderstats
end)
all the tutorials i've watched don't work, please help

2 comments
no i mean Save Data/datastore, i know how to do leaderstats.
Your answer is completely off-topic, but I figured it out myself. (not to be rude)