This is a local script located in StartGui,but it will be only for one team. I have a flash grenade tool,and I want the team called "S.W.A.T" not to be affected by the flash, so, this script should remove the GUI instantly, but, it doesn't work, why?
The "GuiMain" isn't located in StartGui, it appears when the grenade flashes you.
Filtering Enabled.
while true do
if script.Parent.GuiMain.Disabled == false then
script.Parent.GuiMain:Destroy()
end
end

1 comment
lol poor guy