local uip = game:GetService("UserInputService") uip.InputBegan:Connect(function(Key) if Key.KeyCode == Enum.KeyCode.E then for _,v in pairs(game.Players:GetPlayers()) do if string.match(script.Parent.TextBox.Text, v.Name) then print(v) end end end end)
The property inside the textbox does not update when I type in it, thus this script does not work. Any fix?