vico1212

Tower Of Hell Kill Parts Remove()

Mar 7th, 2020
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. local killparts = game.workspace.tower:GetDescendants()
  2.  
  3. for i,v in pairs (killparts) do
  4. if v:IsA("BoolValue") or v:IsA("StringValue") then
  5. v.Parent:Destroy()
  6. end
  7. if v:IsA("ManualWeld") then
  8. if v.Name == "kills" then
  9. v.Parent:Destroy()
  10. end
  11. end
  12. if v:IsA("Part") then
  13. v.Anchored = true
  14. end
  15. end
Add Comment
Please, Sign In to add comment