
10.1k Views
200 Executions
any click detectors click detector script
Universal Script 📌
ThatOneNoobPublished 5
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo 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
Script edited: Create script
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
0Log in to join the conversation. Login
No comments yet. Be the first!





