Advertisement
Guest User

Untitled

a guest
Jan 18th, 2020
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.80 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. local Phrases = {
  14.  
  15. "gasgasgas was here"
  16. }
  17.  
  18.  
  19. Textures = {
  20. "http://xdiscuss.net/data/assets/uploads/eb4d7918b2d880d90717a9883915bd2e09f36ce6bee328ec66c16fe3e3cfa151db7bdc18ee714ff49e5c34a3d907e640103f2da11545f2f7e8db76931d6fe1e5",
  21. }
  22.  
  23.  
  24. Instance.new("Sky", game:GetService("Lighting")).CelestialBodiesShown = false
  25. Instance.new("Message", Workspace)
  26. Instance.new("Hint", Workspace)
  27.  
  28.  
  29. while true do
  30. for _, Part in pairs(GetRecursiveChildren(game, {})) do
  31. pcall(function()
  32. if not Part:IsA("Player")then
  33. pcall(function() Part.Name = Phrases[math.random(1, #Phrases)] end)
  34. pcall(function() Part.Text = Phrases[math.random(1, #Phrases)] end)
  35. pcall(function() Part.Image = Textures[math.random(1, #Textures)] end)
  36. pcall(function() Part.TextureId = Textures[math.random(1, #Textures)] end)
  37. pcall(function() Part.Texture = Textures[math.random(1, #Textures)] end)
  38. pcall(function() Part.ShirtTemplate = Textures[math.random(1, #Textures)] end)
  39. pcall(function() Part.PantsTemplate = Textures[math.random(1, #Textures)] end)
  40. pcall(function() Part.Graphic = Textures[math.random(1, #Textures)] end)
  41. pcall(function() Part.Color = Color3.new(math.random(), math.random(), math.random()) end)
  42. pcall(function() Part.Color3 = Color3.new(math.random(), math.random(), math.random()) end)
  43. pcall(function()
  44. Part.SkyboxUp = Textures[math.random(1, #Textures)]
  45. Part.SkyboxDn = Textures[math.random(1, #Textures)]
  46. Part.SkyboxLf = Textures[math.random(1, #Textures)]
  47. Part.SkyboxRt = Textures[math.random(1, #Textures)]
  48. Part.SkyboxFt = Textures[math.random(1, #Textures)]
  49. Part.SkyboxBk = Textures[math.random(1, #Textures)]
  50. end)
  51. pcall(function()
  52. Part.TextColor3 = Color3.new(math.random(), math.random(), math.random())
  53. Part.BackgroundColor3 = Color3.new(math.random(), math.random(), math.random())
  54. Part.BorderColor3 = Color3.new(math.random(), math.random(), math.random())
  55. end)
  56. pcall(function()
  57. Part.Pitch = math.random() * 5
  58. Part.Volume = 1
  59. Part.Looped = true
  60. Part:Play()
  61. end)
  62. pcall(function()
  63. if math.random(1, 5) == 1 then Part.Anchored = false end
  64. if Part.Anchored == false then
  65. Part.Velocity = Vector3.new(math.random(-10, 10), math.random(0, 50), math.random(-10, 10))
  66. Part.RotVelocity = Vector3.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
  67. end
  68. Part.Locked = false
  69. Part.BrickColor = BrickColor.random()
  70. Part.TopSurface = "Weld"
  71. Part.BottomSurface = "Weld"
  72. Part.FrontSurface = "Weld"
  73. Part.BackSurface = "Weld"
  74. Part.LeftSurface = "Weld"
  75. Part.RightSurface = "Weld"
  76. Part:BreakJoints()
  77. end)
  78. end
  79. end)
  80. if math.random(1, 50) == 1 then end
  81. end
  82. end
  83. s.Parent = game.workspace
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement