Advertisement
Dark_EccentricYT

skull hammer

Jul 16th, 2016
1,284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.55 KB | None | 1 1
  1. lp=game.Players.LocalPlayer
  2. pl=lp.Character
  3. tol=Instance.new("HopperBin",lp.Backpack)
  4. tol.Name="Skull_Smasher"--jarredbcv
  5. asd=0
  6. Part = function(x,y,z,color,tr,cc,an,parent)
  7. local p = Instance.new('Part',parent or Weapon)
  8. p.formFactor = 'Custom'
  9. p.Size = Vector3.new(x,y,z)
  10. p.BrickColor = BrickColor.new(color)
  11. p.CanCollide = cc
  12. p.Transparency = tr
  13. p.Anchored = an
  14. p.TopSurface,p.BottomSurface = 0,0
  15. return p
  16. end
  17. fir = function(n1,n2,n3,n4,n5,n6,hs,fs,parent)
  18. local fi = Instance.new('Fire',parent or Weapon)
  19. fi.Color=Color3.new(n1,n2,n3)
  20. fi.Heat=hs
  21. fi.SecondaryColor=Color3.new(n4,n5,n6)
  22. fi.Size=fs
  23. return fi
  24. end
  25. wPart = function(x,y,z,color,tr,cc,an,parent)
  26. local wp = Instance.new('WedgePart',parent or Weapon)
  27. wp.formFactor = 'Custom'
  28. wp.Size = Vector3.new(x,y,z)
  29. wp.BrickColor = BrickColor.new(color)
  30. wp.CanCollide = cc
  31. wp.Transparency = tr
  32. wp.Anchored = an
  33. wp.TopSurface,wp.BottomSurface = 0,0
  34. return wp
  35. end
  36. Weld = function(p0,p1,x,y,z,rx,ry,rz,par)
  37. p0.Position = p1.Position
  38. local w = Instance.new('Motor',par or p0)
  39. w.Part0 = p0
  40. w.Part1 = p1
  41. w.C1 = CFrame.new(x,y,z)*CFrame.Angles(rx,ry,rz)
  42. return w
  43. end
  44. Mesh = function(par,num,x,y,z)
  45. local msh = _
  46. if num == 1 then msh = Instance.new("CylinderMesh",par)
  47. elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
  48. elseif num == 3 then msh = Instance.new("BlockMesh",par)
  49. elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
  50. end
  51. msh.Scale = Vector3.new(x,y,z)
  52. return msh
  53. end
  54. function onKeyDown(key)
  55. key = key:lower()
  56. if key == "e" then
  57. --for angle = 45, 95, 10 do fakel.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(angle), math.rad(angle/-1), 0) wait()end
  58. end
  59. if key == "q" then
  60. for angle = 45, 95, 10 do fakel.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(angle), math.rad(0), math.rad(angle/2)) wait()end
  61. for angle = 95, 5, -20 do fakel.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(angle), math.rad(0), 1)wait()end
  62. for i=1,20 do wait()
  63. partz= Part(15,15,15,'Really black',0,true,true,workspace)
  64. partz.CFrame= CFrame.new(pl.Torso.Position+Vector3.new(0,0,10)) * CFrame.Angles(math.random()-.5,math.random()-.5,math.random()-.5) + Vector3.new(0,-8,0) + pl.Torso.CFrame.lookVector*(i+5)*3.5
  65. function touch(hit)
  66. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  67. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-10 end end
  68. partz.Touched:connect(touch)
  69. game.Debris:AddItem(partz,1)
  70. end
  71. for angle = 0, 45, 5 do wait()fakel.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(angle), math.rad(angle/2), math.rad(0))end
  72. end
  73. end
  74. function onClicked(mouse)
  75. asd=10
  76. for angle = 45, 95, 10 do fakel.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(angle), math.rad(angle/2), 0)wait()end
  77. for angle = 95, 5, -20 do fakel.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(angle), math.rad(angle/2), 0)wait()end
  78. for angle = 5, 45, 10 do fakel.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(angle), math.rad(angle/angle - 5), 0)wait()end
  79. fakel.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(45), math.rad(10), 0)
  80. asd=0
  81. end
  82. tol.Selected:connect(function(mouse)
  83. mouse.Button1Down:connect(function() onClicked(mouse) end)
  84. mouse.KeyDown:connect(onKeyDown)
  85. mo=Instance.new("Model",pl)
  86. bas = Part(1,1,1,'',1,false,false,mo)
  87. bas:BreakJoints()
  88. pa1= Part(.5,.5,3,'Really black',0,false,false,mo)
  89. wl1= Weld(pa1,bas,0,-1.5,0,0,0,0,mo)
  90. pa2= Part(.6,.1,1,'Institutional white',0,false,false,mo)
  91. wl2= Weld(pa2,pa1,0,.1,-1,0,0,0,mo)
  92. pa3= Part(.6,.1,1,'Institutional white',0,false,false,mo)
  93. wl3= Weld(pa3,pa1,0,-.1,0,0,0,0,mo)
  94. pa4= Part(.6,.1,1,'Institutional white',0,false,false,mo)
  95. wl4= Weld(pa4,pa1,0,.1,1,0,0,0,mo)
  96. pa5= Part(.1,.6,1,'Institutional white',0,false,false,mo)
  97. wl5= Weld(pa5,pa1,.1,0,1,0,0,0,mo)
  98. pa6= Part(.1,.6,1,'Institutional white',0,false,false,mo)
  99. wl6= Weld(pa6,pa1,-.1,0,0,0,0,0,mo)
  100. pa7= Part(.1,.6,1,'Institutional white',0,false,false,mo)
  101. wl7= Weld(pa7,pa1,.1,0,-1,0,0,0,mo)
  102. pa8= Part(.6,.1,.6,'Institutional white',0,false,false,mo)
  103. wl8= Weld(pa8,pa1,0,0,-.6,1,0,0,mo)
  104. pa9= Part(.6,.1,.6,'Institutional white',0,false,false,mo)
  105. wl9= Weld(pa9,pa1,0,0,.6,-1,0,0,mo)
  106. pa10= Part(.75,.75,.75,'Institutional white',0,false,false,mo)
  107. wl10= Weld(pa10,pa1,0,0,1.75,1,1,1,mo)
  108. pa11= Part(.75,.75,.75,'Really black',0,false,false,mo)
  109. wl11= Weld(pa11,pa1,0,0,1.75,2,2,2,mo)
  110. pa12= wPart(.5,.5,.5,'Really black',0,false,false,mo)
  111. wl12= Weld(pa12,pa1,0,-.5,-1.75,0,0,0,mo)
  112. pa13= wPart(.5,.5,.5,'Really black',0,false,false,mo)
  113. wl13= Weld(pa13,pa1,0,.5,-1.75,0,0,math.pi/1,mo)
  114. pa14= wPart(.5,.5,.5,'Really black',0,false,false,mo)
  115. wl14= Weld(pa14,pa1,.5,0,-1.75,0,0,math.pi/2,mo)
  116. pa15= wPart(.5,.5,.5,'Really black',0,false,false,mo)
  117. wl15= Weld(pa15,pa1,-.5,0,-1.75,0,0,math.pi/-2,mo)
  118. pa16= Part(1.1,.1,1.1,'Institutional white',0,false,false,mo)
  119. mes1= Mesh(pa16,1,1,1,1)
  120. wl16= Weld(pa16,pa1,0,0,-1.5,math.pi/2,0,0,mo)
  121. pa17= Part(.75,.75,0,'Really black',0,false,false,mo)
  122. wl17= Weld(pa17,pa1,0,0,-1.6,0,0,0,mo)
  123. pa18= Part(0,0,0,'Really black',1,false,false,mo)
  124. wl18= Weld(pa18,pa1,0,0,-2,0,0,0,mo)
  125. firs= fir(1,1,1,1,1,1,0,0,pa18)
  126. HAMER= Part(1,1,1,'Really black',0,false,false,mo)
  127. mes2= Mesh(HAMER,3,2,3,2)
  128. wl19= Weld(HAMER,pa1,0,0,-4,0,0,0,mo)
  129. pa20= Part(1,1,1,'Institutional white',.4,false,false,mo)
  130. mes3= Mesh(pa20,3,2.3,3.3,2.3)
  131. wl20= Weld(pa20,HAMER,0,0,0,0,0,0,mo)
  132. pa21= Part(0,0,0,'Institutional white',0,false,false,mo)
  133. mes4= Mesh(pa21,'http://www.roblox.com/asset/?id=9982590',.3,.01,.3)
  134. wl21= Weld(pa21,HAMER,0,0,1,math.pi/2,0,0,mo)
  135. pa22= Part(0,0,0,'Institutional white',0,false,false,mo)
  136. mes5= Mesh(pa22,'http://www.roblox.com/asset/?id=9982590',.3,.01,.3)
  137. wl22= Weld(pa22,HAMER,0,0,-1,math.pi/2,0,0,mo)
  138. pa23= Part(0,0,0,'Institutional white',0,false,false,mo)
  139. mes6= Mesh(pa23,'http://www.roblox.com/asset/?id=9982590',.5,.01,.5)
  140. wl23= Weld(pa23,HAMER,0,1.5,0,math.pi/1,0,0,mo)
  141. pa24= Part(0,0,0,'Institutional white',0,false,false,mo)
  142. mes7= Mesh(pa24,'http://www.roblox.com/asset/?id=9982590',.5,.01,.5)
  143. wl24= Weld(pa24,HAMER,0,-1.5,0,math.pi/1,0,0,mo)
  144. pa24= Part(0,0,0,'Institutional white',0,false,false,mo)
  145. mes7= Mesh(pa24,'http://www.roblox.com/asset/?id=9982590',.5,.01,.5)
  146. wl24= Weld(pa24,HAMER,0,-1.5,0,math.pi/1,0,0,mo)
  147. pa25= Part(0,0,0,'Institutional white',0,false,false,mo)
  148. mes8= Mesh(pa25,'http://www.roblox.com/asset/?id=4770583',3,3,.1)
  149. wl25= Weld(pa25,HAMER,-1,0,0,math.pi/2,math.pi/2,math.pi/1,mo)
  150. pa26= Part(0,0,0,'Institutional white',0,false,false,mo)
  151. mes9= Mesh(pa26,'http://www.roblox.com/asset/?id=4770583',3,3,.1)
  152. wl26= Weld(pa26,HAMER,1,0,0,math.pi/2,math.pi/-2,math.pi/1,mo)
  153. pa27= Part(0,0,0,'Institutional white',0,false,false,mo)
  154. mes10= Mesh(pa27,1,3,11,3)
  155. wl27= Weld(pa27,HAMER,.5,1,0,math.pi/2,0,0,mo)
  156. pa28= Part(0,0,0,'Institutional white',0,false,false,mo)
  157. mes11= Mesh(pa28,1,3,11,3)
  158. wl28= Weld(pa28,HAMER,-.5,1,0,math.pi/2,0,0,mo)
  159. pa29= Part(0,0,0,'Institutional white',0,false,false,mo)
  160. mes12= Mesh(pa29,1,3,11,3)
  161. wl29= Weld(pa29,HAMER,.5,-1,0,math.pi/2,0,0,mo)
  162. pa30= Part(0,0,0,'Institutional white',0,false,false,mo)
  163. mes13= Mesh(pa30,1,3,11,3)
  164. wl30= Weld(pa30,HAMER,-.5,-1,0,math.pi/2,0,0,mo)
  165. pa31= Part(0,0,0,'Institutional white',0,false,false,mo)
  166. mes14= Mesh(pa31,1,3,11,3)
  167. wl31= Weld(pa31,HAMER,0,1,.5,0,0,math.pi/2,mo)
  168. pa32= Part(0,0,0,'Institutional white',0,false,false,mo)
  169. mes15= Mesh(pa32,1,3,11,3)
  170. wl32= Weld(pa32,HAMER,0,1,-.5,0,0,math.pi/2,mo)
  171. pa33= Part(0,0,0,'Institutional white',0,false,false,mo)
  172. mes16= Mesh(pa33,1,3,11,3)
  173. wl33= Weld(pa33,HAMER,0,-1,-.5,0,0,math.pi/2,mo)
  174. pa34= Part(0,0,0,'Institutional white',0,false,false,mo)
  175. mes17= Mesh(pa34,1,3,11,3)
  176. wl34= Weld(pa34,HAMER,0,-1,.5,0,0,math.pi/2,mo)
  177.  
  178. function touch(hit)
  179. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  180. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-asd end end
  181. HAMER.Touched:connect(touch)
  182.  
  183. fakel = Instance.new("Weld",mo)
  184. fakel.Part0 = pl.Torso
  185. fakel.Part1 = bas
  186. coroutine.wrap(function()
  187. for angle = 0, 45, 5 do
  188. if fakel == nil then return end
  189. fakel.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(angle), math.rad(angle/2), math.rad(0))
  190. wait()
  191. end
  192. end)()
  193. welditbro = Instance.new("Weld", mo)
  194. welditbro.C0 = CFrame.new(0, 0.5, 0)
  195. welditbro.Part0 = pl['Right Arm']
  196. welditbro.Part1 = bas
  197. loop=false
  198. coroutine.resume(coroutine.create(function(c)
  199. local origc1 = wl19.C1
  200. while wait() do
  201. if loop == true then break end
  202. for i=0,(2*math.pi)-(math.pi/90),math.pi/90 do wait()--omg
  203. wl19.C1 = origc1-Vector3.new(0,0,(math.sin(i)*.5)+.4)
  204. end end end))
  205. end)
  206. tol.Deselected:connect(function(mouse)
  207. loop=true
  208. mo:remove()
  209. end)--nine hours. jarrebcv
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement