These are some posts I found about it:
You can probably refer to them if you’d like and probably make your own script. I hope this helped.