How to set ALL players leaderstat value to 0

A most likely very easy to answer question that I cant figure out from the developer hub. How would I go about setting everybody’s stats to zero when somebody wins (I already have the ‘when somebody wins’ function part done but how will I do that without doing some weird RemoteFunction nonsense?

In the ‘when somebody wins’ function just run a for loop

for _, player in ipairs(Players:GetPlayers()) do
    player.leaderstats.Stat.Value = 0