I tried using :Destroy() but I still can see the item in the explorer I want to get rid of it is there any way?
So for example what I did was put a Screen Gui into StarterGui so That I can put a TextButton Inside ScreenGui to put Destroy() in it
Let me show you the script
TextB = script.Parent -- This is the TextButton because the local script is a child of TextButton
TextB.MouseButton1Click:Connect(function()
TextB:Destroy()--Destroy this, but it doesn't completely destroy it as I can see its name in the explorer

9 comments
What are you trying to destroy?
If you don't post code, we can't help you figure out what you're doing wrong, because you're definitely doing something wrong.
No Like what I mean is The Destroy() works for sure Im just wondering because I put a guy that If i Click on the GuI it gets destroyed but I can see it still in the explorer I want it completely gone from the explorer know what I'm saying?
Make sure ResetOnSpawn property of the ScreenGui is set to false.
You still never showed us what you're talking about. Paste some code, show a screenshot.
Ok Let me post
There
When you look at explorer are you looking in startergui or playergui, playergui is what the player spawns in with and is not modified by the scripts inside of it, playergui is where the actually executed player gui is
^Yeah, assuming you put an end) at the bottom it should execute correctly