local label = script.Parent.Parent.Test
local inputLabel = script.Parent
local players = game.Players:GetChildren()
while true do
wait(5)
if table.find(players, inputLabel.Text) then
label.Text = 'Success!'
else
label.Text = 'Waiting...'
wait(1)
label.Text = 'Failure..!'
end
end
I have a TextBox where you can input the name, however, I always get the Failure option. How can I successfully check for the name of a player in the TextBox?

4 comments
Thanks, I’ll try it out when I get back on my PC
No problem!
" is not a valid member of Players", Late response, but the this is the new error which erupts from the new table.find
Blankspace is not a valid member? Are you sure you typed the username in?