📜  gui button roblox - 任何代码示例

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

代码示例2
local button = script.Parent
 
local function onButtonActivated()
    print("Button activated!")
    -- Perform expected button action(s) here
 
end
 
button.Activated:Connect(onButtonActivated)