Something like this would do the trick. BeginPlay:
And then for each of the weapon actions:
So, if anything happens with the weapon, it resets the timer to 5 seconds. But if nothing happens, the countdown is always running and the character will holster the weapon…

