So I want the variable "Upgrades" to be the value of the leaderstats I have name "Upgrades" How would I do that?
local Upgrades = 1
game.ReplicatedStorage.anything.OnServerEvent:Connect(function(player)
player.leaderstats.Blocks.Value = player.leaderstats.Blocks.Value + Upgrades
end)

6 comments
I put it in and still does the same thing.
Wdym?
As in you want it to show in the leaderboard?
So I want it so when you get the remote event signal, the leaderstat: "Blocks" changes by the value of the l leaderstat "Upgrades"
I don't get it.
Show me an example.