How to check player internet connection?

I wonder if there is a way how to check internet connection speed. If you know how to check it tell me please.

You can use Player:GetNetworkPing to get the speed of the player’s wifi in microseconds

4 Likes

Woah that was fast ty. Really appreciate it.

Also if i want to check internet connection without trusting client
Can i use remote event spam and check time difference between sending and getting it?

GetNetworkPing doesn’t rely on the client, its safe. Using remotes would be more risky

1 Like

So you can use this function on server side? nvm that was misunderstanding because of this “For client-side LocalScript s, this function may only be called on the LocalPlayer .”

Yes you can. On both sides you can use it

This is because the client can’t get the ping of other players, only itself

1 Like

Tysm i am going to make insane anticheat system with using it :>