near the top of the script.
No idea if this might work.
Sorry for wasting your time, but what I did was a really stupid mistake. I put the CallRemoteFunction before the includes. Now I fixed it by putting the function AFTER the includes. Thanks anyways