Look for recent scripts, as older Roblox scripts (pre-2020) often use deprecated functions. How to Implement a Script (Basic Steps) Copy the Lua code from the Pastebin link. Open Roblox Studio: Go to the Explorer panel.
-- 5. Clean up wait(1.5) -- How long the scare lasts gui:Destroy() debounce = false
If you want to add more features to this setup, let me know:
-- Wait for a few seconds then hide and destroy the image wait(3) imageClone.Visible = false wait(1) imageClone:Destroy() end