I am attempting to make a moderation GUI that allows my in-game admins to teleport players, kick them etc. However, right now they need to enter in the players full name (ROBLOX instead of ROB or something) I have tried to use :findfirstchild, however that returns nil unless the players name is completely entered.
local SearchFor = "Lua" for i,v in pairs(game.Players:GetPlayers()) do if v.Name:lower():sub(1,SearchFor:len()) == SearchFor:lower() then print(v.Name) end end