Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

lua click detection

local clickDetector = workspace.Part.ClickDetector
 
function onMouseClick()
	print("You clicked me!")
end
 
clickDetector.MouseClick:connect(onMouseClick)
 
PREVIOUS NEXT
Tagged: #lua #click #detection
ADD COMMENT
Topic
Name
7+1 =