Zindex Parent problem related to GUi

i was making a admin panel, till this. i was making a button that close admin panel and open admin panel. however if admin panel’s parent was screengui. the button will cover them because their Zindex are higher… but if admin panel’s parent is button, admin panel cover them that not suppose
Couldn’t taken Video cuz my wifi is terrible

admin panel’s parent is button


admin panel’s parent is screengui

  1. admin’s parent is screengui, Button able to cover them
  2. admin’s parent is button, admin panel able to cover them and i don’t wanna this
4 Likes