Hi devforum, I currently have this done to my predictive text system,
I was wondering that if script.Parent.Frame.TextBox.Text falls under 2 usernames it would set script.Parent.Frame.TextBox.TextLabel.Text blank in this code
script.Parent.Frame.TextBox:GetPropertyChangedSignal("Text"):Connect(function()
script.Parent.Frame.TextBox.Text = script.Parent.Frame.TextBox.Text:upper()
script.Parent.Frame.TextBox.TextLabel.Text = script.Parent.Frame.TextBox.Text
if string.len(script.Parent.Frame.TextBox.Text) >= 1 then
for _,v in pairs(game.Players:GetPlayers()) do
if string.sub(v.Name,1,string.len(script.Parent.Frame.TextBox.Text)) == script.Parent.Frame.TextBox.Text then
script.Parent.Frame.TextBox.TextLabel.Text = string.upper(v.Name)
else
print("false")
end
end
end
end)