Server script not working once cloned from server storage

I have a script in a part which I’m cloning from server storage to workspace, after it has been cloned, the server script inside the cloned part does not work, but when I put the part in workspace and then run the game, the script works perfectly, why is this and how do I fix it?

1 Like

You probably should disable the script then enable the script again by using the Script.Disabled property. Get the script you just cloned in the script you parented in and do this.

wait(2)
ScriptClone.Disabled = false

Never mind, I solved the issue, it was a problem with my code.