Help me find the command for "FindAll/ReplaceAll" in studio. I want to replace all the :Destroy() with game.Debris:AddItem()

Please help?

image

Help me find the shortcut for this

The keybind for FindAll/ReplaceAll is Ctrl+Shift+F

You can do (Ctrl+Shift+F) on Windows, or (Cmd+Shift+F) on Mac.

Alternatively,

  1. Open the script that contains the code you want to replace.
  2. Click on the “Find and Replace” button in the Home tab of the ribbon menu.
  3. In the “Find” box, type :Destroy() .
  4. In the “Replace” box, type game.Debris:AddItem() .
  5. Click on the “Replace All” button to replace all instances of :Destroy() with game.Debris:AddItem() .
2 Likes

Will that work though?

Part:Destroy()

is the same as
game.Debris:AddItem() ??