📜  文本按钮单击 roblox - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:33.743000             🧑  作者: Mango

代码示例1
function leftClick()    print("Left mouse click")end function rightClick()    print("Right mouse click")end script.Parent.MouseButton1Click:Connect(leftClick)script.Parent.MouseButton2Click:Connect(rightClick)