Any way to use the HoldDuration effect from ProximityPrompt Gui without its standard interaction?

In my game, the player will delete an object on 3D space by left-clicking on it and holding for 2 seconds
Meanwhile, I want a ProximityPrompt-like HoldDuration Gui to appear:

Is there any way to take advantage of this ProximityPrompt Gui, without having to use its default interaction to open this Gui?