Edd= script.Parent.Parent
function getPlayer(name)
local returned = {}
for i, v in pairs(game.Players:GetPlayers()) do
if v.Name:sub(1, Edd.BoxPlayer.Text()):lower() == name:lower() then
table.insert(returned, v)
end
end
return returned
end?
I am trying to do a admin panel and when someone types like a short version of a name to do that command on a text box. For example The text box would say y8 then you would kill y8pogo123589 when you press the kill button.
