Functions Click On Gui Roblox

[Solved] Functions Click On Gui Roblox | Lua - Code Explorer | yomemimo.com
Question : functions click on gui roblox

Answered by : literal-destruction

function leftClick()	print("Left mouse click")
end
function rightClick()	print("Right mouse click")
end
script.Parent.MouseButton1Click:Connect(leftClick)
script.Parent.MouseButton2Click:Connect(rightClick)

Source : | Last Update : Wed, 05 Aug 20

Answers related to functions click on gui roblox

Code Explorer Popular Question For Lua