Skip to content

Instantly share code, notes, and snippets.

@spotco
Created November 14, 2017 23:49
Show Gist options
  • Select an option

  • Save spotco/5ffd5a38c0ed20541e629003273eb0b3 to your computer and use it in GitHub Desktop.

Select an option

Save spotco/5ffd5a38c0ed20541e629003273eb0b3 to your computer and use it in GitHub Desktop.
TransparencyConvert.lua
function r_itr(cur)
pcall(function()
if cur.Transparency == 1 then
cur.Transparency = 0.99
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