Advertisement
NotExotic

No Ads

Sep 21st, 2023
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. -- Find the folder you want to delete
  2. local worldMap = game.Workspace.WorldMap
  3. local killBricksFolder = worldMap:FindFirstChild("Ads")
  4.  
  5. -- Check if the folder exists
  6. if killBricksFolder then
  7. -- Destroy the folder and its contents
  8. killBricksFolder:Destroy()
  9. print("KillBricks folder has been deleted.")
  10. else
  11. print("KillBricks folder not found.")
  12. end
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement