Advertisement
astronaut32

thunder hammer

Aug 2nd, 2017
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.56 KB | None | 0 0
  1. wait(0.75)
  2. --Converted with PenguinAnonymous's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Tool0 = Instance.new("Tool")
  20. WedgePart1 = Instance.new("WedgePart")
  21. BoolValue2 = Instance.new("BoolValue")
  22. Part3 = Instance.new("Part")
  23. Part4 = Instance.new("Part")
  24. ManualWeld5 = Instance.new("ManualWeld")
  25. ManualWeld6 = Instance.new("ManualWeld")
  26. ManualWeld7 = Instance.new("ManualWeld")
  27. ManualWeld8 = Instance.new("ManualWeld")
  28. ManualWeld9 = Instance.new("ManualWeld")
  29. ManualWeld10 = Instance.new("ManualWeld")
  30. ManualWeld11 = Instance.new("ManualWeld")
  31. ManualWeld12 = Instance.new("ManualWeld")
  32. ManualWeld13 = Instance.new("ManualWeld")
  33. Part14 = Instance.new("Part")
  34. Part15 = Instance.new("Part")
  35. Part16 = Instance.new("Part")
  36. Part17 = Instance.new("Part")
  37. Part18 = Instance.new("Part")
  38. Part19 = Instance.new("Part")
  39. WedgePart20 = Instance.new("WedgePart")
  40. LocalScript21 = Instance.new("LocalScript")
  41. Animation22 = Instance.new("Animation")
  42. Script23 = Instance.new("Script")
  43. Tool0.Parent = mas
  44. Tool0.GripForward = Vector3.new(-0, -1, -0)
  45. Tool0.GripRight = Vector3.new(0, 0, 1)
  46. Tool0.GripUp = Vector3.new(1, 0, 0)
  47. WedgePart1.Parent = Tool0
  48. WedgePart1.Material = Enum.Material.Neon
  49. WedgePart1.BrickColor = BrickColor.new("New Yeller")
  50. WedgePart1.Position = Vector3.new(-152.336639, 4.81536484, 3.91885161)
  51. WedgePart1.Rotation = Vector3.new(-90.0400009, 20.5200005, -89.8799973)
  52. WedgePart1.CanCollide = false
  53. WedgePart1.Size = Vector3.new(0.0855155215, 0.213788807, 0.427577615)
  54. WedgePart1.CFrame = CFrame.new(-152.336639, 4.81536484, 3.91885161, 0.0020189546, 0.936571419, 0.350471139, 7.56699592e-10, -0.350462765, 0.936576724, 0.999998093, -0.0018908924, -0.000707601896)
  55. WedgePart1.BottomSurface = Enum.SurfaceType.Smooth
  56. WedgePart1.Color = Color3.new(1, 1, 0)
  57. WedgePart1.Position = Vector3.new(-152.336639, 4.81536484, 3.91885161)
  58. WedgePart1.Orientation = Vector3.new(-69.4800034, 90.1200027, 180)
  59. WedgePart1.Color = Color3.new(1, 1, 0)
  60. BoolValue2.Name = "CanDamage"
  61. BoolValue2.Parent = Tool0
  62. BoolValue2.Value = true
  63. Part3.Name = "blade"
  64. Part3.Parent = Tool0
  65. Part3.BrickColor = BrickColor.new("Institutional white")
  66. Part3.Transparency = 1
  67. Part3.Position = Vector3.new(-153.071945, 5.0602088, 4.42645216)
  68. Part3.Rotation = Vector3.new(0.0199999996, -0.140000001, -0.0399999991)
  69. Part3.CanCollide = false
  70. Part3.Size = Vector3.new(2.59999919, 1, 1)
  71. Part3.CFrame = CFrame.new(-153.071945, 5.0602088, 4.42645216, 0.999996841, 0.000745916972, -0.00240207044, -0.000737018418, 0.999999702, -0.000294215773, 0.00240185158, 0.000295950013, 0.999997079)
  72. Part3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  73. Part3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  74. Part3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  75. Part3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  76. Part3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  77. Part3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  78. Part3.Color = Color3.new(0.972549, 0.972549, 0.972549)
  79. Part3.Position = Vector3.new(-153.071945, 5.0602088, 4.42645216)
  80. Part3.Orientation = Vector3.new(0.0199999996, -0.140000001, -0.0399999991)
  81. Part3.Color = Color3.new(0.972549, 0.972549, 0.972549)
  82. Part4.Name = "Handle"
  83. Part4.Parent = Tool0
  84. Part4.BrickColor = BrickColor.new("Cocoa")
  85. Part4.Position = Vector3.new(-153.149139, 1.06026363, 4.40039063)
  86. Part4.Rotation = Vector3.new(0.0199999996, -0.140000001, 89.9599991)
  87. Part4.CanCollide = false
  88. Part4.Shape = Enum.PartType.Cylinder
  89. Part4.Size = Vector3.new(1.70000005, 0.349999994, 0.349999994)
  90. Part4.CFrame = CFrame.new(-153.149139, 1.06026363, 4.40039063, 0.000745946716, -0.999996841, -0.00240207044, 0.999999702, 0.000736988673, -0.000294215948, 0.000295949896, -0.00240185158, 0.999997079)
  91. Part4.BottomSurface = Enum.SurfaceType.Smooth
  92. Part4.TopSurface = Enum.SurfaceType.Smooth
  93. Part4.Color = Color3.new(0.337255, 0.141176, 0.141176)
  94. Part4.Position = Vector3.new(-153.149139, 1.06026363, 4.40039063)
  95. Part4.Orientation = Vector3.new(0.0199999996, -0.140000001, 89.9599991)
  96. Part4.Color = Color3.new(0.337255, 0.141176, 0.141176)
  97. ManualWeld5.Name = "Handle - Injurepart"
  98. ManualWeld5.Parent = Part4
  99. ManualWeld5.C0 = CFrame.new(0, 0, 0, 0.00074112392, 0.999999702, 0.0002959673, -0.999996841, 0.000741811469, -0.00240185158, -0.00240207044, -0.000294186408, 0.999997079)
  100. ManualWeld5.C1 = CFrame.new(0.700057507, -4.00001621, -0.0249938965, 0.999996841, -0.00074180722, 0.00240185158, 0.000741128169, 0.999999702, 0.000295967271, -0.00240207044, -0.000294186437, 0.999997079)
  101. ManualWeld5.Part0 = Part4
  102. ManualWeld5.Part1 = Part14
  103. ManualWeld6.Name = "Handle - Blade"
  104. ManualWeld6.Parent = Part4
  105. ManualWeld6.C0 = CFrame.new(0, 0, 0, 0.00074112392, 0.999999702, 0.0002959673, -0.999996841, 0.000741811469, -0.00240185158, -0.00240207044, -0.000294186408, 0.999997079)
  106. ManualWeld6.C1 = CFrame.new(-0.0742746592, -4.00000858, -0.0246992111, 0.999996841, -0.000741802971, 0.00240185158, 0.000741132419, 0.999999702, 0.000295967271, -0.00240207044, -0.000294186466, 0.999997079)
  107. ManualWeld6.Part0 = Part4
  108. ManualWeld6.Part1 = Part3
  109. ManualWeld7.Name = "Handle - Injurepart2"
  110. ManualWeld7.Parent = Part4
  111. ManualWeld7.C0 = CFrame.new(0, 0, 0, 0.00074112392, 0.999999702, 0.0002959673, -0.999996841, 0.000741811469, -0.00240185158, -0.00240207044, -0.000294186408, 0.999997079)
  112. ManualWeld7.C1 = CFrame.new(-0.750015736, -4.00001717, -0.0249938965, 0.999996841, -0.000741798722, 0.00240185158, 0.000741136668, 0.999999702, 0.000295967242, -0.00240207044, -0.000294186466, 0.999997079)
  113. ManualWeld7.Part0 = Part4
  114. ManualWeld7.Part1 = Part15
  115. ManualWeld8.Name = "Handle - ringtop"
  116. ManualWeld8.Parent = Part4
  117. ManualWeld8.C0 = CFrame.new(0, 0, 0, 0.00074112392, 0.999999702, 0.0002959673, -0.999996841, 0.000741811469, -0.00240185158, -0.00240207044, -0.000294186408, 0.999997079)
  118. ManualWeld8.C1 = CFrame.new(-0.900001645, 4.76837158e-07, 4.76837158e-07, 0.000741136668, 0.999999702, 0.000295967242, -0.999996841, 0.000741798722, -0.00240185158, -0.00240207044, -0.000294186466, 0.999997079)
  119. ManualWeld8.Part0 = Part4
  120. ManualWeld8.Part1 = Part18
  121. ManualWeld9.Name = "Handle - ringbottom"
  122. ManualWeld9.Parent = Part4
  123. ManualWeld9.C0 = CFrame.new(0, 0, 0, 0.00074112392, 0.999999702, 0.0002959673, -0.999996841, 0.000741811469, -0.00240185158, -0.00240207044, -0.000294186408, 0.999997079)
  124. ManualWeld9.C1 = CFrame.new(0.950002849, 4.76837158e-07, 0, 0.000741136668, 0.999999702, 0.000295967242, -0.999996841, 0.000741798722, -0.00240185158, -0.00240207044, -0.000294186466, 0.999997079)
  125. ManualWeld9.Part0 = Part4
  126. ManualWeld9.Part1 = Part17
  127. ManualWeld10.Name = "Handle - rod"
  128. ManualWeld10.Parent = Part4
  129. ManualWeld10.C0 = CFrame.new(0, 0, 0, 0.00074112392, 0.999999702, 0.0002959673, -0.999996841, 0.000741811469, -0.00240185158, -0.00240207044, -0.000294186408, 0.999997079)
  130. ManualWeld10.C1 = CFrame.new(-1.50000167, 3.57627869e-07, 0, 0.000741136668, 0.999999702, 0.000295967242, -0.999996841, 0.000741798722, -0.00240185158, -0.00240207044, -0.000294186466, 0.999997079)
  131. ManualWeld10.Part0 = Part4
  132. ManualWeld10.Part1 = Part19
  133. ManualWeld11.Name = "Handle - Rodtop"
  134. ManualWeld11.Parent = Part4
  135. ManualWeld11.C0 = CFrame.new(0, 0, 0, 0.00074112392, 0.999999702, 0.0002959673, -0.999996841, 0.000741811469, -0.00240185158, -0.00240207044, -0.000294186408, 0.999997079)
  136. ManualWeld11.C1 = CFrame.new(4.02502012, -1.57356262e-05, 0, -0.000741137017, -1, -0.000295967388, 0.999997079, -0.000741798896, 0.00240185158, -0.00240207044, -0.000294186466, 0.999997079)
  137. ManualWeld11.Part0 = Part4
  138. ManualWeld11.Part1 = Part16
  139. ManualWeld12.Name = "Handle - Wedge"
  140. ManualWeld12.Parent = Part4
  141. ManualWeld12.C0 = CFrame.new(0, 0, 0, 0.00074112392, 0.999999702, 0.0002959673, -0.999996841, 0.000741811469, -0.00240185158, -0.00240207044, -0.000294186408, 0.999997079)
  142. ManualWeld12.C1 = CFrame.new(0.479939222, -0.769234419, 4.19856358, 0.00201895298, 9.02218744e-09, 0.999998033, -0.935294151, 0.35386622, 0.00188831659, -0.353865534, -0.935296178, 0.000714448164)
  143. ManualWeld12.Part0 = Part4
  144. ManualWeld12.Part1 = WedgePart20
  145. ManualWeld13.Name = "Handle - Wedge"
  146. ManualWeld13.Parent = Part4
  147. ManualWeld13.C0 = CFrame.new(0, 0, 0, 0.00074112392, 0.999999702, 0.0002959673, -0.999996841, 0.000741811469, -0.00240185158, -0.00240207044, -0.000294186408, 0.999997079)
  148. ManualWeld13.C1 = CFrame.new(0.479897499, 0.554183245, -3.80201697, 0.00201895298, 9.02218744e-09, 0.999998033, 0.936573088, -0.350467294, -0.00189089845, 0.350466579, 0.936575055, -0.000707585597)
  149. ManualWeld13.Part0 = Part4
  150. ManualWeld13.Part1 = WedgePart1
  151. Part14.Name = "Injurepart"
  152. Part14.Parent = Tool0
  153. Part14.BrickColor = BrickColor.new("Smoky grey")
  154. Part14.Position = Vector3.new(-153.846268, 5.06078672, 4.4248867)
  155. Part14.Rotation = Vector3.new(0.0199999996, -0.140000001, -0.0399999991)
  156. Part14.CanCollide = false
  157. Part14.Size = Vector3.new(1.14999998, 1, 1)
  158. Part14.CFrame = CFrame.new(-153.846268, 5.06078672, 4.4248867, 0.999996841, 0.000745972211, -0.00240207044, -0.000736963178, 0.999999702, -0.000294216094, 0.00240185158, 0.00029594978, 0.999997079)
  159. Part14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  160. Part14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  161. Part14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  162. Part14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  163. Part14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  164. Part14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  165. Part14.Color = Color3.new(0.356863, 0.364706, 0.411765)
  166. Part14.Position = Vector3.new(-153.846268, 5.06078672, 4.4248867)
  167. Part14.Orientation = Vector3.new(0.0199999996, -0.140000001, -0.0399999991)
  168. Part14.Color = Color3.new(0.356863, 0.364706, 0.411765)
  169. Part15.Name = "Injurepart2"
  170. Part15.Parent = Tool0
  171. Part15.BrickColor = BrickColor.new("Smoky grey")
  172. Part15.Position = Vector3.new(-152.39621, 5.05971909, 4.42836952)
  173. Part15.Rotation = Vector3.new(0.0199999996, -0.140000001, -0.0399999991)
  174. Part15.CanCollide = false
  175. Part15.Size = Vector3.new(1.25, 1, 1)
  176. Part15.CFrame = CFrame.new(-152.39621, 5.05971909, 4.42836952, 0.999996841, 0.000745980709, -0.00240207044, -0.00073695468, 0.999999702, -0.000294216123, 0.00240185158, 0.00029594978, 0.999997079)
  177. Part15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  178. Part15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  179. Part15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  180. Part15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  181. Part15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  182. Part15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  183. Part15.Color = Color3.new(0.356863, 0.364706, 0.411765)
  184. Part15.Position = Vector3.new(-152.39621, 5.05971909, 4.42836952)
  185. Part15.Orientation = Vector3.new(0.0199999996, -0.140000001, -0.0399999991)
  186. Part15.Color = Color3.new(0.356863, 0.364706, 0.411765)
  187. Part16.Name = "Rodtop"
  188. Part16.Parent = Tool0
  189. Part16.BrickColor = BrickColor.new("Smoky grey")
  190. Part16.Position = Vector3.new(-153.146118, 5.08528376, 4.40158176)
  191. Part16.Rotation = Vector3.new(0.0199999996, -0.140000001, -90.0400009)
  192. Part16.CanCollide = false
  193. Part16.Shape = Enum.PartType.Cylinder
  194. Part16.Size = Vector3.new(0.550000012, 0.349999994, 1)
  195. Part16.CFrame = CFrame.new(-153.146118, 5.08528376, 4.40158176, -0.000745981117, 0.999997079, -0.00240207044, -1, -0.000736954855, -0.000294216123, -0.000295949954, 0.00240185135, 0.999997079)
  196. Part16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  197. Part16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  198. Part16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  199. Part16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  200. Part16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  201. Part16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  202. Part16.Color = Color3.new(0.356863, 0.364706, 0.411765)
  203. Part16.Position = Vector3.new(-153.146118, 5.08528376, 4.40158176)
  204. Part16.Orientation = Vector3.new(0.0199999996, -0.140000001, -90.0400009)
  205. Part16.Color = Color3.new(0.356863, 0.364706, 0.411765)
  206. Part17.Name = "ringbottom"
  207. Part17.Parent = Tool0
  208. Part17.Material = Enum.Material.DiamondPlate
  209. Part17.BrickColor = BrickColor.new("Smoky grey")
  210. Part17.Position = Vector3.new(-153.149841, 0.110261083, 4.40010929)
  211. Part17.Rotation = Vector3.new(0.0199999996, -0.140000001, 89.9599991)
  212. Part17.CanCollide = false
  213. Part17.Shape = Enum.PartType.Cylinder
  214. Part17.Size = Vector3.new(0.200000003, 0.5, 0.5)
  215. Part17.CFrame = CFrame.new(-153.149841, 0.110261083, 4.40010929, 0.000745980709, -0.999996841, -0.00240207044, 0.999999702, 0.00073695468, -0.000294216123, 0.00029594978, -0.00240185158, 0.999997079)
  216. Part17.BottomSurface = Enum.SurfaceType.Smooth
  217. Part17.TopSurface = Enum.SurfaceType.Smooth
  218. Part17.Color = Color3.new(0.356863, 0.364706, 0.411765)
  219. Part17.Position = Vector3.new(-153.149841, 0.110261083, 4.40010929)
  220. Part17.Orientation = Vector3.new(0.0199999996, -0.140000001, 89.9599991)
  221. Part17.Color = Color3.new(0.356863, 0.364706, 0.411765)
  222. Part18.Name = "ringtop"
  223. Part18.Parent = Tool0
  224. Part18.Material = Enum.Material.DiamondPlate
  225. Part18.BrickColor = BrickColor.new("Smoky grey")
  226. Part18.Position = Vector3.new(-153.148468, 1.96026492, 4.4006567)
  227. Part18.Rotation = Vector3.new(0.0199999996, -0.140000001, 89.9599991)
  228. Part18.CanCollide = false
  229. Part18.Shape = Enum.PartType.Cylinder
  230. Part18.Size = Vector3.new(0.200000003, 0.5, 0.5)
  231. Part18.CFrame = CFrame.new(-153.148468, 1.96026492, 4.4006567, 0.000745980709, -0.999996841, -0.00240207044, 0.999999702, 0.00073695468, -0.000294216123, 0.00029594978, -0.00240185158, 0.999997079)
  232. Part18.BottomSurface = Enum.SurfaceType.Smooth
  233. Part18.TopSurface = Enum.SurfaceType.Smooth
  234. Part18.Color = Color3.new(0.356863, 0.364706, 0.411765)
  235. Part18.Position = Vector3.new(-153.148468, 1.96026492, 4.4006567)
  236. Part18.Orientation = Vector3.new(0.0199999996, -0.140000001, 89.9599991)
  237. Part18.Color = Color3.new(0.356863, 0.364706, 0.411765)
  238. Part19.Name = "rod"
  239. Part19.Parent = Tool0
  240. Part19.Material = Enum.Material.DiamondPlate
  241. Part19.BrickColor = BrickColor.new("Dirt brown")
  242. Part19.Position = Vector3.new(-153.148026, 2.56026483, 4.40083456)
  243. Part19.Rotation = Vector3.new(0.0199999996, -0.140000001, 89.9599991)
  244. Part19.CanCollide = false
  245. Part19.Shape = Enum.PartType.Cylinder
  246. Part19.Size = Vector3.new(5, 0.300000012, 0.300000012)
  247. Part19.CFrame = CFrame.new(-153.148026, 2.56026483, 4.40083456, 0.000745980709, -0.999996841, -0.00240207044, 0.999999702, 0.00073695468, -0.000294216123, 0.00029594978, -0.00240185158, 0.999997079)
  248. Part19.BottomSurface = Enum.SurfaceType.Smooth
  249. Part19.TopSurface = Enum.SurfaceType.Smooth
  250. Part19.Color = Color3.new(0.337255, 0.258824, 0.211765)
  251. Part19.Position = Vector3.new(-153.148026, 2.56026483, 4.40083456)
  252. Part19.Orientation = Vector3.new(0.0199999996, -0.140000001, 89.9599991)
  253. Part19.Color = Color3.new(0.337255, 0.258824, 0.211765)
  254. WedgePart20.Parent = Tool0
  255. WedgePart20.Material = Enum.Material.Neon
  256. WedgePart20.BrickColor = BrickColor.new("New Yeller")
  257. WedgePart20.Position = Vector3.new(-152.38382, 5.25937319, 3.91890526)
  258. WedgePart20.Rotation = Vector3.new(89.9599991, -20.7199993, 89.8799973)
  259. WedgePart20.CanCollide = false
  260. WedgePart20.Size = Vector3.new(0.0855155438, 0.213788807, 0.427577615)
  261. WedgePart20.CFrame = CFrame.new(-152.38382, 5.25937319, 3.91890526, 0.0020189546, -0.935292363, -0.353870034, 7.56699592e-10, 0.35386166, -0.935297847, 0.999998093, 0.001888311, 0.000714464695)
  262. WedgePart20.BottomSurface = Enum.SurfaceType.Smooth
  263. WedgePart20.Color = Color3.new(1, 1, 0)
  264. WedgePart20.Position = Vector3.new(-152.38382, 5.25937319, 3.91890526)
  265. WedgePart20.Orientation = Vector3.new(69.2799988, -89.8799973, 0)
  266. WedgePart20.Color = Color3.new(1, 1, 0)
  267. LocalScript21.Parent = Tool0
  268. table.insert(cors,sandbox(LocalScript21,function()
  269. local CanAttack = true
  270.  
  271.  
  272.  
  273.  
  274.  
  275. script.Parent.Activated:connect(function()
  276.  
  277. local attack = script.Parent.Parent.Humanoid:LoadAnimation(script.Attack)
  278.  
  279.  
  280.  
  281. if CanAttack == true then
  282.  
  283. attack:Play()
  284.  
  285. CanAttack = false
  286.  
  287. wait(1)
  288.  
  289. attack:Stop()
  290.  
  291. CanAttack = true
  292.  
  293. script.Parent.CanDamage.Value = true
  294.  
  295. end
  296.  
  297. end)
  298. end))
  299. Animation22.Name = "Attack"
  300. Animation22.Parent = LocalScript21
  301. Animation22.AnimationId = "rbxassetid://33169596"
  302. Script23.Parent = Tool0
  303. table.insert(cors,sandbox(Script23,function()
  304. script.Parent.blade.Touched:connect(function(p)
  305.  
  306. if script.Parent.CanDamage.Value == true then
  307.  
  308. script.Parent.CanDamage.Value = false
  309.  
  310. p.Parent.Humanoid:TakeDamage(20)
  311.  
  312. end
  313.  
  314. end)
  315. end))
  316. for i,v in pairs(mas:GetChildren()) do
  317. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  318. pcall(function() v:MakeJoints() end)
  319. end
  320. mas:Destroy()
  321. for i,v in pairs(cors) do
  322. spawn(function()
  323. pcall(v)
  324. end)
  325. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement