The replay streamer of the Unreal engine records repetitions and then saves them as a .replay file, which can then be played back.
The Replay Streamer is versatile and can manage many things.
Number of Blueprints:
Number of C++ Classes: 3
Network Replicated: Yes
Supported Development Platforms: Windows x64, Windows x32
Supported Target Build Platforms: Windows x64, Windows x32
Documentation: Only Nodes Explanation https://docs.google.com/document/d/1HtJuBvb1IUD8mRHhlK4k_6ODOUap9YKUFI0WLY4oU_8/edit?usp=sharing
Example Project: https://drive.google.com/file/d/17yzV7GpQLljQ_mfIJPA06QcnlthJjpZu/view?usp=sharing
Documentation Video: https://youtu.be/UuWkq0vHHeE