Problem with giving tool

You’re saying it does work with that script? You’re calling replica etc still, but doesn’t have a reference as I can see, so I’m guessing it’s giving you a warning about global variable?

Just to clarify could you show the explorer of this script?

there are no warnings/errors, everything works fine

Awesome that it now works, you should mark a solution just so people seeing it can see it has been solved already, and if someone else has a similar problem then they can see where the solution is