Advertisement
otorp2

roblox get children

Jun 28th, 2017
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. model = game.Workspace.maBrickmodel:GetChildren()
  2.  
  3. model[2].Transparency = .5
  4.  
  5. -------------------------------------------------loop through all
  6.  
  7. for i,v in pairs(model) do
  8. v.Transparency = .5
  9. print(v)
  10.  
  11. end
  12.  
  13. ---------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement