HOW TO MAKE A SELF-DESTRUCT FRAME IN ROBLOX! || Roblox Studio
Very simple!
SCRIPT (local script in your frame):
local frame = script.Parent
local text = script.Parent.Countdown
if frame.Visible == true then
print("Countdown will start in about 15 seconds...")
text.Text = "Countdown Soon..."
wait(5)
text.Text = "10"
wait(1)
text.Text = "9"
wait(1)
text.Text = "8"
wait(1)
text.Text = "7"
wait(1)
text.Text = "6"
wait(1)
text.Text = "5"
wait(1)
text.Text = "4"
wait(1)
text.Text = "3"
wait(1)
text.Text = "2"
wait(1)
text.Text = "1"
wait(1)
text.Text = "0"
wait(.5)
frame:Destroy()
wait(.1)
print("The frame has been destroyed!")
end
Like and subscribe if it helps! LINK YOUR GAMES BELOW! I would love to see!
![](https://s2.save4k.ru/pic/4CVbNGbkSyU/maxresdefault.jpg)