Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

My tool un-equips itself about 3 seconds after equipping? Never happened until recent Roblox Update?

Asked by 6 years ago

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.

https://codeshare.io/2j6RK3

^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! :)

1 answer

Log in to vote
0
Answered by 6 years ago

I remember reading something related to this in the devforums, so I think it’s a Roblox bug. You can read about it here.

Also just in case, search through your script if there is any lines of code that has :Destroy or parent = nil using the “Find” tool in Roblox Studio.

0
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? GottaHaveAFunTime 218 — 6y
0
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 User#20279 0 — 6y
Ad

Answer this question