Hi Ankit,
Thank you for trying the code. I checked your file and found several errors in the command.
1. You used wrong plane, you should use xy plane in the command;
2. You used wrong indexes. I see you have 7780 atoms, in which there are 1260 water molecules, you should include all their atom indexes since all water molecules participate in the formation of droplet. And please note, in VMD, the index starts from 0, and in the command, you must start from the first atom index of water molecules, in your case, it is 4000 not 4001, so your atomselection should be {index 4000 to 7779}
3. You should try other "thicknessFactor" value, 0.5 in your case is too small. I tried 1.1 and got the following results (also see the command I used):
0 0.00 27.55 25.41 85.38
100 0.00 0.21 42.03 179.43
200 0.00 28.23 24.74 82.46
300 0.00 27.55 25.41 85.38
You should understand the parameter "thicknessFactor", it means how to define a thickness of a contact area and ensure there are a proper number of water atoms (not necessary full molecules) in the contact area, so the code can construct an equivalent contact area according to the area the atoms occupy. The code calculates this thickness according to ''thicknessFactor*molDistance'' (in your case molDistance = 3.136787, you can find this value in the log.dat file). But, how to find a proper thicknessFactor? Here you need to load your model into VMD, and try different thickness yourself. I first roughly checked the distance from the solid plane (in your case, the solid plane is z=0) to a bottom water atom, it is nearly 2.3A, so in this case, you cannot use 0.5 since thicknessFactor*molDistance=0.5*3.136787 < 2.3, you should ensure thicknessFactor*molDistance at least 1A larger than the distance from solid plane to the bottom liquid atom, for example 3.45A. Then you check if this thickness sufficient, see the snapshots, I feel it seems to be a little bit smaller, you can further optimise it. So thicknessFactor= 3.45/3.136787=1.1.

I think this should inspire you. If you still have problems, leave message here.
Best regards,
Yuxiang