**Well, anyone can help me with cloning a tool when touched while the tool is given?
function onClicked() game.Workspace.EmptyCup:clone() end game.Workspace.EmptyCup.Touched:connect(onClicked)
You have to make a variable for the clone and then set its parent as the players backpack in order to put it into the players inventory.
function onClicked(plr ) local clone = game.Workspace.EmptyCup:clone() clone.Parent = plr.Backpack end game.Workspace.EmptyCup.Touched:connect(onClicked)
So, this?
function onClicked(playerWhoClicked ) game.Workspace.Cups:FindFirstChild("Humanoid") local clone = game.Workspace.Cups.EmptyCup:clone() clone.Parent = playerWhoClicked.Backpack print "Tool has been added into target's inventory."