Advertisement
NotExotic

Dletes anti -v oid awedwa

Sep 21st, 2023
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. -- Reference to the parts with the specified name
  2. local partsToDelete = game.Workspace:FindPartsInRegion3(game.Workspace:WaitForChild("WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW").CFrame, Vector3.new(10, 10, 10), nil)
  3.  
  4. -- Check if any parts with the specified name were found
  5. if #partsToDelete > 0 then
  6. -- Loop through and destroy each part
  7. for _, part in ipairs(partsToDelete) do
  8. part:Destroy()
  9. end
  10. print("All parts with the specified name have been deleted.")
  11. else
  12. print("No parts with the specified name found in the workspace.")
  13. end
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement