Wow this was MUCH easier than what I did before! Feel free to use, and credit if you want. Just drag the encode data and decode data my blocks to your backpack.
uh how did i not think of this i heard it from a friend oof This is what I used to do: https://scratch.mit.edu/projects/907090026/