local Players = game:GetService("Players")
local function leaderbaordFunction(player) local leaderstats = Instance.new("Folder") leaderstats.Name = "leaderstats" leaderstats.Parent = player
local Strength = Instance.new("IntValue")
Strength.Name = "Strength"
Strength.Parent = leaderstats
Strength.Value = 0
local Cash = Instance.new("IntValue")
Cash.Parent = leaderstats
Cash.Name = "Cash"
Cash.Value = 0
end
Players.PlayerAdded:Connect(leaderbaordFunction)
local r = game.ReplicatedStorage.Click
r.OnServerEvent:Connect(function(player) player.leaderstats.Strength.Value = player.leaderstats.Strength.Value + 1 end)

2 comments
idk why it only put local strength to cash value in the script box the rest is apart of the script
Please format the question better, I can't tell what's what.