Advertisement
reav85

Untitled

Nov 14th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  2. if v.ClassName == "Script" then
  3. for i,c in pairs(v:GetChildren()) do
  4. if c.Name == "" then
  5. v:Remove()
  6.  
  7. end
  8. end
  9. end
  10. end
  11. char = game.Players.LocalPlayer.Character
  12.  
  13. pos = char.Torso.Position
  14.  
  15. for i, v in pairs(game.Workspace:GetChildren()) do
  16. for i, v in pairs(v:GetChildren()) do
  17. for i, v in pairs(v:GetChildren()) do
  18. if v.ClassName == "UnionOperation" then
  19. local t = false
  20. local s = false
  21. local p = false
  22. for i, v in pairs(v:GetChildren()) do
  23. if v.ClassName == "TouchTransmitter" then
  24. t = true
  25. end
  26. if v.ClassName == "Script" then
  27. s = true
  28. end
  29. if v.ClassName == "Part" then
  30. p = true
  31. end
  32. if t == true then
  33. if s == true then
  34. if p == true then
  35. char:MoveTo(v.Parent.Position)
  36. wait(0.9)
  37. char:MoveTo(pos)
  38. end
  39. end
  40. end
  41. end
  42. end
  43. end
  44. end
  45. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement