Duplicating/Copy and Pasting scripts does not save the contents of the script

Hello. Recently, I’ve come upon an issue where duplicating or copy and pasting scripts does not save the contents of the script, so whenever I duplicate something containing scripts, the script gets reset to whatever it was when it was first created, being either print:(“Hello World”) or the contents that were in it when you copied it from another game. I can still manually go into the script and copy and paste the contents there, but it’s a lot more annoying to do. Is there any way I can fix this?

Are you speaking about duplicating scripts in editing mode, or another script duplicating them as the game runs?

Remember that (if you’re duplicating them within the game, of course) some things on the server may not be replicated to the client, and vice versa.

I’m using editing mode for it.

This seems like a studio bug. I suggest you restart studio, and if that doesn’t help, you may have to completely reinstall it.

That’s my theory as well. I’ll try doing that. Thank you.

Didn’t work for me… I restarted and tried to redownload the studio but scripts still stay as they were. If I make new one and duplicate it there is no text, only Hello world.