Replicate not working from client side

bReplicates = True.
I have a simple linetrace to trigger an event. Does anyone know why the interface only works if it is called from the server ?, anyway, with Cast it works on both sides.

The function goes all the way to the Server Destroy event, which does the action to destroy the object. This function runs on both sides. If it is activated from the server it destroys the actor on both sides. If it runs from the client, it reaches the action of destroying but it never destroys itself on the client or the server.

Also being a client if I call the function twice the client crashes

on the ServerDestroy event, you have to connect the Actor pin to the Target pin

That part of the code I removed because it did not work. I was testing for a while more and I realized that I never managed to get information to the client in any way. I tried multicast with Print string and only the message gets to the server.