Using :GetNetworkPing() to get players ping

Are you in a game?

Try doing game.Players.LocalPlayer instead of your username (it might be a lock thing)