How can I delete scripts inside playerScripts?

I’ve tried loops, find first child, etc and I always get an error when trying to destroy a local playerscripts script.
what I am looking for is that when an object is equipped the script is cloned but when the object is not equipped it is eliminated.

Why do you want to delete those core scripts anyway?

is that there clone a script, and after giving that cloned script I need to delete it