Answers for "on clicked on lua"

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
0

lua how to make a click to activate button

script.Parent.MouseButton1Click:Connect(function()
--What ever you want to do
end)
Posted by: Guest on August-09-2020

Code answers related to "on clicked on lua"

Browse Popular Code Answers by Language