How to display the amount of data being downloaded (Recieved) and uploaded (Sent)

I’m currently testing a system with an analog meter UI with several things that include numbers, like the amount of FPS, ping, amount of studs over ground, etc. However, I was wondering how you could get the number of data in any unit (eg. MB/s, KB/s, etc) on recieving (Download) and sending (Upload). Pretty much like the one in Performance Stats:

Stats

while task.wait(1) do
	print(game:GetService("Stats").DataReceiveKbps)
end

2 Likes

Adding on to @text_overflow , you can tweak one of those number abbreviation functions to make it display MB/KB, etc.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.