Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I get player ping locally?

Asked by 2 years ago

I need to get the local player's ping through a client sided script. This means no server sided scripts. I have no idea if this is possible, as I have checked everywhere to find an answer for this, but to no avail.

I need to be able to put this ping value into a variable so I can use it easily.

If you have any idea how to do this, I would be very grateful if you'd be able to answer this for me. Thank you in advance!

1 answer

Log in to vote
0
Answered by 2 years ago

You can check out :GetNetworkPing() Function of the LocalPlayer.

0
Do you have any idea how I could convert the result that you get from this into a number closer to the one you see on the display of performance stats? iethail 2 — 2y
Ad

Answer this question