Where have you setup your respawn logic? do you use multiplayer? Easiest one would be to create a INT Var in your PlayerController, set it’s default to 3. In your Character (or where you do your respawn) decrement the INT from the PC and if it is 0, create your gameOverWidget and stop respawning (eg Gamemode->RestartLevel).
something like this - but don’t wire up the two events it’s just an example:
