please tell im stupid local function onTouch(Part) print("Touch started: " .. Part.Name) numTouchingParts = numTouchingParts + 1 tl.Text = numTouchingParts end
local function onTouchEnded(Part) print("Touch ended: " .. Part.Name) numTouchingParts = numTouchingParts - 1 tl.Text = numTouchingParts end
Part.Touched:Connect(onTouch) if canGive == false then canGive = true local clone = tool:Clone() clone.Parent = Player.Backpack wait(1) canGive = false end
Part.TouchEnded:Connect(onTouchEnded)
