I want to insert a script into all parts that are a certain name, eg. "PutScriptHere". I know how I would get all the children of the Workspace...
game.Workspace:GetChildren()
But, how would I actually look through them, like, for example, I would a table -
for i = 1, #table do
print[i]
end
I can do the checking the name myself if I have the code to look through the parts. I'm assuming I would do that by doing -
if part.Name == "PutScriptHere" and part.ClassName == "Part" then
script.ThingyScript:Clone(part)
end
Can anyone help? c:

2 comments
Thank you! Works a treat :)
You're welcome. If you found it helpful, I hope you wouldn't mind marking my answer as accepted. :)