How do i fix this error: Workspace.Prestige:3: attempt to index nil with 'leaderstats'
1 | local plr = game.Players.LocalPlayer |
2 | script.GetPrestige.OnServerEvent:Connect( function () |
3 | plr.leaderstats.Prestiges = plr.leaderstats.Prestiges + 1 |
4 | end ) |