Create Blueprint class and use UGameplayStatics

Tried the link on the answer, and thanks to the person that pointed out there was one. Though, the link wasn’t working for me, so just in case that was happening for anyone else, here’s the link to a solution that worked for me, potentially the same one: 525776