Hello, my script is not printing functioning when it is suppose to. here is my code
local Players = game.Players
local Client = Players.LocalPlayer
local Target = script.Parent.Username
script.Parent.TextButton.MouseButton1Click:Connect(function()
if script.Parent.Username.Text == Client.Name then
script.Parent.Warning.Visible = true
else
if table.find(Target, Players.Name) then
print("Functioning")
end
end
end)
Username is a textbox. the script is suppose to find the player that the client that is inputed in the textbox when i try the script there is not functioning. i am trying this with my friend

1 comment
"table" doesn't seem to be defined in this chunk of code