How to make a script where the player who clicked on the tool will make the tool to go to his backpack?
function OnClick(Clicker)
print("The player who clicked is named: " .. Clicker.Name)
script.Parent:Clone().Parent = game.Players.LocalPlayer.BackPack
script.Parent:Destroy()
end script.Parent.ClickDetector.MouseClick:connect(OnClick)
