The other day, I was working on a particular weapon script, but what's weird was, after I finally got it to work the way I wanted to, the weapon seems to just delete itself immediately from the server. I was lucky enough to have made a backup of it on a text file before this happened. Though if i try to delete the faulty weapon and re-add the code, i'll get an error saying the weapon does not exist when i try to open it again.
What would be causing this to happen? I'm kind of afraid to work on my other scripts now
