How to execute an only event in whom I execute it.?????

hello,

i want to know how to make an event only run on the client, a little context, i have a widget that shows the number of bullets, this widget only shows when the player grabs a gun, the event that this widget shows is like a show ammo event, and it was always on not replicating, but when I test it, if the customer grabs a gun, the event doesn’t replicate (as it should) and when a server grabs it it replicates for everyone, even when the event is like DO NOT REPLICATE, any idea how to solve this?
Thank you

Hi man
The switch has authority can help you , to fire an evento only if is on client 1.2 - Detecting Network Authority and Remote Clients in Blueprints | Unreal Engine Documentation