Skip to content

Instantly share code, notes, and snippets.

@ithb-cyber
ithb-cyber / gist:f526176f5e4c1484972a6a59d00eeeba
Created May 6, 2026 22:35
Notably compresses extremely large amounts of data using memory buffer and makes performance and storage impacts insignificant Can record and replay 240fps+ with multiple characters in any environment
function DM2.CreateReplay(Replay)
local DescriptionTable = {};
local FrameIndex = 0;
for i = 1, #Replay do
local Frame = Replay[i];
local FrameIndexed = false;
for Player, CharacterTable in Frame do
if (Player == "Cam") then