Advertisement
Guest User

Untitled

a guest
May 26th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. function FUNCTION(a)
  2. if (a.className == "Part") or (a.className == "Seat") or (a.className == "SpawnLocation") then
  3. local Int=Instance.new("IntValue")
  4. Int.Parent=a
  5. Int.Name="IntValue"
  6. Int.Value=(a.Material.Value)
  7. end
  8. local b = a:GetChildren()
  9. for i=1,#b do
  10. FUNCTION(b[i])
  11. end
  12. end
  13.  
  14. FUNCTION(game.workspace.NonAnchor)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement