Dikipi_Gamer

Untitled

Apr 8th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. function unanchor(parent)
  2. local blah = parent:GetChildren()
  3. for i = 1, #blah do
  4. if (blah[i].className == "Part") or (blah[i].className == "SpawnLocation") or (blah[i].className == "Seat") then
  5. blah[i].Anchored = false
  6. elseif (blah[i].className == Model) then
  7. unanchor(blah[i])
  8. end
  9. end
  10. end
  11. end
  12. while true do
  13. wait(1)
  14. unanchor(game.Workspace)
Add Comment
Please, Sign In to add comment