num6456

Untitled

Mar 18th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. --Brought to you by RBC
  2. --This script is designed to work in non-FE games
  3.  
  4.  
  5. function recurse(Model)
  6. local children = Model:GetChildren()
  7. for i = 1,#children do
  8. if children[i]:IsA("Part") then
  9. wait()
  10.  
  11. local cf = Instance.new("CFrameValue",children[i])
  12. cf.Value = children[i].CFrame
  13. cf.Name = "cf"
  14.  
  15. e = Instance.new("Explosion",children[i])
  16. e.Position = children[i].Position
  17. e.BlastRadius = 50
  18. children[i].Position = Vector3.new(0,1500,0)
  19. f = Instance.new("BodyPosition",children[i])
  20. f.Name = "bp"
  21. f.Position = Vector3.new(0,2000,0)
  22. f.MaxForce = Vector3.new(1000000,1000000,1000000)
  23. f.P = 10000
  24. elseif children[i]:IsA("Model") then
  25. recurse(children[i])
  26. end
  27. end
  28. end
  29.  
  30.  
  31. local m = Instance.new("Message",game.Workspace)
  32. for i = 10,1,-1 do
  33. m.Text = "Total Annihilation in "..i
  34. wait(1)
  35. end
  36. m.Text = "Brought to you by RBC"
  37. wait(2)
  38. m:remove()
  39. recurse(Workspace)
Add Comment
Please, Sign In to add comment