Pickup item to slow down time

I know how to slow down time using set global time dilation and activating it on a key press but how would I go about creating a pickup an item and then using that pickup item at a later stage to activating it?