Scripting support isn’t a place to ask people to make you stuff for free, please read About the Scripting Support category.
I encourage other people reading to avoid doing this and instead just point the OP in the right direction by explaining principles or concepts instead of giving them a script.