Answers for "functions click on gui roblox"

Lua
1

functions click on gui roblox

function leftClick()
	print("Left mouse click")
end
 
function rightClick()
	print("Right mouse click")
end
 
script.Parent.MouseButton1Click:Connect(leftClick)
script.Parent.MouseButton2Click:Connect(rightClick)
Posted by: Guest on July-29-2020

Browse Popular Code Answers by Language