ryanswagg20

Decal Spam

Sep 25th, 2016 (edited)
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. --[[ made by ManMinded ]]--
  2.  
  3. texture = "http://www.roblox.com/asset/?id=6193350202" -- put id there, then set last digit one number back
  4.  
  5. local A = game.Workspace:GetChildren()
  6. local B = game.Workspace:GetChildren()
  7. local C = game.Workspace:GetChildren()
  8. local D = game.Workspace:GetChildren()
  9. local E = game.Workspace:GetChildren()
  10. local F = game.Workspace:GetChildren()
  11. for i,v in pairs(A) do
  12. if v:IsA("Part") then
  13. local d = Instance.new("Decal",v)
  14. v.Decal.Face = "Top"
  15. v.Decal.Texture = texture
  16. v.Anchored = true
  17. end
  18. end
  19.  
  20. for i,v in pairs(B) do
  21. if v:IsA("Part") then
  22. local s = Instance.new("Decal",v)
  23. s.Face = "Front"
  24. s.Texture = texture
  25. end
  26. end
  27.  
  28. for i,v in pairs(C) do
  29. if v:IsA("Part") then
  30. local h = Instance.new("Decal",v)
  31. h.Face = "Back"
  32. h.Texture = texture
  33. end
  34. end
  35.  
  36. for i,v in pairs(D) do
  37. if v:IsA("Part") then
  38. local j = Instance.new("Decal",v)
  39. j.Face = "Left"
  40. j.Texture = texture
  41. end
  42. end
  43.  
  44. for i,v in pairs(E) do
  45. if v:IsA("Part") then
  46. local k = Instance.new("Decal",v)
  47. k.Face = "Right"
  48. k.Texture = texture
  49. end
  50. end
  51.  
  52. for i,v in pairs(F) do
  53. if v:IsA("Part") then
  54. local l = Instance.new("Decal",v)
  55. l.Face = "Bottom"
  56. l.Texture = texture
  57. end
  58. end
  59.  
  60. --[[ made by ManMinded ]]--
Add Comment
Please, Sign In to add comment