DrawingJhon

Hats needed

Dec 12th, 2020 (edited)
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 10.37 KB | None | 0 0
  1. local str = [==[
  2. https://www.roblox.com/catalog/4855525473/Nagamaki
  3. https://www.roblox.com/catalog/8337370/Blockhead-Baseball-Cap
  4. https://www.roblox.com/catalog/48474313/Red-Roblox-Cap
  5. https://www.roblox.com/catalog/48474294/ROBLOX-Girl-Hair
  6. https://www.roblox.com/catalog/451220849/Lavender-Updo
  7. https://www.roblox.com/catalog/62724852/Chestnut-Bun
  8. https://www.roblox.com/catalog/20372960/Bed-Hair
  9. https://www.roblox.com/catalog/63690008/Pal-Hair
  10. https://www.roblox.com/catalog/62234425/Brown-Hair
  11. https://www.roblox.com/catalog/376524487/Blonde-Spiked-Hair
  12. -- For Sex Doll: ROBUX 195
  13. https://www.roblox.com/catalog/4904137145/Emotimask-Relax
  14. https://www.roblox.com/catalog/4246228452/International-Fedora-Spain
  15. https://www.roblox.com/catalog/4911305457/Uranus-Pet
  16. https://www.roblox.com/catalog/4822592866/Mars-Pet
  17. https://www.roblox.com/catalog/3992084515/International-Fedora-Vietnam
  18. https://www.roblox.com/catalog/14815761/Black-and-Red
  19. https://www.roblox.com/catalog/48474294/ROBLOX-Girl-Hair
  20. https://www.roblox.com/catalog/63690008/Pal-Hair
  21. https://www.roblox.com/catalog/62234425/Brown-Hair
  22. https://www.roblox.com/catalog/451220849/Lavender-Updo
  23.  
  24. -- For Plane ROBUX 1k+ (PRICES MAY CHANGE)
  25. https://www.roblox.com/catalog/4025460572/Personal-propeller
  26. https://www.roblox.com/catalog/1532389/Invisible-Egg-of-Shadow
  27. https://www.roblox.com/catalog/191101707/Flaming-Mohawk
  28. https://www.roblox.com/catalog/4332375148/Eltor-a-RS750
  29. https://www.roblox.com/catalog/4708069539/Da-Vincis-Wings
  30. (edited)
  31. [3:52 AM]
  32. -- For Strong Stand: ROBUX 150
  33. https://www.roblox.com/catalog/5269023723/Checker-Of-Vibes
  34. https://www.roblox.com/catalog/4822592866/Mars-Pet
  35. https://www.roblox.com/catalog/48474294/ROBLOX-Girl-Hair
  36. https://www.roblox.com/catalog/28171753/Iwazaru
  37. https://www.roblox.com/catalog/62234425/Brown-Hair
  38. https://www.roblox.com/catalog/63690008/Pal-Hair
  39. https://www.roblox.com/catalog/62724852/Chestnut-Bun
  40. https://www.roblox.com/catalog/451220849/Lavender-Updo
  41. https://www.roblox.com/catalog/3992084515/International-Fedora-Vietnam
  42. https://www.roblox.com/catalog/4246228452/International-Fedora-Spain
  43.  
  44. -- For NPC Spawner GUI: ROBUX 115
  45. https://www.roblox.com/catalog/5067216065/Bakon
  46. https://www.roblox.com/catalog/48474294/ROBLOX-Girl-Hair
  47. https://www.roblox.com/catalog/28171753/Iwazaru
  48. https://www.roblox.com/catalog/62234425/Brown-Hair
  49. https://www.roblox.com/catalog/63690008/Pal-Hair
  50. https://www.roblox.com/catalog/451220849/Lavender-Updo
  51. https://www.roblox.com/catalog/62724852/Chestnut-Bun
  52.  
  53. -- For Car: ROBUX 600
  54. https://www.roblox.com/catalog/4435389917/Eltoria-RX750
  55. https://www.roblox.com/catalog/191101707/Flaming-Mohawk
  56.  
  57. -- For PP: ROBUX 80
  58. https://www.roblox.com/catalog/17614451/Super-Mushroom
  59. https://www.roblox.com/catalog/4246228452/International-Fedora-Spain
  60. https://www.roblox.com/catalog/3992084515/International-Fedora-Vietnam
  61. https://www.roblox.com/catalog/63690008/Pal-Hair
  62. (edited)
  63. July 29, 2020
  64.  
  65. soda jerk07/29/2020
  66. -- For 911 Plane: ROBUX 862
  67. https://www.roblox.com/catalog/4690305028/Tech-Buggie-Wings
  68. https://www.roblox.com/catalog/4627469896/Angelic-Messenger
  69. https://www.roblox.com/catalog/4623675984/Flamingo-Wings
  70. https://www.roblox.com/catalog/4602619613/Red-Crystal-Wings
  71. https://www.roblox.com/catalog/4315489767/Demonic-Greatsword
  72. https://www.roblox.com/catalog/4794315940/Golden-Demonic-Greatsword
  73. https://www.roblox.com/catalog/4461505493/White-Angel-Wings
  74. https://www.roblox.com/catalog/4461584953/Fallen-Angel-Wings
  75.  
  76. -- For 911: ROBUX 2.5k+
  77. https://www.roblox.com/catalog/4998547654/Airplane
  78. https://www.roblox.com/catalog/28171753/Iwazaru
  79. https://www.roblox.com/catalog/20372960/Bed-Hair
  80. https://www.roblox.com/catalog/62234425/Brown-Hair
  81. https://www.roblox.com/catalog/63690008/Pal-Hair
  82. https://www.roblox.com/catalog/62724852/Chestnut-Bun
  83. https://www.roblox.com/catalog/451220849/Lavender-Updo
  84.  
  85. -- For Bike: ROBUX 600
  86. https://www.roblox.com/catalog/191101707/Flaming-Mohawk
  87. https://www.roblox.com/catalog/5063566353/Atomic-Prussian-Bike
  88.  
  89. -- For Shidashian: ROBUX 1k+ (LIMITEDS CHANGE PRICES)
  90. https://www.roblox.com/catalog/3806215779/Poop
  91. https://www.roblox.com/catalog/5132802731/Pink-Pom-poms
  92. https://www.roblox.com/catalog/31151864/Starry-Egg-of-the-Wild-Ride
  93. https://www.roblox.com/catalog/27345567/Fiery-Egg-of-Egg-Testing
  94. https://www.roblox.com/catalog/24826811/Agonizingly-Ugly-Egg-of-Screensplat
  95. https://www.roblox.com/catalog/24826755/Explosive-Egg-of-Kaboom
  96. (edited)
  97. August 3, 2020
  98.  
  99. soda jerk08/03/2020
  100. MAKE SURE YOU HAVE THESE PACKAGES:
  101. [11:14 PM]
  102. https://www.roblox.com/bundles/239/
  103. Woman - Roblox
  104. Roblox is a global platform that brings people together through play.
  105. [11:14 PM]
  106. https://www.roblox.com/bundles/282/
  107. ROBLOX Girl    - Roblox
  108. Roblox is a global platform that brings people together through play.
  109. August 4, 2020
  110.  
  111. soda jerk08/04/2020
  112. -- For Hoverboard: ROBUX 785
  113. https://www.roblox.com/catalog/5067216065/Bakon
  114. https://www.roblox.com/catalog/28171753/Iwazaru
  115. https://www.roblox.com/catalog/191101707/Flaming-Mohawk
  116. https://www.roblox.com/catalog/48474294/ROBLOX-Girl-Hair
  117. https://www.roblox.com/catalog/451220849/Lavender-Updo
  118. https://www.roblox.com/catalog/62724852/Chestnut-Bun
  119. https://www.roblox.com/catalog/14815761/Black-and-Red
  120. https://www.roblox.com/catalog/20372960/Bed-Hair
  121. https://www.roblox.com/catalog/63690008/Pal-Hair
  122. https://www.roblox.com/catalog/62234425/Brown-Hair
  123.  
  124. -- For TrashCan: ROBUX 265
  125. https://www.roblox.com/catalog/4735336570/Trash-Can-Lid
  126. https://www.roblox.com/catalog/4735272012/Trash-Can
  127. https://www.roblox.com/catalog/451220849/Lavender-Updo
  128. https://www.roblox.com/catalog/62724852/Chestnut-Bun
  129. https://www.roblox.com/catalog/14815761/Black-and-Red
  130. https://www.roblox.com/catalog/63690008/Pal-Hair
  131. https://www.roblox.com/catalog/62234425/Brown-Hair
  132. (edited)
  133. August 21, 2020
  134. soda jerk
  135.  pinned
  136. a message
  137.  to this channel.
  138. See all the pins.
  139. 08/21/2020
  140. August 27, 2020
  141.  
  142. soda jerk08/27/2020
  143. -- For Naruto: ROBUX 185
  144. https://www.roblox.com/catalog/14815761/Black-and-Red
  145. https://www.roblox.com/catalog/5064378661/Yellow-Transcendent-Hair
  146. https://www.roblox.com/catalog/451220849/Lavender-Updo
  147. https://www.roblox.com/catalog/62724852/Chestnut-Bun
  148. https://www.roblox.com/catalog/63690008/Pal-Hair
  149. https://www.roblox.com/catalog/62234425/Brown-Hair
  150.  
  151. -- For Fairy: ROBUX 300
  152. https://www.roblox.com/catalog/150381051/Spring-Fairy
  153.  
  154. -- For Noob Dance: ROBUX 140
  155. https://www.roblox.com/catalog/14815761/Black-and-Red
  156. https://www.roblox.com/catalog/5233446395/Plush-Noob
  157. https://www.roblox.com/catalog/451220849/Lavender-Updo
  158. https://www.roblox.com/catalog/62724852/Chestnut-Bun
  159. https://www.roblox.com/catalog/63690008/Pal-Hair
  160. https://www.roblox.com/catalog/62234425/Brown-Hair
  161.  
  162. -- For Knight: ROBUX 265
  163. https://www.roblox.com/catalog/14815761/Black-and-Red
  164. https://www.roblox.com/catalog/4904161131/Atomic-Crusader-Shield
  165. https://www.roblox.com/catalog/4904148005/Atomic-Crusader-Helmet
  166. https://www.roblox.com/catalog/451220849/Lavender-Updo
  167. https://www.roblox.com/catalog/62724852/Chestnut-Bun
  168. https://www.roblox.com/catalog/63690008/Pal-Hair
  169. https://www.roblox.com/catalog/62234425/Brown-Hair]==]
  170. local tab = {}
  171. function round(num, numDecimalPlaces)
  172.   local mult = 10^(numDecimalPlaces or 0)
  173.   return math.floor(num * mult + 0.5) / mult
  174. end
  175. function string3(vt)
  176.     local x,y,z = string.match(tostring(vt), "([%d%.]+), ([%d%.]+), ([%d%.]+)")
  177.     --return {x=tonumber(x);y=tonumber(y);z=tonumber(z)}
  178.     local typ = typeof(vt)
  179.     return (typ == "Vector3" and {x=vt.X,y=vt.Y,z=vt.Z}) or (typ == "Color3" and {x=vt.R,y=vt.G,z=vt.B})
  180. end
  181. for id in string.gmatch(str, "/catalog/(%d+)/") do
  182.     local ac = game:GetService("InsertService"):LoadAsset(tonumber(id)):GetChildren()[1]
  183.     --if tonumber(id) ~= 4435389917 then continue end
  184.     local mesh = ac.Handle:findFirstChildOfClass("SpecialMesh")
  185.     local fire = ac.Handle:findFirstChildOfClass("Fire")
  186.     local sparkles = ac.Handle:findFirstChildOfClass("Sparkles")
  187.     tab[#tab+1] = {
  188.         Name = ac.Name;
  189.         Size = string3(ac.Handle.Size);
  190.         Mesh = {
  191.             Name = mesh.Name;
  192.             MeshId = mesh.MeshId;
  193.             Offset = string3(mesh.Offset);
  194.             TextureId = mesh.TextureId;
  195.             Scale = string3(mesh.Scale);
  196.         };
  197.         OriginalSize = ac.Handle:findFirstChild("OriginalSize") and string3(ac.Handle.OriginalSize.Value);
  198.         AvatarPartScaleType = ac.Handle:findFirstChild("AvatarPartScaleType") and ac.Handle.AvatarPartScaleType.Value;
  199.         Fire = fire and {
  200.             Name = fire.Name;
  201.             Color = string3(fire.Color);
  202.             Enabled = fire.Enabled;
  203.             SecondaryColor = string3(fire.SecondaryColor);
  204.             Heat = fire.Heat;
  205.             Size = fire.Size;
  206.         };
  207.         Sparkles = sparkles and {
  208.             Name = sparkles.Name;
  209.             Enabled = sparkles.Enabled;
  210.             SparkleColor = string3(sparkles.SparkleColor);
  211.         }
  212.     }
  213. end
  214.  
  215. function toVector3(tab)
  216.     return Vector3.new(tab.x, tab.y, tab.z)
  217. end
  218.  
  219. function toColor3(tab)
  220.     return Color3.new(tab.x, tab.y, tab.z)
  221. end
  222.  
  223. for i, info in next, tab do
  224.     local ac = Instance.new("Accessory")
  225.     ac.Name = info.Name
  226.     local handle = Instance.new("Part", ac)
  227.     handle.Name = "Handle"
  228.     handle.BottomSurface = "Smooth"
  229.     handle.TopSurface = "Smooth"
  230.     handle.Size = toVector3(info.Size)
  231.     handle.CanCollide = false
  232.     handle.Transparency = 0
  233.     local mesh = Instance.new("SpecialMesh", handle)
  234.     mesh.Name = info.Mesh.Name
  235.     mesh.MeshType = "FileMesh"
  236.     mesh.MeshId = info.Mesh.MeshId
  237.     mesh.TextureId = info.Mesh.TextureId
  238.     mesh.Offset = toVector3(info.Mesh.Offset)
  239.     mesh.Scale = toVector3(info.Mesh.Scale)
  240.     local at = Instance.new("Attachment", handle)
  241.     at.Name = "HatAttachment"
  242.     if info.OriginalSize then
  243.         local vs = Instance.new("Vector3Value", handle)
  244.         vs.Name = "OriginalSize"
  245.         vs.Value = toVector3(info.OriginalSize)
  246.     end
  247.     if info.AvatarPartScaleType then
  248.         local val = Instance.new("StringValue", handle)
  249.         val.Name = "AvatarPartScaleType"
  250.         val.Value = info.AvatarPartScaleType
  251.     end
  252.     if info.Fire then
  253.         local fire = Instance.new("Fire", handle)
  254.         fire.Name = info.Fire.Name
  255.         fire.Color = toColor3(info.Fire.Color)
  256.         fire.Enabled = info.Fire.Enabled
  257.         fire.SecondaryColor = toColor3(info.Fire.Color)
  258.         fire.Heat = info.Fire.Heat
  259.         fire.Size = info.Fire.Size
  260.     end
  261.     if info.Sparkles then
  262.         local sparkle = Instance.new("Sparkles", handle)
  263.         sparkle.Name = info.Sparkles.Name
  264.         sparkle.Enabled = info.Sparkles.Enabled
  265.         sparkle.SparkleColor = toColor3(info.Sparkles.SparkleColor)
  266.     end
  267.     ac.Parent = owner.Character
  268.     handle:SetNetworkOwner(owner)
  269. end
  270. print("Positioned")
Add Comment
Please, Sign In to add comment