for i, v in next, game:GetDescendants(), nil do if not v:IsA("ClickDetector") then continue end v:AddTag("Clickable") end local cs = game:GetService("CollectionService") for _, detector in next, cs:GetTagged("Clickable"), nil do detector.MouseClick:Connect(function() setclipboard("game."..detector:GetFullName()) print("Copied to clipboard!") end) --should output which player clicked the detector end