So I have a button that gets added every time a player joins, and it holds the player's name, and I made it where if it is clicked the player's name gets put into textbox.text, but for some reason, it won't what is happening?
local playerName = script.Parent.Text or script.Parent.Name
local adminPanelOutline = script.Parent.Parent.Parent.AdminPanelOutline
local adminPanel = adminPanelOutline.AdminPanel
local moderationFrame = adminPanel.ModerationFrame
local inputPlayerName = moderationFrame.InputPlayerName
script.Parent.MouseButton1Down:Connect(function()
inputPlayerName.Text = playerName
end)
