I need help to program this sequence node

guys the only thing i know from behaviour trees is sequence and a selector node lol so I’m kinda stuck here.

I wanna play a sound effect when the player is seen by the ai. however i don’t want to instantly play every time the player is seen I want there to be a delay so i used a bool as decorator to do this but this is creating some kind of bug where if the Recentlyseen is set to true and the player gets spotted by the ai it wont execute chase task and the sequence fails and the ai gets stuck. how do i fix this?