Problems with cloning a script and parenting it within a Plugin

Currently I’m working on a plugin that clones select scripts from a folder and inserts them into select services. Right now, I’m trying to make it so that when you press a button it clones and then inserts a local script into the StarterPlayerScripts folder. However, when I do this it doesn’t clone the script and parent it into StarterPlayerScripts. How can I fix this issue?