My pick up script is not working, get 0 errors.

Hello

Here is my pick up script. i get no errors. what im doing is to try pick up an M82 . First i attatch the script to the firstperson controller and then
I put a empty game object where i want the M82 to go when picked up and named it “hand” and made it a child of my character model hand. Then i duplicated the M82 from the world and placed it in the Gameobject slot.

What happens is when entering playmode is, the duplicated M82 is gone, and the one i want too pick up when pressing “f” dont work, nothing happens.

help me please, i would really appreciate it, thanks good people off the unity community.

static var onetimeM82 : boolean = true ;
var M82 : GameObject;
var hand : GameObject ;
static var callM82 : boolean = false;

function Update()
{
if(Input.GetKeyUp(“f”))
{
callTheM82();
}
if(M82.Destroy.getM82 == true callM82 == true)
{
M82.transform.position = hand.transform.position;
M82.transform.rotation = hand.transform.rotation;
}
else
{
M82.transform.position = Vector3(-100,-100,650);
}
}

function callTheM82()
{
if(onetimeM82 == true)
{
callM82 = true;
onetimeM82 = false;
}
else
{
callM82 = false;
onetimeM82 = true;
}
}

I don’t see any place you’re instantiating the M82 and attaching it?

not sure what to do, i would appreciate if u could help me out