FTimerHandle TimerHandle;
FTimerDelegate TimerDelegate;
//Binding the TimerDelegate to the Destroy function
TimerDelegate.BindUFunction(this, FName("Destroy"));
//Will call the bound function of the TimerDelegate after 5 seconds
GetWorld()->GetTimerManager().SetTimer(TimerHandle, TimerDelegate, 5.f, false);