Advertisement
ManlyFoes

TryTHis

Apr 28th, 2016
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. local DECALID = "209599043" -- Insert decal ID here
  2.  
  3. local function GetClasses(Object, Class)
  4. local Objects = {}
  5. for _, Child in pairs(Object:GetChildren()) do
  6. pcall(function()
  7. if Child:IsA(Class) then
  8. table.insert(Objects, Child)
  9. end
  10. end)
  11. pcall(function()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement