How would I go about scripting an inventory item that disappears after 30 seconds?

Hey, I have an inventory system set up in my game however I want an item in it to be destroyed after 30 seconds. How would I go about doing that?

There is a variable called InitialLifeSpan for all Actors, it’ll let you make it so the item will be automatically removed after 30 seconds. You could use SetLifeSpan function too if you need to adjust it after its been spawned on some condition.