Does destroy() destroy the whole frame?

Okay so i’ve had that simple script for my loading frame. Here is it.

task.wait(5)
script.Parent.Parent:Destroy()

The local script is located in a TextLabel who is INSIDE of a frame. But the frame does seem to keep coming back when I put Destroy() , Does destroy() destroy the whole frame ?

1 Like

I believe it destroys the frame and the children of the frame.

It always come back when I reset tho

Go to the screen gui, then disable “ResetOnSpawn”

1 Like

Oh yeah my bad! I thought it was a error from the script , Lemme delete the topic.

1 Like