Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Problem on RemoteFunctions, can't seem to find the fix?

Asked by 10 years ago

It may sound easy, but honestly I don't understand nothing here. I've even tried to assign a random variable, or no variable at all to a random argument, but this is the problem: **The first argument of member function InvokeServer must be an Object!** is what Studio gives me when I try to InvokeServer my function.

On the serverside, the script responsible for the function awaits an argument named player, which should automatically come when it is called. No more arguments. But, in the ClientSide, the compiler debates about the error above. I've even tried to add the player argument manually, but then: ´The function InvokeServer is not a member of "Player"´

Any help? If you need the scripts, I'll post them.

Answer this question