I'm i doing it right?
ServerStorage = game:GetService('ServerStorage') game.Players.PlayerAdded:connect(function(plr) plr:WaitForDataReady() local PlayersStats = Instance.new("ObjectValue", ServerStorage) PlayersStats.Name = plr.Name.."_Stats" local NewPlayerStats = Instance.new("BoolValue", PlayersStats) NewPlayerStats.Name = "NewPlayer" NewPlayerStats.Value = true ---------------------------------------- local PlayerStatsSaved = plr:LoadObject("PlayersStats") local SavedNewPlayerStats = plr:SaveBoolean("NewPlayerStats") if SavedNewPlayerStats == true then SavedNewPlayerStats = false end NewPlayerStats.Value = SavedNewPlayerStats end) game.Players.PlayerRemoving:connect(function(plr) plr:WaitForDataReady() local PlayersStats = ServerStorage:FindFirstChild(plr.Name.."_Stats") if not PlayersStats then return end local NewPlayerStats = ServerStorage:FindFirstChild(NewPlayerStats.NewPlayer) if not NewPlayerStats then return end plr:SaveBoolean("NewPlayerStats", false) end)