I’m trying to get my script to make the main frame visible after moving the frame of where the script is coming from. The code that I’m using right now is
local mainFrame = script.Parent.Parent.Parent.Parent.Parent.Parent.Main
local mainEmail = script.Parent.Parent
mainEmail.Parent = script.Parent.Parent.Parent.Parent.Parent.Parent.Emails.Email_Frame:FindFirstChild(script.Parent.Parent.ID.Value)
mainFrame.Visible = true
mainEmail.Visible = false
There’s no errors in the code at all, so I’m not sure what to do