Replicated spawning issue from a clientside ui element

Is your ability a replicated actor? If the ability is something that spawn/die fast like a bullet. You might need a different setup.

1.Set up the 2 custom events to [Run on Server] and [Multicast].
2.Do as the first picture you shown should be fine, make sure to call the Run on Server one.
3.Server pass the variables to the Multicast function
4.Do spawn actor on the multicast function

Each client/server would have use the same variable to create the actor. Works for things like fireball/bullet/explosion where the server/client don’t need to have the same actor.