A replay system was already suggested: Replay Feature
Either way, I was able to record footage from the game using OBS.