PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

Click

Fired when the plugin button is clicked.


Code Samples


Button.Click

local Toolbar = Plugin:CreateToolbar("Hello World Plugin Toolbar")
local Button = Toolbar:CreateButton("Print Hello World", "Click this button to print Hello World!", "rbxassetid://133293265")

Button.Click:Connect(function ()
    print("Hello world!")
end)