i literally just dont know how to call a function from another class :/

You should create a new first person shooter project and select C++ project. It will make a copy of all the normal blueprint classes in C++ and you can see how they do all this stuff.