ERROR MESSAGE -11:37:59.873 - AddID is not a valid member of ScreenGui 11:37:59.875 - Script 'Players.Player.PlayerGui.MusicLibrary.Menu.HistoryFrame.Add', Line 2 The script is this, but before I show it, there is a screengui that contains a value called AddID. It is 5 parents away from the script. There is also a Library frame which is 4 parents away from the script. This is the script:
script.Parent.MouseButton1Click:connect(function()
script.Parent.Parent.Parent.Parent.Parent.AddID.NameValue.Value = script.Parent.Parent.Text
script.Parent.Parent.Parent.Parent.LibraryFrame.Visible = true
script.Parent.Parent.Parent = false
script.Parent.Parent.Visible = false
end)
