Custom Ping Counter Not Showing Actual Ping

I’m making a game that will show your computer’s live stats, and I’m making a ping counter. I have the Performance Stats enabled so I can check that the two values are the same. I watched a tutorial on how to do it (tutorial here), but when I compared the tutorial one to the Performance Stats, the weren’t the same.


I have a remote in ReplicatedStorage called LatencyEvent. Here is my code from my server script in ServerScriptService:
2025-04-26 09_28_37-Your Computer's Stats - Script - Roblox Studio
Here is my code that is displaying the ping to the TextLabel (its a local script inside said textlabel):

1 Like

When you calculate the latency on line 6, you multiply it by 1000 to get the milliseconds, but then you multiply it again by 2? The value you are getting is already the round trip time it takes, so by multiplying it by 2, you are getting how much time it takes for data to be sent to the server and back twice