game.Players.PlayerAdded:connect(function(X)local G=(game:GetService("\068\097\116\097\083\116\111\114\101\083\101\114\118\105\099\101")):GetDataStore(X.Name.."\083\116\097\116\115")X:WaitForChild("\068\097\116\097")wait(1)local E=(X:FindFirstChild("\068\097\116\097")):GetChildren()for X=1,#E,1 do E[X].Value=G:GetAsync(E[X].Name)print("\115\116\097\116 \110\117\109\098\097 "..(X.." \104\097\115 \098\101\101\110 \102\111\117\110\100"))end end)

game.Players.PlayerAdded:connect(function(player)
		local datastore = game:GetService("DataStoreService"):GetDataStore(player.Name.."Stats")
	
	player:WaitForChild("Data")
	wait(1)
	local stats = player:FindFirstChild("Data"):GetChildren()
	for i = 1, #stats do			
	stats[i].Value = datastore:GetAsync(stats[i].Name)
	print("stat numba "..i.." has been found")
		end
end)
