Universal Script 📌
10.1k Views
200 Executions

any click detectors click detector script

Universal Script 📌
ThatOneNoob
ThatOneNoobPublished 5
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

use this script to log the paths of the click detectors you click so that you can make more scripts with the click detector 👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍

Updates

  1. Script edited: Create script

View Raw
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




Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!