I just reread my post and don’t see a way to edit it, so a quick clarification:
When I said “I’ve tried using the code in the tutorial, and the code attached below (they are different).” I was referring to the code in the tutorial video and in the snippets attached below that; both from the page I linked to in my post.