Hello. I am trying to create a search bar, but for that I need the script to only get a specific part and proceed it as a variable, for example;
The script:
local y = string.lower(textBox.Text)
print(y)
if y == ‘roblox’ then
label.Text = ‘Roblox is a multiplayer platform for all ages.’
If a player types ‘roblox game’ instead of ‘roblox’ nothing triggers. Is there a way I can trigger if the keyword is close?