Advertisement
Baldeagle22

z

Oct 18th, 2018
513
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.42 KB | None | 0 0
  1. -- DECAL SPAM SCRIPT. CHANGE THIS TO THE DECAL ID YOU WANT TO BE SPAMMED.
  2.  
  3. local ID = 851746206
  4.  
  5. -- IF YOU WANT THE SKYBOX TO BE SPAMMED AS WELL, TURN THIS TO TRUE.
  6.  
  7. local Skybox = true
  8.  
  9. -- FINALLY, IF YOU WANT PARTICLES TO BE SPAMMED, TURN THIS TO TRUE.
  10.  
  11. local particle = true
  12.  
  13. -- DO NOT CHANGE BELOW. UNLESS YOU KNOW WHAT YOU'RE DOING.
  14.  
  15. for i,v in pairs (game.Workspace:GetChildren()) do
  16. if v:IsA("Part") then
  17. local decal1 =Instance.new("Decal")
  18. local decal2 =Instance.new("Decal")
  19. local decal3 =Instance.new("Decal")
  20. local decal4 =Instance.new("Decal")
  21. local decal5 =Instance.new("Decal")
  22. local decal6 =Instance.new("Decal")
  23. decal1.Texture = "http://www.roblox.com/asset/?id=" ..ID
  24. decal2.Texture = "http://www.roblox.com/asset/?id=" ..ID
  25. decal3.Texture = "http://www.roblox.com/asset/?id=" ..ID
  26. decal4.Texture = "http://www.roblox.com/asset/?id=" ..ID
  27. decal5.Texture = "http://www.roblox.com/asset/?id=" ..ID
  28. decal6.Texture = "http://www.roblox.com/asset/?id=" ..ID
  29. decal1.Parent = v
  30. decal2.Parent = v
  31. decal3.Parent = v
  32. decal4.Parent = v
  33. decal5.Parent = v
  34. decal6.Parent = v
  35. decal1.Face = "Front"
  36. decal2.Face = "Top"
  37. decal3.Face = "Left"
  38. decal4.Face = "Right"
  39. decal5.Face = "Bottom"
  40. decal6.Face = "Back"
  41. end
  42. end
  43. for i,v in pairs (game.Workspace:GetChildren()) do
  44. if v:IsA("Model") then
  45. for i,z in pairs (v:GetChildren()) do
  46. if z:IsA("Part") then
  47. local decal7 =Instance.new("Decal")
  48. local decal8 =Instance.new("Decal")
  49. local decal9 =Instance.new("Decal")
  50. local decal10 =Instance.new("Decal")
  51. local decal11 =Instance.new("Decal")
  52. local decal12 =Instance.new("Decal")
  53. decal7.Texture = "http://www.roblox.com/asset/?id=" ..ID
  54. decal8.Texture = "http://www.roblox.com/asset/?id=" ..ID
  55. decal9.Texture = "http://www.roblox.com/asset/?id=" ..ID
  56. decal10.Texture = "http://www.roblox.com/asset/?id=" ..ID
  57. decal11.Texture = "http://www.roblox.com/asset/?id=" ..ID
  58. decal12.Texture = "http://www.roblox.com/asset/?id=" ..ID
  59. decal7.Parent = z
  60. decal8.Parent = z
  61. decal9.Parent = z
  62. decal10.Parent = z
  63. decal11.Parent = z
  64. decal12.Parent = z
  65. decal7.Face = "Front"
  66. decal8.Face = "Top"
  67. decal9.Face = "Left"
  68. decal10.Face = "Right"
  69. decal11.Face = "Bottom"
  70. decal12.Face = "Back"
  71. end
  72. end
  73. end
  74. end
  75.  
  76.  
  77. if Skybox == true then
  78. local sky = Instance.new("Sky")
  79. sky.Parent = game.Lighting
  80. sky.SkyboxBk = "http://www.roblox.com/asset/?id=" ..ID
  81. sky.SkyboxDn = "http://www.roblox.com/asset/?id=" ..ID
  82. sky.SkyboxFt = "http://www.roblox.com/asset/?id=" ..ID
  83. sky.SkyboxLf = "http://www.roblox.com/asset/?id=" ..ID
  84. sky.SkyboxRt = "http://www.roblox.com/asset/?id=" ..ID
  85. sky.SkyboxUp = "http://www.roblox.com/asset/?id=" ..ID
  86. end
  87.  
  88. if particle == true then
  89. for i,v in pairs (game.Workspace:GetChildren()) do
  90. if v:IsA("Part") then
  91. local particle = Instance.new("ParticleEmitter")
  92. particle.Texture = "http://www.roblox.com/asset/?id=" ..ID
  93. particle.Parent = v
  94. particle.Rate = 200
  95. for i,x in pairs (game.Workspace:GetChildren()) do
  96. if x:IsA("Model") then
  97. for i,z in pairs (x:GetChildren()) do
  98. if z:IsA("Part") then
  99. local particle2 = Instance.new("ParticleEmitter")
  100. particle2.Texture = "http://www.roblox.com/asset/?id=" ..ID
  101. particle2.Parent = z
  102. particle2.Rate = 200
  103. end
  104. end
  105. end
  106. end
  107. end
  108. end
  109. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement