Move a character with the mouse

so im trying to make a tower placement system, but i just cant figure out how to make the tower model move with the mouse.

i keep getting the error:

"Attempt to index nil with ‘Torso’ "

i dont have any clue on how i am supposed to make the tower model move with the mouse.

here is the code that moves the tower:

Mouse.Move:Connect(function()
	if currentdecoy == nil or isSpawining == false then end
	if not currentdecoy == nil or not isSpawining == false then			
		currentdecoy.Torso.Position = Mouse.Hit.p + Vector3.new(0,1,0)
		towerpos = currentdecoy.Torso.Position
	end
end)

I think the line that checks if not currentdecoy == nil is not working. Just simplify it to if currentdecoy.