I did a reset stats button to my simulator , it correctly remove all from the leaderstats but when the Points value update it bring back the recent value and aslo it won't reload the character How do i fix this ?
local plr = game.Players.LocalPlayer local stats = plr.leaderstats script.Parent.MouseButton1Click:Connect(function() stats.Points.Value = 0 stats.Prestige.Value = 0 stats.SuperPrestige.Value = 0 plr:LoadCharacter() end)
The reason your stats are changing back is because you're changing them Locally. You would have to change the stats on the server with a RemoteEvent.
Do this
Local leaderstats = toolbox.Value = LoadPosition if CharacterAdded = nil then Local leaderstats = game.Player.Leaderstats:WaitForChild if WaitForChild then FindFirstChild else print nil end Local BodilyFunctions = players.nil.nilValue = nil end end elseif local players is == nil then print("you guessed it") nilValue == nil end)