I need help with finding a specific word in all the objects inside my game, counting Models, Scripts, TextLabels and et cetera. I would like to know if there is a script that could help me doing this.
Not telling for anybody to script it for me, but I would like to know if there is indeed something about this on where I can do it.
(ps. This means mostly that I want to check inside the properties if it ends up being in TextLabels and alike.)
For workspace you could use:
for _, element in pairs(workspace:GetDescendants()) do if element.Name == "something" then print("found") end --use something like this to check in textlabels if element:IsA("TextLabel") then if element.Text == "something" then print("found in textlabel") end end end
This will however not check the properties, except text labels text. You may need to add more checks like the one for TextLabel
I provided. Similar script should be done for playergui
. And for search inside scripts, you can use SearchAll
option.