All I remember from my past attempt was I tried doing it on my own instead of copypasting an example, and everything just went maximum bork, and I couldn't figure out why until I realized I wasn't doing a boolean check on something or the other, which seemed completely pointless and redundant, but not doing it just broke everything horribly