Advertisement
RiasGremory0100

Untitled

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