How would you get a clients memory usage in a script?

I wanna work on stuff using the memory, how would i get the memory in a script.

I believe you can use this

2 Likes