Hi, can someone please help me with a script?

I need a script that when used equips a tool from your backpack. Thank you.