you need a fifth parameter to Write():
BlockArea:Write(Player:GetWorld(), Player:GetPosX(), Player:GetPosY(), Player:GetPosZ(), baTypes or baMetas);