Why the proximity prompt's event PromptButtonHoldEnded not firing

  1. Hello everyone, i am working on a game, i want the players to be able to repair a car, place wheels on it etc…, the player would play 2 animations, a normal one and a loop.

2.the issue is that players must have a tool equipped,while they are holding the button E on their keyboard, but they can unequip it at any moment, if they do so, just the event called PromptButtonHoldEnded will not fire,the player will stay anchored and play animations even if he is not holding anymore, it’s clearly a bug(Idk why i can’t post in the bug topic), here is my actual function that does this:

     Prompt.PromptButtonHoldEnded:Connect(function(triggerPlayer) 
				print("BUTTON UNHOLD")
				if triggerPlayer ~= plr then
					return
				end
				Trove:Destroy()
				print("PUTTING IS HOLDING TO FALSE")
				IsHolding = false
				VER+=1
				local character = triggerPlayer.Character
				character.HumanoidRootPart.Anchored = false
				
				event:FireClient(plr,"StopAnim","PlaceWheel")
				event:FireClient(plr,"StopAnim","WheelLoop")				
	
				if ItemsModule.Tools[plr.Name] then
					ItemsModule.Tools[plr.Name].Motor6D.C0 = script:FindFirstChild("C0").Value
				end
				
				
			end)
  1. it’s happening everytime, no doubt it’s bug, i don’t know if i can make this working, i can’t post all the code (500 lines), i did this topic to show this bug, i don’t except solutions but i just want to see roblox fix this issue.