RepNotify is executed in the client side… so the server side don’t know what is going on and that is a replication problem.
1-Change the value of the replicated variable on server side
2-Execute whatever function in server side
3-Execute whatever function inside RepNotify (client side)
4-Done!!