Pickup Script HELP.

Hi all. I have a new hammer tool and is trying to make a script that when you hit build objects then it pick it up and put it into your inventory again.
Just like the Demo Gun from the Structures Plus (S+).

But I simply can’t get the ■■■■ script to work.

I’m trying to use the Event Hit to run the script. But whatever I do nothing happens??

event hit only triggers if something hits the item, not when the item hits something

Okay, thx :). I had little thought that might be it.
But I have tried to work something out with the event actor overlap. But can’t get that to work either.
​​​So how do i start it out?