-- Get old data (for migration)

function Main:_getOldData(player)
	local dataStore = DataStoreService:GetDataStore("MainDatastore")
	local success, data = pcall(function()
		return dataStore:GetAsync("Player_"..player.UserId)
	end)

	return success, data
end

