MouseClick (Event)

From Legacy Roblox Wiki
Revision as of 03:06, 18 January 2012 by >JulienDethurens (Did some changes.)
Jump to navigationJump to search
MouseClick ( Player playerWhoClicked )
Description Fired after ClickDetector's parent is clicked.
Member of: ClickDetector


Example

Workspace.Part.ClickDetector.MouseClick:connect(function(playerWhoClicked)

 print("Part was clicked by: " .. playerWhoClicked.Name)

end)