SetFunction()
Sets the buttons function
function HelloWorld
print("Hello World!")
end
function HelloNotWorld
print("Hello not World")
end
local Button = Menu.AddButton("Button", HelloWorld)
Button:SetFunction(HelloNotWorld)
Last updated
Sets the buttons function
function HelloWorld
print("Hello World!")
end
function HelloNotWorld
print("Hello not World")
end
local Button = Menu.AddButton("Button", HelloWorld)
Button:SetFunction(HelloNotWorld)
Last updated