I’m currently looking for this too, I found this site with a CS script you can download, and I guess either use it or use its code for reference… haven’t opened it yet but hopefully it works and give you, me, and anyone else who runs across this page what they need.