Answers for "how to fire click detecctor from local script roblox"

2

lua click detection

local clickDetector = workspace.Part.ClickDetector
 
function onMouseClick()
	print("You clicked me!")
end
 
clickDetector.MouseClick:connect(onMouseClick)
Posted by: Guest on September-14-2020

Code answers related to "how to fire click detecctor from local script roblox"

Browse Popular Code Answers by Language