Typo in menu table: "fuction" instead of "function".
(Typo in menu table: "fuction" instead of "function".) |
|||
| Line 20: | Line 20: | ||
local menu = { | local menu = { | ||
{ text = "Select an Option", isTitle = true}, | { text = "Select an Option", isTitle = true}, | ||
{ text = "Option 1", func = | { text = "Option 1", func = function() print("You've chosen option 1"); end }, | ||
{ text = "Option 2", func = function() print("You've chosen option 2"); end }, | { text = "Option 2", func = function() print("You've chosen option 2"); end }, | ||
{ text = "More Options", hasArrow = true, | { text = "More Options", hasArrow = true, | ||