Advertisement
NotExotic

No SwiningBalls

Sep 21st, 2023
211
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("SwingingBalls")
  4.  
  5. -- Check if the folder exists
  6. if killBricksFolder then
  7. -- Destroy the folder and its contents
  8. killBricksFolder:Destroy()
  9. print("Balls folder has been deleted.")
  10. else
  11. print("Balls folder not found.")
  12. end
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement