How do I check the ping (ms) of a player?

How do I check the ping (ms) of a player and then if its above 100 put a gui on screen