I want to find out what words are after the word ui and put it in a varible that can be transfered t anorther function. My code is below:
main.SearchBox:GetPropertyChangedSignal("Text"):Connect(function()
local Boxtext = main.SearchBox.Text
if string.lower(Boxtext):match("ui") then
action = "ui"
notificationtween()
end
end)