Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Find the folder you want to delete
- local worldMap = game.Workspace.WorldMap
- local killBricksFolder = worldMap:FindFirstChild("KillBricks")
- -- Check if the folder exists
- if killBricksFolder then
- -- Destroy the folder and its contents
- killBricksFolder:Destroy()
- print("KillBricks folder has been deleted.")
- else
- print("KillBricks folder not found.")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement