Yeah what i said to do at top of this thread about replicating, ignore that. That will mess this all up. I did not realize what the function was a doing, but i do now after a long read on it. Its a client function that runs on clients from tick. So it is already being replicated to the client.
Ok i figured out what they are doing with “client == role_authority”; if the function is a client function. The client will have authority over it as it is his function as its a client function so he has client = =role_authority over the function.
Sorry for the miss confusion.