How do I get the client's screen resolution?

So I’m making a script that makes a part rotate based on your cursor’s position, but I also need to know the resolution of the client so the effect has the same strength on all devices. I don’t know if I explained that clearly enough but I think you get the point. I need to get the player’s screen resolution in order to adjust the strength of an effect.

How would I do this?