Advertisement
Guest User

Thinggg

a guest
Jul 2nd, 2015
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. script.Parent.Selected:connect(function(mouse)
  2. mouse.Button1Down:connect(function()
  3. local targ = mouse.Hit
  4. if targ ~= nil and targ:FindFirstChild('ClickDetector') then
  5. print('Clicked');
  6. end;
  7. end);
  8. end);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement