I had literally gotten my game to almost completion and boom Roblox updates. I didnt think much of it until all of the sudden my gun script no longer worked.
What happens is the gun works and everything but for some reason about 3 seconds after equipping the gun it unequips the gun and then deletes it from your backpack.
Im just going to post the whole entire local script because im pretty sure its the local script and I also have no entire clue why this is happening. I am just at a loss for words, I completed my game and now its broken because of a Roblox update.
Heres the local script and again the problem is it deletes the weapon from your backpack about 3 seconds after equipping it.
I know its a lot of code to look through but please try to help me XD this literally broke 3 months of work.
^So I actually had to post a link instead because the code was over the character limit for this site, the code is in that link and its been formatted to Lua so its easier to read.
Thank you so much for your time, hopefully someone will end up here at the bottom of the code and say "Ive solved the problem!" Again try to just focus on the fact that its deleting it from the backpack for some odd reason.
Thank you so much for your time and please do try to help me out here! Thanks! :)

2 comments
Thanks dude, its nice to know that I am not the only one, also how do you reply and stuff on that site? Is it only certain people can post and reply?
You need to do some application in the devforums so you can get more access to the devforums. That's probably why you see a lot of "professional" developers on that site. Here's a link to the application if you want to know more about it : https://devforum.roblox.com/t/apply-to-join-the-roblox-developer-forum/40471