Advertisement
Justmyusername

today work

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