Picking up an object

i have looked all over the internet, but i cant find out how to pick up an object and have it change your jump hight, or have it where when you pick up the object, you are able to shoot. please help.

Most times, picking a weapon, health pack, extra life etc. is a fake operation: you just destroy the picked object and modify some variable in your player script that changes the height, or enables the weapon, or adds health etc. Take a look at this answer for more details: Pick Up The Gun - Questions & Answers - Unity Discussions