MouseClick (Event)

From Legacy Roblox Wiki
Revision as of 00:24, 21 December 2011 by >Legend26
Jump to navigationJump to search
MouseClick ( Player playerWhoClicked )
Description Fired after ClickDetector's parent is clicked.
Member of: ClickDetector


Example
game.Workspace.Part.ClickDetector.MouseClick:connect(function(playerWhoClicked)
  print("Part was clicked by: " .. playerWhoClicked.Name)
end)