The local script is in clickdetector.
local log = game.Workspace.Model
local clickD = script.Parent
local player = game.Players.LocalPlayers
local function MoveToInv()
local copylog = log:Clone()
copylog.Parent = player.Backpack
end
clickD.MouseClick:connect(MoveToInv)
This do not work, I don't know why...

1 comment
ClickDetectors return an argument, that which is the player. (function (player) -- end)