So I want to be able to get a player via there name. I dont mean like going into player service and getting them there, like idk how to explain it but heres a plugin that does it.
I basically want to get the player via there name basically how players:GetPlayerByUserId() works.
Inside a localscript which Iβve put inside a textbox:
local Players = game:GetService("Players")
script.Parent.FocusLost:Connect(function() --When a player finishes typing player name
local userId = Players:GetUserIdFromNameAsync(script.Parent.Text)
print(userId)
end)