Last active
November 6, 2020 00:48
-
-
Save callumbrieske/87b80bf837fe8335f202239125fc202a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local items = { | |
"Bacon", | |
"Lettuce", | |
"Tomato" | |
} | |
Controls.list.Choices = items | |
Controls.list.EventHandler = function(ctl) | |
print(ctl.String .. " has been selected!") | |
ctl.String = ctl.String .. "\xEF\xBB\xBF" -- Add an invisible character. | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment