QwertyHacker

ClickDetector Functions

Jan 20th, 2021 (edited)
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. local part = script.Parent
  2. local clickDetector = script.Parent:FindFirstChild('ClickDetector')
  3. clickDetector.MouseClick:Connect(function()
  4.                                   -- Put whatever you want to happen when you click on the part here.
  5. end)
  6.  
Add Comment
Please, Sign In to add comment