I need help, I'n my game it requires a gravity gun such as in half life 2 that picks up objects such as cubes and spheres

If you have a script on how to do this PLEASE post it! or if you know where there is a tutorial please provide a link! Thanks so much!!!!

Here is a Gravity Gun from the Unity forums