Advertisement
HenloMyDude

brick hamman morph

Dec 17th, 2019
510
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.16 KB | None | 0 0
  1. plr = owner
  2. char = plr.Character
  3. tors = char.Torso
  4. ra = char["Right Arm"]
  5. la = char["Left Arm"]
  6. hed = char.Head
  7. root = char.HumanoidRootPart
  8. hum = char.Humanoid
  9.  
  10. ezweld = function(p, a, b, cf)
  11. local weld = Instance.new("Weld",p)
  12. weld.Part0 = a
  13. weld.Part1 = b
  14. weld.C0 = cf
  15. return weld
  16. end
  17.  
  18. NewSound = function(p, id, pit, vol, loop)
  19. local Sound = Instance.new("Sound",p)
  20. Sound.Pitch = pit
  21. Sound.Volume = vol
  22. Sound.SoundId = "rbxassetid://" ..id
  23. Sound.Looped = loop
  24. Sound:Play()
  25. return Sound
  26. end
  27.  
  28. wandi = false
  29. IT = Instance.new
  30. Rad = math.rad
  31. Cos = math.cos
  32. Sin = math.sin
  33. BrickC = BrickColor.new
  34. C3 = Color3.new
  35. VT = Vector3.new
  36.  
  37. for i,v in pairs (char:GetDescendants()) do
  38. if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("Decal") or v:IsA("Texture") then
  39. v:remove()
  40. end
  41. if v:IsA("Part") then
  42. v.Transparency = 1
  43. end
  44. end
  45.  
  46. cors = {}
  47. mas = Instance.new("Model",game:GetService("Lighting"))
  48. Model0 = Instance.new("Model")
  49. Part1 = Instance.new("Part")
  50. Weld2 = Instance.new("Weld")
  51. Weld3 = Instance.new("Weld")
  52. Weld4 = Instance.new("Weld")
  53. Part5 = Instance.new("Part")
  54. CylinderMesh6 = Instance.new("CylinderMesh")
  55. ParticleEmitter7 = Instance.new("ParticleEmitter")
  56. Model8 = Instance.new("Model")
  57. Part9 = Instance.new("Part")
  58. CylinderMesh10 = Instance.new("CylinderMesh")
  59. Part11 = Instance.new("Part")
  60. CylinderMesh12 = Instance.new("CylinderMesh")
  61. Model0.Name = "Wand"
  62. Model0.Parent = mas
  63. Model0.PrimaryPart = Part1
  64. Part1.Name = "Base"
  65. Part1.Parent = Model0
  66. Part1.CFrame = CFrame.new(99.6891098, 0.100066148, 124.775757, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  67. Part1.Position = Vector3.new(99.6891098, 0.100066148, 124.775757)
  68. Part1.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
  69. Part1.BottomSurface = Enum.SurfaceType.Smooth
  70. Part1.CanCollide = false
  71. Part1.Material = Enum.Material.SmoothPlastic
  72. Part1.TopSurface = Enum.SurfaceType.Smooth
  73. Weld2.Name = "Joint"
  74. Weld2.Parent = Part1
  75. Weld2.C0 = CFrame.new(-4.76837158e-06, -4.57763672e-05, -1.69998741, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  76. Weld2.Part0 = Part1
  77. Weld2.Part1 = Part5
  78. Weld2.part1 = Part5
  79. Weld3.Name = "BTWeld"
  80. Weld3.Parent = Part1
  81. Weld3.C1 = CFrame.new(7.62939453e-06, -0.499984741, 4.57763672e-05, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  82. Weld3.Part0 = Part1
  83. Weld3.Part1 = Part11
  84. Weld3.part1 = Part11
  85. Weld4.Name = "BTWeld"
  86. Weld4.Parent = Part1
  87. Weld4.C1 = CFrame.new(7.62939453e-06, 0.700012207, 4.57763672e-05, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  88. Weld4.Part0 = Part1
  89. Weld4.Part1 = Part9
  90. Weld4.part1 = Part9
  91. Part5.Name = "Head"
  92. Part5.Parent = Model0
  93. Part5.CFrame = CFrame.new(99.6891022, 0.100020371, 123.075768, 1, 0, 0, 0, 0, 1, 0, -1, 0)
  94. Part5.Orientation = Vector3.new(-90, 0, 0)
  95. Part5.Position = Vector3.new(99.6891022, 0.100020371, 123.075768)
  96. Part5.Rotation = Vector3.new(-90, 0, 0)
  97. Part5.Color = Color3.new(0.972549, 0.972549, 0.972549)
  98. Part5.Size = Vector3.new(0.200000003, 0.199999928, 0.200000003)
  99. Part5.BottomSurface = Enum.SurfaceType.Smooth
  100. Part5.BrickColor = BrickColor.new("Institutional white")
  101. Part5.CanCollide = false
  102. Part5.Material = Enum.Material.SmoothPlastic
  103. Part5.TopSurface = Enum.SurfaceType.Smooth
  104. Part5.brickColor = BrickColor.new("Institutional white")
  105. CylinderMesh6.Parent = Part5
  106. ParticleEmitter7.Name = "Sparkles"
  107. ParticleEmitter7.Parent = Part5
  108. ParticleEmitter7.Speed = NumberRange.new(5, 15)
  109. ParticleEmitter7.Rotation = NumberRange.new(0, 360)
  110. ParticleEmitter7.Enabled = false
  111. ParticleEmitter7.LightEmission = 1
  112. ParticleEmitter7.Texture = "rbxassetid://1053546634"
  113. ParticleEmitter7.Transparency = NumberSequence.new(1,0,1)
  114. ParticleEmitter7.ZOffset = -0.10000000149012
  115. ParticleEmitter7.Size = NumberSequence.new(0.40000000596046,0.40000000596046)
  116. ParticleEmitter7.Drag = 15
  117. ParticleEmitter7.Lifetime = NumberRange.new(1, 1)
  118. ParticleEmitter7.Rate = 45
  119. ParticleEmitter7.SpreadAngle = Vector2.new(360, 360)
  120. ParticleEmitter7.VelocitySpread = 360
  121. Model8.Name = "Union"
  122. Model8.Parent = Model0
  123. Part9.Parent = Model8
  124. Part9.CFrame = CFrame.new(99.6891022, 0.100020371, 125.475769, 1, 0, 0, 0, 0, 1, 0, -1, 0)
  125. Part9.Orientation = Vector3.new(-90, 0, 0)
  126. Part9.Position = Vector3.new(99.6891022, 0.100020371, 125.475769)
  127. Part9.Rotation = Vector3.new(-90, 0, 0)
  128. Part9.Color = Color3.new(0.972549, 0.972549, 0.972549)
  129. Part9.Size = Vector3.new(0.200000003, 0.199999928, 0.200000003)
  130. Part9.Anchored = true
  131. Part9.BottomSurface = Enum.SurfaceType.Smooth
  132. Part9.BrickColor = BrickColor.new("Institutional white")
  133. Part9.Material = Enum.Material.SmoothPlastic
  134. Part9.TopSurface = Enum.SurfaceType.Smooth
  135. Part9.brickColor = BrickColor.new("Institutional white")
  136. CylinderMesh10.Parent = Part9
  137. Part11.Parent = Model8
  138. Part11.CFrame = CFrame.new(99.6891022, 0.100020371, 124.275772, 1, 0, 0, 0, 0, 1, 0, -1, 0)
  139. Part11.Orientation = Vector3.new(-90, 0, 0)
  140. Part11.Position = Vector3.new(99.6891022, 0.100020371, 124.275772)
  141. Part11.Rotation = Vector3.new(-90, 0, 0)
  142. Part11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  143. Part11.Size = Vector3.new(0.200000003, 2.19999981, 0.200000003)
  144. Part11.Anchored = true
  145. Part11.BottomSurface = Enum.SurfaceType.Smooth
  146. Part11.BrickColor = BrickColor.new("Really black")
  147. Part11.Material = Enum.Material.SmoothPlastic
  148. Part11.TopSurface = Enum.SurfaceType.Smooth
  149. Part11.brickColor = BrickColor.new("Really black")
  150. CylinderMesh12.Parent = Part11
  151. for i,v in pairs(mas:GetChildren()) do
  152. v.Parent = nil
  153. pcall(function() v:MakeJoints() end)
  154. end
  155. for i,v in pairs(Model0:GetChildren()) do
  156. if v:IsA("Part") then
  157. v.Anchored = false
  158. end
  159. end
  160. for i,v in pairs(Model8:GetChildren()) do
  161. v.Anchored = false
  162. end
  163. mas:Destroy()
  164. for i,v in pairs(cors) do
  165. spawn(function()
  166. pcall(v)
  167. end)
  168. end
  169.  
  170. WAND = Model0
  171.  
  172. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  173. local NEWWELD = Instance.new(TYPE)
  174. NEWWELD.Part0 = PART0
  175. NEWWELD.Part1 = PART1
  176. NEWWELD.C0 = C0
  177. NEWWELD.C1 = C1
  178. NEWWELD.Parent = PARENT
  179. return NEWWELD
  180. end
  181.  
  182. local wand = Instance.new("Model",char)
  183.  
  184. function SpawnWand(ARM)
  185. local STAFF = WAND:Clone()
  186. STAFF.Parent = wand
  187. local WELD = CreateWeldOrSnapOrMotor("Weld", ARM, ARM, STAFF.Base, CFrame.new(0,-1.2,0), CFrame.new(0,0,0))
  188. return STAFF,WELD,STAFF.Head.Sparkles
  189. end
  190.  
  191. wandi = false
  192. plr.Chatted:connect(function(msg)
  193. if msg == "!wand" then
  194. if wandi then
  195. wandi = false
  196. wand:ClearAllChildren()
  197. else
  198. wandi = true
  199. SpawnWand(la)
  200. end
  201. end
  202. end)
  203.  
  204. local part = Instance.new("Part",char)
  205. part.Size = Vector3.new(0.1, 0.1, 0.1)
  206. part.CanCollide = false
  207. part.BrickColor = BrickColor.new("Maroon")
  208. local mesh = Instance.new("SpecialMesh",part)
  209. mesh.MeshId = "rbxassetid://63717022"
  210. mesh.Scale = Vector3.new(1.6, 2.5, 1.6)
  211. local weld = ezweld(char, part, tors, CFrame.new(0, -1, -0.5) * CFrame.Angles(Rad(180), Rad(180), 0))
  212.  
  213. local part = Instance.new("Part",char)
  214. part.Size = Vector3.new(0.1, 0.1, 0.1)
  215. part.CanCollide = false
  216. part.BrickColor = BrickColor.new("Magenta")
  217. part.Material = "Neon"
  218. local mesh = Instance.new("SpecialMesh",part)
  219. mesh.MeshId = "rbxassetid://63717022"
  220. mesh.Scale = Vector3.new(1.58, 2.5, 1.58)
  221. mesh.VertexColor = Vector3.new(0.8, 0.8, 0.8)
  222. local weld = ezweld(char, part, tors, CFrame.new(0, -1.05, -0.48) * CFrame.Angles(Rad(180), Rad(180), 0))
  223.  
  224. local part = Instance.new("Part",char)
  225. part.Size = Vector3.new(0.1, 0.1, 0.1)
  226. part.CanCollide = false
  227. part.BrickColor = BrickColor.new("Really black")
  228. part.Material = "Concrete"
  229. local mesh = Instance.new("SpecialMesh",part)
  230. mesh.MeshId = "rbxassetid://28463033"
  231. mesh.Scale = Vector3.new(1, 1, 1)
  232. mesh.VertexColor = Vector3.new(0.8, 0.8, 0.8)
  233. local weld = ezweld(char, part, tors, CFrame.new(0, -0.18, 0.55) * CFrame.Angles(Rad(0), Rad(0), 0))
  234.  
  235. local part = Instance.new("Part",char)
  236. part.Size = Vector3.new(0.1, 0.1, 0.1)
  237. part.CanCollide = false
  238. part.BrickColor = BrickColor.new("Really black")
  239. part.Material = "Concrete"
  240. local mesh = Instance.new("SpecialMesh",part)
  241. mesh.MeshId = "rbxassetid://1147595316"
  242. mesh.TextureId = "rbxassetid://1147597253"
  243. mesh.Offset = Vector3.new(0, 0.25, 0)
  244. mesh.Scale = Vector3.new(0.8, 0.8, 0.8)
  245. mesh.VertexColor = Vector3.new(1, 1, 1)
  246. local weld = ezweld(char, part, hed, CFrame.new(0, -0.075, -0.5) * CFrame.Angles(Rad(0), Rad(180), 0))
  247.  
  248. local part = Instance.new("Part",char)
  249. part.Size = Vector3.new(0.1, 0.1, 0.1)
  250. part.CanCollide = false
  251. part.BrickColor = BrickColor.new("Maroon")
  252. part.Material = "Plastic"
  253. local mesh = Instance.new("SpecialMesh",part)
  254. mesh.MeshId = "rbxassetid://57475891"
  255. mesh.Offset = Vector3.new(0, 0.25, 0)
  256. mesh.Scale = Vector3.new(0.9, 0.9, 0.9)
  257. mesh.VertexColor = Vector3.new(1, 1, 1)
  258. local weld = ezweld(char, part, hed, CFrame.new(0, -1, 0) * CFrame.Angles(Rad(0), Rad(0), 0))
  259.  
  260. local part = Instance.new("Part",char)
  261. part.Size = Vector3.new(0.1, 0.1, 0.1)
  262. part.CanCollide = false
  263. part.BrickColor = BrickColor.new("Magenta")
  264. part.Material = "Concrete"
  265. local mesh = Instance.new("SpecialMesh",part)
  266. mesh.MeshId = "rbxassetid://57475891"
  267. mesh.Offset = Vector3.new(0, 0.25, 0)
  268. mesh.Scale = Vector3.new(0.8, 0.8, 0.8)
  269. mesh.VertexColor = Vector3.new(1, 1, 1)
  270. local weld = ezweld(char, part, hed, CFrame.new(0, -0.925, 0) * CFrame.Angles(Rad(0), Rad(0), 0))
  271.  
  272. local sp = Instance.new("Part",char)
  273. sp.Size = Vector3.new(1.8, 2.3, 0.5)
  274. sp.CanCollide = false
  275. sp.Transparency = 1
  276. local sparkle = Instance.new("ParticleEmitter",sp)
  277. sparkle.Texture = "rbxassetid://1053546634"
  278. sparkle.LockedToPart = true
  279. sparkle.Name = "Sparkles"
  280. sparkle.Enabled = true
  281. sparkle.Transparency = NumberSequence.new(1, 0, 1)
  282. sparkle.Size = NumberSequence.new(0.4)
  283. sparkle.Lifetime = NumberRange.new(1, 4)
  284. sparkle.LightEmission = NumberSequence.new(1)
  285. sparkle.EmissionDirection = "Top"
  286. sparkle.VelocityInheritance = NumberSequence.new(0)
  287. sparkle.Rotation = NumberRange.new(0, 360)
  288. sparkle.RotSpeed = NumberRange.new(0)
  289. sparkle.Acceleration = Vector3.new(0, 0.15, 0)
  290. sparkle.Speed = NumberRange.new(0)
  291. sparkle.SpreadAngle = Vector2.new(45, 45)
  292. sparkle.Rate = 15
  293. sparkle.LightEmission = 1
  294. sparkle.ZOffset = -0.1
  295. local weld = ezweld(char, sp, tors, CFrame.new(0, 0.7, -0.25) * CFrame.Angles(Rad(0), Rad(0), 0))
  296.  
  297. local part = Instance.new("Part",char)
  298. part.Size = Vector3.new(1.156, 0.308, 1.156)
  299. part.CanCollide = false
  300. part.BrickColor = BrickColor.new("Crimson")
  301. part.Material = "Concrete"
  302. local mesh = Instance.new("SpecialMesh",part)
  303. mesh.MeshType = "Sphere"
  304. mesh.Offset = Vector3.new(0, -0.7, 0)
  305. local weld = ezweld(char, part, ra, CFrame.new(0, -0.38, 0) * CFrame.Angles(Rad(0), Rad(0), 0))
  306.  
  307. local part = Instance.new("Part",char)
  308. part.Size = Vector3.new(1.156, 0.231, 1.156)
  309. part.CanCollide = false
  310. part.BrickColor = BrickColor.new("Crimson")
  311. part.Material = "Concrete"
  312. local mesh = Instance.new("CylinderMesh",part)
  313. mesh.Offset = Vector3.new(0, -0.75, 0)
  314. local weld = ezweld(char, part, ra, CFrame.new(0, -0.31, 0) * CFrame.Angles(Rad(0), Rad(0), 0))
  315.  
  316. local part = Instance.new("Part",char)
  317. part.Size = Vector3.new(1.233, 0.154, 1.233)
  318. part.CanCollide = false
  319. part.BrickColor = BrickColor.new("Cocoa")
  320. part.Material = "Concrete"
  321. local mesh = Instance.new("CylinderMesh",part)
  322. mesh.Offset = Vector3.new(0, -0.75, 0)
  323. local weld = ezweld(char, part, ra, CFrame.new(0, -0.21, 0) * CFrame.Angles(Rad(0), Rad(0), 0))
  324.  
  325. local part = Instance.new("Part",char)
  326. part.Size = Vector3.new(1.233, 0.154, 1.233)
  327. part.CanCollide = false
  328. part.BrickColor = BrickColor.new("Institutional white")
  329. part.Material = "Glass"
  330. local mesh = Instance.new("SpecialMesh",part)
  331. mesh.Scale = Vector3.new(2.5, 2.35, 2.5)
  332. mesh.Offset = Vector3.new(0, -0.75, 0)
  333. mesh.MeshId = "http://www.roblox.com/asset/?id=875229570"
  334. local weld = ezweld(char, part, ra, CFrame.new(0, 0.37, 0) * CFrame.Angles(Rad(0), Rad(0), 0))
  335.  
  336. ----
  337.  
  338. local part = Instance.new("Part",char)
  339. part.Size = Vector3.new(1.156, 0.308, 1.156)
  340. part.CanCollide = false
  341. part.BrickColor = BrickColor.new("Crimson")
  342. part.Material = "Concrete"
  343. local mesh = Instance.new("SpecialMesh",part)
  344. mesh.MeshType = "Sphere"
  345. mesh.Offset = Vector3.new(0, -0.7, 0)
  346. local weld = ezweld(char, part, la, CFrame.new(0, -0.38, 0) * CFrame.Angles(Rad(0), Rad(180), 0))
  347.  
  348. local part = Instance.new("Part",char)
  349. part.Size = Vector3.new(1.156, 0.231, 1.156)
  350. part.CanCollide = false
  351. part.BrickColor = BrickColor.new("Crimson")
  352. part.Material = "Concrete"
  353. local mesh = Instance.new("CylinderMesh",part)
  354. mesh.Offset = Vector3.new(0, -0.75, 0)
  355. local weld = ezweld(char, part, la, CFrame.new(0, -0.31, 0) * CFrame.Angles(Rad(0), Rad(180), 0))
  356.  
  357. local part = Instance.new("Part",char)
  358. part.Size = Vector3.new(1.233, 0.154, 1.233)
  359. part.CanCollide = false
  360. part.BrickColor = BrickColor.new("Cocoa")
  361. part.Material = "Concrete"
  362. local mesh = Instance.new("CylinderMesh",part)
  363. mesh.Offset = Vector3.new(0, -0.75, 0)
  364. local weld = ezweld(char, part, la, CFrame.new(0, -0.21, 0) * CFrame.Angles(Rad(0), Rad(180), 0))
  365.  
  366. local part = Instance.new("Part",char)
  367. part.Size = Vector3.new(1.233, 0.154, 1.233)
  368. part.CanCollide = false
  369. part.BrickColor = BrickColor.new("Institutional white")
  370. part.Material = "Glass"
  371. local mesh = Instance.new("SpecialMesh",part)
  372. mesh.Scale = Vector3.new(2.5, 2.35, 2.5)
  373. mesh.Offset = Vector3.new(0, -0.75, 0)
  374. mesh.MeshId = "http://www.roblox.com/asset/?id=875229553"
  375. local weld = ezweld(char, part, la, CFrame.new(0, 0.37, 0) * CFrame.Angles(Rad(0), Rad(0), 0))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement