Ok, so basically I'm scripting a thing that doesnt clone the tool, it sets a new parent.
The script:
local robot = script.Parent.Robot
local starterpack = game.StarterPack
local Players = game:GetService("Players")
script.Parent.ClickDetector.MouseClick:connect (function(plr)
robot.Parent = game.Players.LocalPlayer.Backpack
end)
As in output, when i click. It says: Workspace.Part.Script:8: attempt to index nil with 'Backpack
Can somebody help?

1 comment
Yes, robot is a tool, I forgot I addded a starterpack variable but will remove it. Just noting about the starterpack, the player would have to reset to have it in the backpack.