Skip to content

Instantly share code, notes, and snippets.

@spotco
Last active August 31, 2017 08:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spotco/d2dea03db4b6daa093d2311f6dc1fa3f to your computer and use it in GitHub Desktop.
Save spotco/d2dea03db4b6daa093d2311f6dc1fa3f to your computer and use it in GitHub Desktop.
find_texture.lua
function r_itr(cur)
pcall(function()
if cur.Texture == "rbxgameasset://Images/WORLD_PARK_flowercircle1-old" then
print(cur:GetFullName())
end
end)
for _,child in pairs(cur:GetChildren()) do
r_itr(child)
end
end
r_itr(game.Selection:Get()[1])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment