The scripts record a bunch of things like position, velocity, etc. every few frames and puts that info on a list, then when you rewind it executes these "snapshots" in order. Thanks for playing!
Okay, thanks for the explaination! I figured it out in the end but I had no clue how lists worked before this jam 😅