Equipping and re-equipping tools sometimes deletes them

I’m still getting reports. Anyone else? If not, it might be on my end.

player.CharacterAdded:connect(function(character)
	
	-- wait till character loaded
	repeat 
		wait()
	until character.Parent
	
	-- add weapon
	local using = data.using.weapons
	local weapon = Weapons[weapon]:Clone()
	weapon.Parent = character
	spawn(function()
		local start = tick()
		while wait() and (tick() - start) < 4 do
			local w = character:FindFirstChild("Weapon")
			if not w then
				local msg = Instance.new("Hint",workspace)
				msg.Text = "Weapon not loaded: " .. data.inventory.weapons[using][1] .. "_" .. tick() - start
			end
		end
	end)

Basically my script. According to the hint, the weapons suddenly disappears after 1.6~1.9 seconds. No errors and happens very rarely and randomly.

1 Like

Is it still happening for you? I can’t say I’ve seen it, nor have I had it happen to me recently.

2 Likes

I found out it was because people pressed backspace. I hide the backpack so didn’t realize it was just unequipped.

2 Likes

Ah, so it looks like this issue is solved completely now. :grinning:

1 Like