CCCPaste

Planks (Give Tool)

local Debounce = false

script.Parent.ClickDetector.MouseClick:Connect(function(player)
	game.ServerStorage.ItemsFolder.Plank:Clone().Parent = player.Backpack
end)

script.Parent.Touched:Connect(function(Hit)
	if Hit.Parent:FindFirstChild("Humanoid") then
		if Debounce == false then
			
			Debounce = true
			
			local character = Hit.Parent
			local Player = game.Players:GetPlayerFromCharacter(character)
			
			game.ServerStorage.ItemsFolder.Plank:Clone().Parent = Player.Backpack
			
			wait(.5)
			
			Debounce = false
		end
	end
end)