Custom script on wear

Is there someway where I can run a script where I can check if the player has a variable within a certain range, for example, if the player weighs too much, then they can't wear something.

This topic is now closed. Topics are closed after 60 days of inactivity.