In the script, I was using parent kinda lot but not sure if thats the issue or not. This gui was in the lighting, and it also trying to delete a frame that was in the lighting. The items are in place though, so idk why it's not working. I dont think I have ever got this error before. Here's my code:
local event = game.ReplicatedStorage.ClosedEvent
event.OnServerEvent:Connect(function()
script.Parent.Parent.Parent:Destroy()
script.Parent.Parent.Parent.Parent.ActiveLobbys.Frame.Frame.Frame:Destroy()
end)
