You will be awarded points for the substitute only if he is in your playing 11.
For E.g. If Marnus Labuschagne replaces the concussed Steven Smith. You'll get points for Labuschagne's performance only if he features in your fantasy team. You will not be given any points if he is not a part of your playing 11.