Destroying actors & Replication

Hello.
I’ve been working on a random loot system. The random spawning works and is replicated to all clients as I wanted, and I wanted to initiate a pickup system. I obviously started by removing the items when pressing E on them. So here’s the problem. i’ve had a little fun with the replication system and half of it works. When the server clicks an item, it disappears but NOT on the client. But if I click on the client, the item ALSO disappears on the server but not on the client either (so the client can not r

emove the item by any means…)
Here’s my code if interested.

don’t use second custom event you’re trying to 2 times destroy actor use just 1 event and select run on server reliable.
if doesn’t work tell me again.

All things replicated should happen on the server. The replication works from the server to the client only. If you need something to happen on the server because of an action on the client - you have to use an RPC call from the client to the server that would carry out the required actions on the latter so they replicate back to the client.