Event run on sever not working.

I have created the custom event and set it to Run on Server but it not execute anything. It works fine if I change back to no replicated but if I do that it will not send any information to the server.
Any idea how to fix it?