Advertisement
Alex325

Server Destruction Script

Nov 2nd, 2017
6,734
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.84 KB | None | 0 0
  1. -- input
  2. function GetRecursiveChildren(Part, Children)
  3. for _, Part in pairs(Part:GetChildren()) do
  4. pcall(function()
  5. table.insert(Children, Part)
  6. GetRecursiveChildren(Part, Children)
  7. end)
  8. end
  9. return Children
  10. end
  11.  
  12.  
  13.  
  14.  
  15. Textures = {
  16. "http://www.roblox.com/Asset/?id=59515602",
  17. "http://www.roblox.com/Asset/?id=48308661",
  18. "http://www.roblox.com/Asset/?id=42198984",
  19. "http://www.roblox.com/Asset/?id=59421095",
  20. "http://www.roblox.com/Asset/?id=59454680",
  21. "http://www.roblox.com/Asset/?id=59784967",
  22. "http://www.roblox.com/Asset/?id=45791014",
  23. "http://www.roblox.com/Asset/?id=58492970",
  24. "http://www.roblox.com/Asset/?id=59278856"
  25. }
  26.  
  27.  
  28. Instance.new("Sky", game:GetService("Lighting")).CelestialBodiesShown = false
  29. Instance.new("Message", Workspace)
  30. Instance.new("Hint", Workspace)
  31.  
  32.  
  33. while true do
  34. for _, Part in pairs(GetRecursiveChildren(game, {})) do
  35. pcall(function()
  36. if not Part:IsA("Player")then
  37. pcall(function() Part.Name = Phrases[math.random(1, #Phrases)] end)
  38. pcall(function() Part.Text = Phrases[math.random(1, #Phrases)] end)
  39. pcall(function() Part.Image = Textures[math.random(1, #Textures)] end)
  40. pcall(function() Part.TextureId = Textures[math.random(1, #Textures)] end)
  41. pcall(function() Part.Texture = Textures[math.random(1, #Textures)] end)
  42. pcall(function() Part.ShirtTemplate = Textures[math.random(1, #Textures)] end)
  43. pcall(function() Part.PantsTemplate = Textures[math.random(1, #Textures)] end)
  44. pcall(function() Part.Graphic = Textures[math.random(1, #Textures)] end)
  45. pcall(function() Part.Color = Color3.new(math.random(), math.random(), math.random()) end)
  46. pcall(function() Part.Color3 = Color3.new(math.random(), math.random(), math.random()) end)
  47. pcall(function()
  48. Part.SkyboxUp = Textures[math.random(1, #Textures)]
  49. Part.SkyboxDn = Textures[math.random(1, #Textures)]
  50. Part.SkyboxLf = Textures[math.random(1, #Textures)]
  51. Part.SkyboxRt = Textures[math.random(1, #Textures)]
  52. Part.SkyboxFt = Textures[math.random(1, #Textures)]
  53. Part.SkyboxBk = Textures[math.random(1, #Textures)]
  54. end)
  55. pcall(function()
  56. Part.TextColor3 = Color3.new(math.random(), math.random(), math.random())
  57. Part.BackgroundColor3 = Color3.new(math.random(), math.random(), math.random())
  58. Part.BorderColor3 = Color3.new(math.random(), math.random(), math.random())
  59. end)
  60. pcall(function()
  61. Part.Pitch = math.random() * 5
  62. Part.Volume = 1
  63. Part.Looped = true
  64. Part:Play()
  65. end)
  66. pcall(function()
  67. if math.random(1, 5) == 1 then Part.Anchored = false end
  68. if Part.Anchored == false then
  69. Part.Velocity = Vector3.new(math.random(-10, 10), math.random(0, 50), math.random(-10, 10))
  70. Part.RotVelocity = Vector3.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
  71. end
  72. Part.Locked = false
  73. Part.BrickColor = BrickColor.random()
  74. Part.TopSurface = "Weld"
  75. Part.BottomSurface = "Weld"
  76. Part.FrontSurface = "Weld"
  77. Part.BackSurface = "Weld"
  78. Part.LeftSurface = "Weld"
  79. Part.RightSurface = "Weld"
  80. Part:BreakJoints()
  81. end)
  82. end
  83. end)
  84. if math.random(1, 50) == 1 then wait() end
  85. end
  86. end
  87. s.Parent = game.workspace
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement