I am making an Admin GUI and I have made it so once you type in a username and click Search then that username is put on another text box in the information GUI.
The issue is that it works one time however once I write another username and click Search, it doesn't work? Can someone please help?
The code in TextButton:
local player = script.Parent.Parent.Parent.Parent.TextBox.TextBox_Roundify_12px.TextBox.Text
local frame2 = script.Parent.Parent.Parent.Parent.Parent.Info
function searching()
frame2.Username.Text = player
end
script.Parent.MouseButton1Click:Connect(searching)

1 comment
Thank you this worked! Much appreciated!