# Source URL: https://dev.epicgames.com/documentation/fortnite/verse-parkour-template-in-unreal-editor-for-fortnite
# Local doc: epic-docs/documentation/fortnite/verse-parkour-template-in-unreal-editor-for-fortnite.md
# Section: Add additional time to the Timer Device, but don't go over the initial starting time
# Function that is called when the timer expires
HandleTimerExpired(MaybeAgent:?agent):void=
Logger.Print("Timer Ended")
if (Agent := MaybeAgent?):
Agent
# Eliminate the player
if:
FortCharacter:fort_character = Agent.GetFortCharacter[]
then:
FortCharacter.Damage(500.0)
Verse Library
verse
05 Add Additional Time To The Timer Device But Don T
Handles expired timer events by retrieving the player character and dealing lethal damage to eliminate them.
extracted-snippets/documentation/fortnite/verse-parkour-template-in-unreal-editor-for-fortnite/05-add-additional-time-to-the-timer-device-but-don-t-.verse