Is there a way to find a script that says something?

So, my game is extremely messy and has scripts in random places. I can’t code so I honestly don’t know what these scripts do. Anyways, I am looking for a script that says a certain keyword. I was wondering if there is a certain way to look through all scripts for a certain keyword. Like CRTL + F but for a game. Thank you!

3 Likes

Ctrl+Shift+F and you can search all scripts at once.

5 Likes

He said CTRL + F. That’s single script search. I said Ctrl+Shift+F. Take your own advice
gm5y26_90621

Literally what this does

1 Like
table.foreach(function(i,v)
  if v:IsA('BaseScript') and v.Source:match("print(\"Hello, World!\")") then print('useless script') end
end)
2 Likes

Hey it worked! Thank you to everybody who helped me with this. This seems like the simplest solution but I appreciate all the support.