Advertisement
Vladha

Untitled

Oct 14th, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 218.41 KB | None | 0 0
  1. wait(0.016666666666667)
  2. Effects = {}
  3. local Player = game.Players.localPlayer
  4. local Character = Player.Character
  5. local Humanoid = Character.Humanoid
  6. local mouse = Player:GetMouse()
  7. local m = Instance.new("Model", Character)
  8. m.Name = "Hades"
  9. local effect = Instance.new("Model", Character)
  10. effect.Name = "Effects"
  11. Hammer = {}
  12. HammerWelds = {}
  13. local LeftArm = Character["Left Arm"]
  14. local RightArm = Character["Right Arm"]
  15. local LeftLeg = Character["Left Leg"]
  16. local RightLeg = Character["Right Leg"]
  17. local WStyle = "Hammer"
  18. local Head = Character.Head
  19. local Torso = Character.Torso
  20. local cam = game.Workspace.CurrentCamera
  21. local RootPart = Character.HumanoidRootPart
  22. local RootJoint = RootPart.RootJoint
  23. local equipped = false
  24. local attack = false
  25. local Anim = "Idle"
  26. local idle = 0
  27. local mananum = 0
  28. local attacktype = 1
  29. local attacktype2 = 1
  30. local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  31. local velocity = RootPart.Velocity.y
  32. local sine = 0
  33. local change = 1
  34. local mana = 100
  35. local it = Instance.new
  36. local vt = Vector3.new
  37. local grabbed = false
  38. local cf = CFrame.new
  39. local mr = math.rad
  40. local angles = CFrame.Angles
  41. local ud = UDim2.new
  42. local c3 = Color3.new
  43. Anim = Instance.new("StringValue")
  44. Anim.Name = "Animation"
  45. Anim.Parent = Character
  46. Anim.Value = "Walking"
  47. local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  48. xenabled = true
  49. cenabled = true
  50. venabled = true
  51. zenabled = true
  52. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  53. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  54. local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0))
  55. RSH = nil
  56. RW = Instance.new("Weld")
  57. LW = Instance.new("Weld")
  58. RH = Torso["Right Hip"]
  59. LH = Torso["Left Hip"]
  60. RSH = Torso["Right Shoulder"]
  61. LSH = Torso["Left Shoulder"]
  62. RSH.Parent = nil
  63. LSH.Parent = nil
  64. RW.Name = "RW"
  65. RW.Part0 = Torso
  66. RW.C0 = cf(1.5, 0.5, 0)
  67. RW.C1 = cf(0, 0.5, 0)
  68. RW.Part1 = RightArm
  69. RW.Parent = Torso
  70. LW.Name = "LW"
  71. LW.Part0 = Torso
  72. LW.C0 = cf(-1.5, 0.5, 0)
  73. LW.C1 = cf(0, 0.5, 0)
  74. LW.Part1 = LeftArm
  75. LW.Parent = Torso
  76. clerp = function(a, b, t)
  77. return a:lerp(b, t)
  78. end
  79.  
  80. local RbxUtility = LoadLibrary("RbxUtility")
  81. local Create = RbxUtility.Create
  82. RemoveOutlines = function(part)
  83. part.TopSurface = 10
  84. end
  85.  
  86. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  87. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  88. RemoveOutlines(Part)
  89. return Part
  90. end
  91.  
  92. CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  93. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  94. if Mesh == "SpecialMesh" then
  95. Msh.MeshType = MeshType
  96. Msh.MeshId = MeshId
  97. end
  98. return Msh
  99. end
  100.  
  101. ArtificialHB = Instance.new("BindableEvent", script)
  102. ArtificialHB.Name = "Heartbeat"
  103. script:WaitForChild("Heartbeat")
  104. frame = 0.016666666666667
  105. tf = 0
  106. allowframeloss = false
  107. tossremainder = false
  108. lastframe = tick()
  109. script.Heartbeat:Fire()
  110. game:GetService("RunService").Heartbeat:connect(function(s, p)
  111. tf = tf + s
  112. if frame <= tf then
  113. if allowframeloss then
  114. script.Heartbeat:Fire()
  115. lastframe = tick()
  116. else
  117. for i = 1, math.floor(tf / frame) do
  118. script.Heartbeat:Fire()
  119. end
  120. lastframe = tick()
  121. end
  122. if tossremainder then
  123. tf = 0
  124. else
  125. tf = tf - frame * math.floor(tf / frame)
  126. end
  127. end
  128. end
  129. )
  130. swait = function(num)
  131. if num == 0 or num == nil then
  132. ArtificialHB.Event:wait()
  133. else
  134. for i = 0, num do
  135. ArtificialHB.Event:wait()
  136. end
  137. end
  138. end
  139.  
  140. local fengui = it("GuiMain")
  141. fengui.Parent = Player.PlayerGui
  142. fengui.Name = "WeaponGUI"
  143. local fenframe = it("Frame")
  144. fenframe.Parent = fengui
  145. fenframe.BackgroundColor3 = Color3.new(255, 255, 255)
  146. fenframe.BackgroundTransparency = 1
  147. fenframe.BorderColor3 = Color3.new(17, 17, 17)
  148. fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  149. fenframe.Position = UDim2.new(0.4, 0, 0.1, 0)
  150. local fenbarmana1 = it("TextLabel")
  151. fenbarmana1.Parent = fenframe
  152. fenbarmana1.Text = " "
  153. fenbarmana1.BackgroundTransparency = 0
  154. fenbarmana1.BackgroundColor3 = Color3.new(0, 0, 0)
  155. fenbarmana1.SizeConstraint = "RelativeXY"
  156. fenbarmana1.TextXAlignment = "Center"
  157. fenbarmana1.TextYAlignment = "Center"
  158. fenbarmana1.Position = UDim2.new(0, 0, 0, 0)
  159. fenbarmana1.Size = UDim2.new(4, 0, 0.2, 0)
  160. local fenbarmana2 = it("TextLabel")
  161. fenbarmana2.Parent = fenframe
  162. fenbarmana2.Text = " "
  163. fenbarmana2.BackgroundTransparency = 0
  164. fenbarmana2.BackgroundColor3 = Torso.Color
  165. fenbarmana2.SizeConstraint = "RelativeXY"
  166. fenbarmana2.TextXAlignment = "Center"
  167. fenbarmana2.TextYAlignment = "Center"
  168. fenbarmana2.Position = UDim2.new(0, 0, 0, 0)
  169. fenbarmana2.Size = UDim2.new(4 * mana / 100, 0, 0.2, 0)
  170. local fenbarmana3 = it("TextLabel")
  171. fenbarmana3.Parent = fenframe
  172. fenbarmana3.Text = " "
  173. fenbarmana3.BackgroundTransparency = 0
  174. fenbarmana3.BackgroundColor3 = Color3.new(Col1, Col2, Col3)
  175. fenbarmana3.SizeConstraint = "RelativeXY"
  176. fenbarmana3.TextXAlignment = "Center"
  177. fenbarmana3.TextYAlignment = "Center"
  178. fenbarmana3.Position = UDim2.new(0, 0, 0, 0)
  179. fenbarmana3.Size = UDim2.new(0, 0, 0.2, 0)
  180. local fenbarmana4 = it("TextLabel")
  181. fenbarmana4.Parent = fenframe
  182. fenbarmana4.Text = "Energy(" .. mana .. ")"
  183. fenbarmana4.BackgroundTransparency = 1
  184. fenbarmana4.BackgroundColor3 = Color3.new(0, 0, 0)
  185. fenbarmana4.SizeConstraint = "RelativeXY"
  186. fenbarmana4.TextXAlignment = "Center"
  187. fenbarmana4.TextYAlignment = "Center"
  188. fenbarmana4.Position = UDim2.new(0, 0, -0.3, 0)
  189. fenbarmana4.Size = UDim2.new(4, 0, 0.2, 0)
  190. fenbarmana4.FontSize = "Size9"
  191. fenbarmana4.TextStrokeTransparency = 0
  192. fenbarmana4.TextColor = BrickColor.new("White")
  193. local fengui = it("GuiMain")
  194. fengui.Parent = Player.PlayerGui
  195. fengui.Name = "WeaponGUI"
  196. local fenframe1 = it("TextLabel")
  197. fenframe1.Parent = fengui
  198. fenframe1.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  199. fenframe1.BackgroundTransparency = 0.3
  200. fenframe1.BorderSizePixel = 5
  201. fenframe1.BorderColor3 = Color3.new(1, 1, 1)
  202. fenframe1.Size = UDim2.new(0.05, 0, 0.1, 0)
  203. fenframe1.Position = UDim2.new(0.325, 0, 0.7, 0)
  204. fenframe1.Text = "Z"
  205. fenframe1.TextWrapped = true
  206. fenframe1.FontSize = 7
  207. fenframe1.TextColor3 = Color3.new(1, 1, 1)
  208. local fenframe1a = it("TextLabel")
  209. fenframe1a.Parent = fengui
  210. fenframe1a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  211. fenframe1a.BackgroundTransparency = 0.3
  212. fenframe1a.BorderSizePixel = 5
  213. fenframe1a.BorderColor3 = Color3.new(1, 1, 1)
  214. fenframe1a.Size = UDim2.new(0.05, 0, 0.1, 0)
  215. fenframe1a.Position = UDim2.new(0.325, 0, 0.7, 0)
  216. fenframe1a.Text = ""
  217. local fenframe2 = it("TextLabel")
  218. fenframe2.Parent = fengui
  219. fenframe2.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  220. fenframe2.BackgroundTransparency = 0.3
  221. fenframe2.BorderSizePixel = 5
  222. fenframe2.BorderColor3 = Color3.new(1, 1, 1)
  223. fenframe2.Size = UDim2.new(0.05, 0, 0.1, 0)
  224. fenframe2.Position = UDim2.new(0.425, 0, 0.7, 0)
  225. fenframe2.Text = "X"
  226. fenframe2.TextWrapped = true
  227. fenframe2.FontSize = 7
  228. fenframe2.TextColor3 = Color3.new(1, 1, 1)
  229. local fenframe2a = it("TextLabel")
  230. fenframe2a.Parent = fengui
  231. fenframe2a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  232. fenframe2a.BackgroundTransparency = 0.3
  233. fenframe2a.BorderSizePixel = 5
  234. fenframe2a.BorderColor3 = Color3.new(1, 1, 1)
  235. fenframe2a.Size = UDim2.new(0.05, 0, 0.1, 0)
  236. fenframe2a.Position = UDim2.new(0.425, 0, 0.7, 0)
  237. fenframe2a.Text = ""
  238. local fenframe3 = it("TextLabel")
  239. fenframe3.Parent = fengui
  240. fenframe3.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  241. fenframe3.BackgroundTransparency = 0.3
  242. fenframe3.BorderSizePixel = 5
  243. fenframe3.BorderColor3 = Color3.new(1, 1, 1)
  244. fenframe3.Size = UDim2.new(0.05, 0, 0.1, 0)
  245. fenframe3.Position = UDim2.new(0.525, 0, 0.7, 0)
  246. fenframe3.Text = "C"
  247. fenframe3.TextWrapped = true
  248. fenframe3.FontSize = 7
  249. fenframe3.TextColor3 = Color3.new(1, 1, 1)
  250. local fenframe3a = it("TextLabel")
  251. fenframe3a.Parent = fengui
  252. fenframe3a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  253. fenframe3a.BackgroundTransparency = 0.3
  254. fenframe3a.BorderSizePixel = 5
  255. fenframe3a.BorderColor3 = Color3.new(1, 1, 1)
  256. fenframe3a.Size = UDim2.new(0.05, 0, 0.1, 0)
  257. fenframe3a.Position = UDim2.new(0.525, 0, 0.7, 0)
  258. fenframe3a.Text = ""
  259. local fenframe4 = it("TextLabel")
  260. fenframe4.Parent = fengui
  261. fenframe4.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  262. fenframe4.BackgroundTransparency = 0.3
  263. fenframe4.BorderSizePixel = 5
  264. fenframe4.BorderColor3 = Color3.new(1, 1, 1)
  265. fenframe4.Size = UDim2.new(0.05, 0, 0.1, 0)
  266. fenframe4.Position = UDim2.new(0.625, 0, 0.7, 0)
  267. fenframe4.Text = "V"
  268. fenframe4.TextWrapped = true
  269. fenframe4.FontSize = 7
  270. fenframe4.TextColor3 = Color3.new(1, 1, 1)
  271. local fenframe4a = it("TextLabel")
  272. fenframe4a.Parent = fengui
  273. fenframe4a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  274. fenframe4a.BackgroundTransparency = 0.3
  275. fenframe4a.BorderSizePixel = 5
  276. fenframe4a.BorderColor3 = Color3.new(1, 1, 1)
  277. fenframe4a.Size = UDim2.new(0.05, 0, 0.1, 0)
  278. fenframe4a.Position = UDim2.new(0.625, 0, 0.7, 0)
  279. fenframe4a.Text = ""
  280. fenframe1a.Size = UDim2.new(0, 0, 0.1, 0)
  281. fenframe2a.Size = UDim2.new(0, 0, 0.1, 0)
  282. fenframe3a.Size = UDim2.new(0, 0, 0.1, 0)
  283. fenframe4a.Size = UDim2.new(0, 0, 0.1, 0)
  284. CreateWeld = function(Parent, Part0, Part1, C0, C1)
  285. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  286. return Weld
  287. end
  288.  
  289. rayCast = function(Position, Direction, Range, Ignore)
  290. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  291. end
  292.  
  293. CreateSound = function(id, par, vol, pit)
  294. coroutine.resume(coroutine.create(function()
  295. local sou = Instance.new("Sound", par or workspace)
  296. sou.Volume = vol
  297. sou.Pitch = pit or 1
  298. sou.SoundId = id
  299. swait()
  300. sou:play()
  301. game:GetService("Debris"):AddItem(sou, 6)
  302. end
  303. ))
  304. end
  305.  
  306. local getclosest = function(obj, distance)
  307. local last, lastx = distance + 1, nil
  308. for i,v in pairs(workspace:GetChildren()) do
  309. if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  310. local t = v.Torso
  311. local dist = t.Position - obj.Position.magnitude
  312. if dist <= distance and dist < last then
  313. last = dist
  314. lastx = v
  315. end
  316. end
  317. end
  318. return lastx
  319. end
  320.  
  321. Handle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeHandle", Vector3.new(0.209999964, 2.57000017, 0.210000098))
  322. HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.971689701, -0.108011246, 0.0337958336, 7.52883196e-008, -1, 5.96046377e-008, 1.49776653e-008, -5.96046377e-008, -1, 1, 7.52883196e-008, 1.497766e-008))
  323. CreateMesh("CylinderMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  324. FakeHandle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeHandle", Vector3.new(0.209999964, 2.57000017, 0.210000098))
  325. FakeHandleWeld = CreateWeld(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 1.12764321e-015, 0, 1.12764321e-015, 1, 0, 0, 0, 1))
  326. CreateMesh("CylinderMesh", FakeHandle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  327. Hitbox = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Black", "Hitbox", Vector3.new(3, 5.2300005, 2.70000005))
  328. HitboxWeld = CreateWeld(m, FakeHandle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0100002289, -0.0249986649, -5.90500546, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014))
  329. CreateMesh("CylinderMesh", Hitbox, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  330. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(3, 2.79999995, 0.399999976))
  331. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.85500193, 0.0100011826, -2.64999771, 1.49011612e-007, 1, -7.54979084e-008, -5.96046341e-008, -7.54979013e-008, -1, -1, 1.49011612e-007, 5.96046235e-008))
  332. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(3, 3, 1))
  333. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(3, 2.79999995, 0.399999976))
  334. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.85500288, 0.0100007057, 2.60000563, 1.49011612e-007, 1, -7.54979084e-008, -5.96046341e-008, -7.54979013e-008, -1, -1, 1.49011612e-007, 5.96046235e-008))
  335. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(3, 3, 1))
  336. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(3, 2.79999995, 0.399999976))
  337. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.88499594, 0.0100002289, -1.46000004, 1.49011612e-007, 1, -7.54979084e-008, -5.96046341e-008, -7.54979013e-008, -1, -1, 1.49011612e-007, 5.96046235e-008))
  338. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2.5, 2.5, 1))
  339. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(3, 1.16000009, 2.70000005))
  340. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00999927521, -2.06000137, -5.90500546, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014))
  341. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  342. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(3, 1.16000009, 2.70000005))
  343. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0100007057, 2.06999922, -5.90500736, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014))
  344. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  345. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1.63, 0.56000042, 1.28000009))
  346. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0049996376, 1.21000218, -5.91500092, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014))
  347. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  348. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(1.15999997, 1.44999993, 0.399999976))
  349. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.91499901, -0.0250031948, 0.0100007057, -6.23954073e-015, 1, 4.37113883e-008, 1, 1.08930461e-014, -5.96046448e-008, -5.96046448e-008, 4.37113883e-008, -1))
  350. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2, 2, 15))
  351. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1.63, 0.56000042, 1.28000009))
  352. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0400049686, -0.0049996376, -5.91499901, 1, 5.96046377e-008, 1.42108547e-014, 1.42108547e-014, -4.37113883e-008, -1, -5.96046377e-008, 1, -4.37113883e-008))
  353. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  354. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1.63, 0.56000042, 1.28000009))
  355. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00500011444, -1.22999811, -5.91500092, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014))
  356. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  357. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.209999964, 9.44000053, 0.51000011))
  358. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.724998236, -0.0100002289, 1, 1.12764321e-015, 0, 1.12764321e-015, 1, 0, 0, 0, 1))
  359. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  360. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(3, 2.79999995, 0.399999976))
  361. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.88499784, 0.00999975204, 1.47000384, 1.49011612e-007, 1, -7.54979084e-008, -5.96046341e-008, -7.54979013e-008, -1, -1, 1.49011612e-007, 5.96046235e-008))
  362. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2.5, 2.5, 1))
  363. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.5, 0, "Black", "Part", Vector3.new(0.74000001, 0.220000267, 0.360000014))
  364. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0199999809, -5.46746063, -2.75282335, -5.96046235e-008, -1.59872116e-014, -1, -0.499999762, 0.866025686, 2.98022833e-008, 0.866025686, 0.499999732, -5.16191392e-008))
  365. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  366. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.350000024, 0.56000042, 0.240000129))
  367. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00500011444, -0.0100033283, 4.05498981, -2.08616257e-007, 4.37113954e-008, 1, 1, 7.80494105e-015, 2.08616257e-007, 4.94211283e-015, 1, -4.37113954e-008))
  368. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  369. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.5, 0, "Black", "Part", Vector3.new(0.74000001, 0.220000267, 0.350000024))
  370. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0200004578, -5.48171663, 2.72313046, -5.96046235e-008, -1.59872116e-014, -1, 0.500000298, 0.866025209, -2.98023437e-008, 0.866025209, -0.500000298, -5.1619093e-008))
  371. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  372. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.5, 0, "Black", "Part", Vector3.new(0.74000001, 0.220000267, 0.650000036))
  373. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0199995041, 0.0192580223, -5.73387241, -5.96046235e-008, -1.59872116e-014, -1, -1, 2.08616285e-007, 5.96046199e-008, 2.08616285e-007, 1, -2.84217094e-014))
  374. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  375. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.5, 0, "Black", "Part", Vector3.new(0.74000001, 0.220000267, 0.240000024))
  376. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0199999809, 0.0192596912, -6.29887009, -5.96046235e-008, -1.59872116e-014, -1, -1, 2.08616285e-007, 5.96046199e-008, 2.08616285e-007, 1, -2.84217094e-014))
  377. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  378. for _,c in pairs(m:children()) do
  379. if c.className == "Part" then
  380. table.insert(Hammer, c)
  381. end
  382. end
  383. for _,c in pairs(m:children()) do
  384. if c.className == "Weld" then
  385. table.insert(HammerWelds, c)
  386. print(c)
  387. end
  388. end
  389. local model2 = (Instance.new("Model"))
  390. model2.Parent = nil
  391. model2.Name = "Chakkran"
  392. DBlade = {}
  393. DBladeWelds = {}
  394. Handle2 = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeHandle2", Vector3.new(0.209999964, 2.69000053, 0.51000011))
  395. Handle2Weld = CreateWeld(model2, Character["Right Arm"], Handle2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.949001789, 0.258885384, 0.0171251297, 0.000207733654, -0.99935025, 0.0360427685, -0.00575854396, -0.036043372, -0.999333739, 0.99998337, 4.13686969e-008, -0.00576228928))
  396. FakeHandle2 = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeHandle2", Vector3.new(0.209999964, 2.69000053, 0.51000011))
  397. FakeHandle2Weld = CreateWeld(model2, Handle2, FakeHandle2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, -4.25188773e-010, 0, -4.25188773e-010, 1.00000024, 4.65661287e-010, 0, 4.65661287e-010, 0.99999994))
  398. Part = CreatePart(model2, Enum.Material.Plastic, 0.20000000298023, 0, "Black", "Part", Vector3.new(1, 1, 1))
  399. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-8.92499352, -0.0200054646, -0.0200014114, 2.93771336e-008, 1.00000024, 4.65661287e-010, 1, -2.99711473e-008, -4.46889317e-008, -4.47034836e-008, -4.65661287e-010, -0.99999994))
  400. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1.20000005))
  401. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019))
  402. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.90734863e-006, -8.08396149, 2.38490152, 1.28376996e-007, -2.45403498e-007, -1, 1.82063104e-007, 1.00000012, -2.44472176e-007, 1.00000012, -1.83709744e-007, 1.28362444e-007))
  403. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  404. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019))
  405. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -8.08396339, 2.48509741, -2.16707122e-007, -3.11993062e-008, 0.99999994, -1.41979626e-007, 1.00000012, 3.21306288e-008, -1, -1.39892563e-007, -2.1669257e-007))
  406. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  407. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 4.19999981, 0.430000037))
  408. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -0.0473937988, 8.07886314, -4.40340955e-008, -1.62050128e-007, -1, 1.00000012, -2.46049012e-007, -4.40486474e-008, -2.4541032e-007, -1.00000024, 1.61584467e-007))
  409. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  410. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 6.19999981, 0.430000037))
  411. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -5.36886501, -0.00739479065, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
  412. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  413. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 6.0999999, 0.430000037))
  414. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -0.097391963, 9.86886406, -4.40340955e-008, -1.62050128e-007, -1, 1.00000012, -2.46049012e-007, -4.40486474e-008, -2.4541032e-007, -1.00000024, 1.61584467e-007))
  415. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  416. Part = CreatePart(model2, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(1, 1, 1))
  417. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.77499247, -0.0200061798, -0.0100002289, 2.93771336e-008, 1.00000024, 4.65661287e-010, 1, -2.99711473e-008, -4.46889317e-008, -4.47034836e-008, -4.65661287e-010, -0.99999994))
  418. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(1, 1, 3))
  419. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019))
  420. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.90734863e-006, -9.87396622, 3.47510171, -2.16707122e-007, -3.11993062e-008, 0.99999994, -1.41979626e-007, 1.00000012, 3.21306288e-008, -1, -1.39892563e-007, -2.1669257e-007))
  421. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  422. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019))
  423. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.90734863e-006, -9.8739624, 3.23490095, 1.28376996e-007, -2.45403498e-007, -1, 1.82063104e-007, 1.00000012, -2.44472176e-007, 1.00000012, -1.83709744e-007, 1.28362444e-007))
  424. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  425. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 2.29999971, 0.430000037))
  426. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -1.59739149, 8.96886349, -4.40340955e-008, -1.62050128e-007, -1, 1.00000012, -2.46049012e-007, -4.40486474e-008, -2.4541032e-007, -1.00000024, 1.61584467e-007))
  427. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  428. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.350000024, 0.56000042, 0.240000129))
  429. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0149993896, -0.0100066662, 1.40500164, -1.05195795e-007, 1.56462193e-007, 1, 1, -7.18138153e-008, 1.05181243e-007, 7.03228125e-008, 1.00000024, -1.55996531e-007))
  430. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  431. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019))
  432. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -8.97396851, 3.07490206, 1.28376996e-007, -2.45403498e-007, -1, 1.82063104e-007, 1.00000012, -2.44472176e-007, 1.00000012, -1.83709744e-007, 1.28362444e-007))
  433. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  434. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.209999964, 2.69000053, 0.51000011))
  435. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, -4.25188773e-010, 0, -4.25188773e-010, 1.00000024, 4.65661287e-010, 0, 4.65661287e-010, 0.99999994))
  436. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  437. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019))
  438. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -8.9739666, 3.09509993, -2.16707122e-007, -3.11993062e-008, 0.99999994, -1.41979626e-007, 1.00000012, 3.21306288e-008, -1, -1.39892563e-007, -2.1669257e-007))
  439. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  440. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.249999881, 0.200000033))
  441. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, -6.23282051, -6.55576801, -4.40340955e-008, -1.62050128e-007, -1, -0.707106888, 0.707106769, -8.28877091e-008, 0.707106769, 0.707106888, -1.45286322e-007))
  442. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
  443. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.350000024, 0.56000042, 0.240000129))
  444. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.014998436, 0.749990344, -1.77499676, -1.05195795e-007, 1.56462193e-007, 1, 1, -7.18138153e-008, 1.05181243e-007, 7.03228125e-008, 1.00000024, -1.55996531e-007))
  445. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  446. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.21999988, 0.200000033))
  447. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, -1.96886635, -0.0223923922, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
  448. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 0.5))
  449. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.21999988, 0.200000033))
  450. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, -9.13886261, -0.0223926306, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
  451. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 0.5))
  452. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.249999881, 0.200000033))
  453. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, 6.25878143, -6.52980947, -4.40340955e-008, -1.62050128e-007, -1, -0.707107246, -0.707106411, 1.45286322e-007, -0.707106411, 0.707107306, -8.28877091e-008))
  454. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
  455. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.379999876, 0.200000033))
  456. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, -8.84886265, -0.0223910809, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
  457. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
  458. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.379999876, 0.200000033))
  459. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.029999733, -1.67886019, -0.0223929882, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
  460. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
  461. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 2.29999971, 0.430000037))
  462. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, 1.59260416, 8.96886063, -4.40340955e-008, -1.62050128e-007, -1, 1.00000012, -2.46049012e-007, -4.40486474e-008, -2.4541032e-007, -1.00000024, 1.61584467e-007))
  463. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  464. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.350000024, 0.56000042, 0.240000129))
  465. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.014998436, -0.780008078, -1.7750001, -1.05195795e-007, 1.56462193e-007, 1, 1, -7.18138153e-008, 1.05181243e-007, 7.03228125e-008, 1.00000024, -1.55996531e-007))
  466. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  467. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.309999585, 0.430000037))
  468. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -9.56385708, -0.00739264488, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
  469. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  470. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.249999881, 0.200000033))
  471. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, 1.18883181, -1.45985472, -4.40340955e-008, -1.62050128e-007, -1, -0.707107246, -0.707106411, 1.45286322e-007, -0.707106411, 0.707107306, -8.28877091e-008))
  472. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
  473. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.249999881, 0.200000033))
  474. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.029999733, -1.16286898, -1.48581553, -4.40340955e-008, -1.62050128e-007, -1, -0.707106888, 0.707106769, -8.28877091e-008, 0.707106769, 0.707106888, -1.45286322e-007))
  475. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
  476. Hitbox2 = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 1, "Black", "Hitbox2", Vector3.new(0.219999999, 7.46999931, 2.97999978))
  477. Hitbox2Weld = CreateWeld(model2, FakeHandle2, Hitbox2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316e-007, -6.36385679, -0.112392664, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
  478. CreateMesh("SpecialMesh", Hitbox2, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  479. for _,c in pairs(model2:children()) do
  480. if c.className == "Part" then
  481. table.insert(DBlade, c)
  482. end
  483. end
  484. for _,c in pairs(model2:children()) do
  485. if c.className == "Weld" then
  486. table.insert(DBladeWelds, c)
  487. print(c)
  488. end
  489. end
  490. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  491. if hit.Parent == nil then
  492. return
  493. end
  494. local h = hit.Parent:FindFirstChild("Humanoid")
  495. for _,v in pairs(hit.Parent:children()) do
  496. if v:IsA("Humanoid") then
  497. h = v
  498. end
  499. end
  500. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  501. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  502. return
  503. end
  504. local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
  505. game:GetService("Debris"):AddItem(c, 0.5)
  506. if HitSound ~= nil and HitPitch ~= nil then
  507. CreateSound(HitSound, hit, 1, HitPitch)
  508. end
  509. local Damage = math.random(minim, maxim)
  510. local blocked = false
  511. local block = hit.Parent:findFirstChild("Block")
  512. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  513. blocked = true
  514. block.Value = block.Value - 1
  515. print(block.Value)
  516. end
  517. if blocked == false then
  518. h.Health = h.Health - Damage
  519. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  520. else
  521. h.Health = h.Health - Damage / 2
  522. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  523. end
  524. if Type == "Knockdown" then
  525. local hum = hit.Parent.Humanoid
  526. hum.PlatformStand = true
  527. coroutine.resume(coroutine.create(function(HHumanoid)
  528. swait(1)
  529. HHumanoid.PlatformStand = false
  530. end
  531. ), hum)
  532. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  533. local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  534. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  535. game:GetService("Debris"):AddItem(bodvol, 0.5)
  536. game:GetService("Debris"):AddItem(rl, 0.5)
  537. else
  538. do
  539. if Type == "Normal" then
  540. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
  541. if knockback > 0 then
  542. vp.Parent = hit.Parent.Torso
  543. end
  544. game:GetService("Debris"):AddItem(vp, 0.5)
  545. else
  546. do
  547. if Type == "Up" then
  548. local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  549. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  550. else
  551. do
  552. if Type == "DarkUp" then
  553. coroutine.resume(coroutine.create(function()
  554. for i = 0, 1, 0.1 do
  555. swait()
  556. BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  557. end
  558. end
  559. ))
  560. local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  561. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  562. else
  563. do
  564. if Type == "Snare" then
  565. local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  566. game:GetService("Debris"):AddItem(bp, 1)
  567. else
  568. do
  569. if Type == "Freeze" then
  570. local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  571. local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
  572. hit.Parent.Torso.Anchored = true
  573. coroutine.resume(coroutine.create(function(Part)
  574. swait(1.5)
  575. Part.Anchored = false
  576. end
  577. ), hit.Parent.Torso)
  578. game:GetService("Debris"):AddItem(BodPos, 3)
  579. game:GetService("Debris"):AddItem(BodGy, 3)
  580. end
  581. do
  582. local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  583. game:GetService("Debris"):AddItem(debounce, Delay)
  584. c = Instance.new("ObjectValue")
  585. c.Name = "creator"
  586. c.Value = Player
  587. c.Parent = h
  588. game:GetService("Debris"):AddItem(c, 0.5)
  589. end
  590. end
  591. end
  592. end
  593. end
  594. end
  595. end
  596. end
  597. end
  598. end
  599. end
  600. end
  601. end
  602.  
  603. ShowDamage = function(Pos, Text, Time, Color)
  604. local Rate = 0.033333333333333
  605. if not Pos then
  606. local Pos = Vector3.new(0, 0, 0)
  607. end
  608. local Text = Text or ""
  609. local Time = Time or 2
  610. if not Color then
  611. local Color = Color3.new(1, 0, 1)
  612. end
  613. local EffectPart = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
  614. EffectPart.Anchored = true
  615. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
  616. local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
  617. game.Debris:AddItem(EffectPart, Time + 0.1)
  618. EffectPart.Parent = game:GetService("Workspace")
  619. delay(0, function()
  620. local Frames = Time / Rate
  621. for Frame = 1, Frames do
  622. wait(Rate)
  623. local Percent = Frame / Frames
  624. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  625. TextLabel.TextTransparency = Percent
  626. end
  627. if EffectPart and EffectPart.Parent then
  628. EffectPart:Destroy()
  629. end
  630. end
  631. )
  632. end
  633.  
  634. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  635. for _,c in pairs(workspace:children()) do
  636. local hum = c:findFirstChild("Humanoid")
  637. if hum ~= nil then
  638. local head = c:findFirstChild("Torso")
  639. if head ~= nil then
  640. local targ = head.Position - Part.Position
  641. local mag = targ.magnitude
  642. if mag <= magni and c.Name ~= Player.Name then
  643. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
  644. end
  645. end
  646. end
  647. end
  648. end
  649.  
  650. BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  651. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  652. prt.Anchored = true
  653. prt.CFrame = cframe
  654. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  655. game:GetService("Debris"):AddItem(prt, 10)
  656. if Type == 1 or Type == nil then
  657. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  658. else
  659. if Type == 2 then
  660. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  661. end
  662. end
  663. end
  664.  
  665. SphereEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  666. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  667. prt.Anchored = true
  668. prt.CFrame = cframe
  669. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  670. game:GetService("Debris"):AddItem(prt, 10)
  671. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  672. end
  673.  
  674. RingEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  675. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  676. prt.Anchored = true
  677. prt.CFrame = cframe
  678. msh = CreateMesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  679. game:GetService("Debris"):AddItem(prt, 2)
  680. coroutine.resume(coroutine.create(function(Part, Mesh, num)
  681. for i = 0, 1, delay do
  682. swait()
  683. Part.Transparency = i
  684. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  685. end
  686. Part.Parent = nil
  687. end
  688. ), prt, msh, (math.random(0, 1) + math.random()) / 5)
  689. end
  690.  
  691. CylinderEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  692. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  693. prt.Anchored = true
  694. prt.CFrame = cframe
  695. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  696. game:GetService("Debris"):AddItem(prt, 10)
  697. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  698. end
  699.  
  700. WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  701. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  702. prt.Anchored = true
  703. prt.CFrame = cframe
  704. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  705. game:GetService("Debris"):AddItem(prt, 10)
  706. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  707. end
  708.  
  709. SpecialEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  710. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  711. prt.Anchored = true
  712. prt.CFrame = cframe
  713. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  714. game:GetService("Debris"):AddItem(prt, 10)
  715. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  716. end
  717.  
  718. CloudEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  719. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  720. prt.Anchored = true
  721. prt.CFrame = cframe
  722. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://1095708", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  723. game:GetService("Debris"):AddItem(prt, 10)
  724. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  725. end
  726.  
  727. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  728. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  729. prt.Anchored = true
  730. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  731. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  732. local num = math.random(10, 50) / 1000
  733. game:GetService("Debris"):AddItem(prt, 10)
  734. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  735. end
  736.  
  737. battackone = function()
  738. attack = true
  739. local con = Hitbox2.Touched:connect(function(hit)
  740. Damagefunc(Hitbox2, hit, 5, 13, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  741. end
  742. )
  743. CreateSound("http://roblox.com/asset/?id=189505665", Hitbox2, 1, 0.85)
  744. for i = 0, 1, 0.1 do
  745. swait()
  746. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  747. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3)
  748. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  749. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
  750. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  751. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  752. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
  753. end
  754. CreateSound("http://roblox.com/asset/?id=189505662", Hitbox2, 1, 1)
  755. for i = 0, 1, 0.1 do
  756. swait()
  757. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  758. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3)
  759. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(70)), 0.3)
  760. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(-90)), 0.3)
  761. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  762. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  763. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(100), math.rad(0)), 0.3)
  764. end
  765. attack = false
  766. con:disconnect()
  767. end
  768.  
  769. HadesKnife = function()
  770. attack = true
  771. local con = Hitbox2.Touched:connect(function(hit)
  772. Damagefunc(Hitbox2, hit, 5, 10, math.random(1, 5), "Knockdown", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  773. end
  774. )
  775. CreateSound("http://www.roblox.com/asset/?id=233856146", Torso, 1, 1)
  776. for i = 0, 1, 0.1 do
  777. swait()
  778. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  779. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3)
  780. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.3)
  781. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  782. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  783. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  784. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(100), math.rad(0)), 0.3)
  785. end
  786. CreateSound("http://roblox.com/asset/?id=189505662", Hitbox2, 1, 1.2)
  787. for i = 0, 1, 0.1 do
  788. swait()
  789. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * i)), 0.3)
  790. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3)
  791. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  792. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-50)), 0.3)
  793. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  794. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  795. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
  796. end
  797. CreateSound("http://roblox.com/asset/?id=189505662", Hitbox2, 1, 1.2)
  798. for i = 0, 1, 0.1 do
  799. swait()
  800. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * i)), 0.3)
  801. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(30), math.rad(0), math.rad(80)), 0.3)
  802. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  803. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
  804. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  805. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  806. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
  807. end
  808. CreateSound("http://roblox.com/asset/?id=189505662", Hitbox2, 1, 1.2)
  809. for i = 0, 1, 0.1 do
  810. swait()
  811. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(40), math.rad(0), math.rad(-70)), 0.3)
  812. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(-30), math.rad(70)), 0.3)
  813. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.3)
  814. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-60)), 0.3)
  815. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(-30)), 0.3)
  816. LH.C0 = clerp(LH.C0, cf(-1, 0.2, 0) * angles(math.rad(0), math.rad(-40), math.rad(-60)), 0.3)
  817. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
  818. end
  819. con:disconnect()
  820. attack = false
  821. end
  822.  
  823. HellFromAbove = function()
  824. attack = true
  825. for i = 0, 1, 0.1 do
  826. swait()
  827. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(40), math.rad(0), math.rad(-70)), 0.3)
  828. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(-30), math.rad(70)), 0.3)
  829. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.3)
  830. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-60)), 0.3)
  831. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(-30)), 0.3)
  832. LH.C0 = clerp(LH.C0, cf(-1, 0.2, 0) * angles(math.rad(0), math.rad(-40), math.rad(-60)), 0.3)
  833. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
  834. end
  835. RingEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 2, 2, 0, 2, 2, 0, 0.05)
  836. RingEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1, 1, 130, 0.5, 0.5, 130, 0.05)
  837. CreateSound("http://roblox.com/asset/?id=231917970", RootPart, 1, 1)
  838. for i = 0, 1, 0.1 do
  839. swait()
  840. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 100) * angles(math.rad(0), math.rad(0), math.rad(-55)), 0.37)
  841. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.37)
  842. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(15)), 0.37)
  843. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.37)
  844. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(30), math.rad(0)), 0.35)
  845. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(30), math.rad(0)), 0.35)
  846. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.37)
  847. end
  848. coroutine.resume(coroutine.create(function()
  849. invisle()
  850. end
  851. ))
  852. end
  853.  
  854. spread = 0
  855. range = 100
  856. rangepower = 25
  857. shoottrail3 = function(mouse, baseprt)
  858. coroutine.resume(coroutine.create(function(v)
  859. local spreadvector = Vector3.new(math.random(-spread, spread), math.random(-spread, spread), math.random(-spread, spread)) * baseprt.Position - mouse.Hit.p.magnitude / 100
  860. local dir = CFrame.new((baseprt.Position + mouse.Hit.p) / 2, mouse.Hit.p + spreadvector)
  861. local hit, pos = rayCast(baseprt.Position, dir.lookVector, 10, Character)
  862. local rangepos = range * 50
  863. local drawtrail = function(From, To)
  864. local effectsmsh = Instance.new("SpecialMesh")
  865. effectsmsh.Scale = Vector3.new(1, 1, 1)
  866. effectsmsh.Name = "Mesh"
  867. effectsmsh.MeshType = "Sphere"
  868. effectsmsh.Scale = Vector3.new(5, 5, 5)
  869. local effectsg = Instance.new("Part")
  870. effectsg.formFactor = 3
  871. effectsg.CanCollide = false
  872. effectsg.Name = "Eff"
  873. effectsg.Locked = true
  874. effectsg.Anchored = true
  875. effectsg.Size = Vector3.new(0.2, 0.2, 0.2)
  876. effectsg.Parent = effect
  877. effectsmsh.Parent = effectsg
  878. effectsg.BrickColor = BrickColor.new("Black")
  879. effectsg.Reflectance = 0.25
  880. local LP = From
  881. local point1 = To
  882. local mg = LP - point1.magnitude
  883. effectsmsh.Scale = Vector3.new(20, 20, 20)
  884. effectsg.CFrame = CFrame.new((LP + point1) / 2, point1) * CFrame.Angles(math.rad(90), 0, 0)
  885. coroutine.resume(coroutine.create(function()
  886. swait()
  887. effectsg.Parent = nil
  888. end
  889. ))
  890. end
  891.  
  892. local newpos = baseprt.Position
  893. local inc = rangepower / 10
  894. repeat
  895. swait()
  896. rangepos = rangepos - 10
  897. hit = rayCast(newpos, dir.lookVector, inc, Character)
  898. drawtrail(newpos, pos)
  899. local list = (effect:children())
  900. local torso = nil
  901. local dist = 10
  902. local temp, human, temp2 = nil, nil, nil
  903. for x = 1, #list do
  904. temp2 = list[x]
  905. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  906. temp = temp2:findFirstChild("Torso")
  907. human = temp2:findFirstChild("Humanoid")
  908. if temp ~= nil and human ~= nil and human.Health > 0 and temp.Position - pos.magnitude < dist then
  909. torso = temp
  910. dist = temp.Position - pos.magnitude
  911. end
  912. end
  913. end
  914. if torso ~= nil then
  915. dir = CFrame.new(pos, torso.Position)
  916. end
  917. newpos = newpos + dir.lookVector * inc
  918. if hit ~= nil then
  919. rangepos = 0
  920. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  921. hum = hit.Parent.Humanoid
  922. tTorso = hit.Parent.Torso
  923. MagniDamage(hit, 10, 10, 15, 0, "Knockdown")
  924. attackdebounce = false
  925. else
  926. if hit.Parent.Parent ~= nil and hit.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  927. hum = hit.Parent.Parent.Humanoid
  928. tTorso = hit.Parent.Parent.Torso
  929. MagniDamage(hit.Parent.Parent.Torso, 10, 10, 15, 0, "Knockdown")
  930. attackdebounce = false
  931. end
  932. end
  933. for i = 1, math.random(3, 6) do
  934. BreakEffect(BrickColor.new("Black"), CFrame.new(newpos), 0.5, math.random(5, 20), 0.5)
  935. end
  936. CreateSound("http://roblox.com/asset/?id=3264793", hit, 1, math.random() + math.random() + 1)
  937. SphereEffect(BrickColor.new("Black"), CFrame.new(newpos), 2, 2, 2, 3, 3, 3, 0.07)
  938. BlockEffect(BrickColor.new("Black"), CFrame.new(newpos), 2, 2, 2, 2, 2, 2, 0.07, 1)
  939. end
  940. until rangepos <= 0
  941. end
  942. ))
  943. end
  944.  
  945. PlaySound = function(id, pitch, parent, volume)
  946. if volume == nil then
  947. volume = tonumber(1)
  948. end
  949. local epicsound = Instance.new("Sound")
  950. epicsound.Name = "Epicosound"
  951. epicsound.SoundId = "rbxassetid://" .. id
  952. epicsound.Volume = volume
  953. epicsound.Pitch = pitch
  954. epicsound.Looped = false
  955. epicsound.Parent = parent
  956. wait()
  957. epicsound:Play()
  958. game:service("Debris"):AddItem(epicsound, 8)
  959. end
  960.  
  961. Shots = {263609809, 263609836, 263609864, 263609874, 263609898}
  962. Shot = function(part)
  963. local shot = math.random(1, #Shots)
  964. PlaySound(Shots[shot], 1, part)
  965. end
  966.  
  967. invisle = function()
  968. invisy = true
  969. Humanoid.WalkSpeed = 30
  970. coroutine.resume(coroutine.create(function()
  971. for i,v in pairs(Character:children()) do
  972. if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
  973. v.Transparency = 1
  974. end
  975. if v:IsA("Hat") then
  976. v.Handle.Transparency = 1
  977. end
  978. Head.face.Transparency = 1
  979. end
  980. for i,v in pairs(model2:children()) do
  981. if v:IsA("BasePart") then
  982. v.Transparency = 1
  983. Handle2.TransParency = 1
  984. FakeHandle2.TransParency = 1
  985. end
  986. end
  987. end
  988. ))
  989. coroutine.resume(coroutine.create(function()
  990. while invisy == true do
  991. wait(0.5)
  992. for i = 1, 3 do
  993. local orb = CreatePart(Character, "SmoothPlastic", 0, 0.5, BrickColor.new("Black"), "Orb", vt())
  994. orb.Anchored = true
  995. Shot(orb)
  996. local omsh = CreateMesh("SpecialMesh", orb, "Sphere", "", vt(0, 0, 0), vt(10, 10, 10))
  997. orb.CFrame = cf(RootPart.Position + vt(math.random(-10, 10), 1, math.random(-10, 10)))
  998. SphereEffect(BrickColor.new("Black"), orb.CFrame, 10, 10, 10, 1, 1, 1, 0.1)
  999. coroutine.resume(coroutine.create(function(Part, Mesh, Weld)
  1000. wait(1)
  1001. Part.Parent = nil
  1002. local spread = vt(0, 0, 0) * (Part.Position - (Part.Position + vt(0, -1, 0))).magnitude / 100
  1003. local TheHit = Part.Position + vt(0, -1, 0)
  1004. local MouseLook = cf((Part.Position + TheHit) / 2, TheHit + spread)
  1005. local hit, pos = rayCast(Part.Position, MouseLook.lookVector, 999, Character)
  1006. local mag = Part.Position - pos.magnitude
  1007. CylinderEffect(BrickColor.new("Black"), CFrame.new((Part.Position + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * 10, 1, 0.5, 100, 0.5, 0.05)
  1008. RingEffect(BrickColor.new("Black"), cf(pos) * angles(1.57, math.random(-100, 100) / 100, math.random(-100, 100) / 100), 1, 1, 1, 2, 2, 2, 0.05)
  1009. do
  1010. local ref = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Effect", vt())
  1011. ref.CFrame = cf(pos)
  1012. CreateSound("http://roblox.com/asset/?id=231917788", ref, 1, 1.4)
  1013. coroutine.resume(coroutine.create(function(Part)
  1014. wait(1)
  1015. Part.Parent = nil
  1016. end
  1017. ), ref)
  1018. MagniDamage(ref, 15, 5, 10, 0, "Normal")
  1019. if hit ~= nil then
  1020. end
  1021. end
  1022. end
  1023. ), orb, omsh)
  1024. end
  1025. wait(0.5)
  1026. local n = 2
  1027. for i = 0, 1, 0.1 do
  1028. wait()
  1029. n = n - 0.1
  1030. end
  1031. RingEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 2, 2, 0, 2, 2, 0, 0.05)
  1032. end
  1033. end
  1034. ))
  1035. coroutine.resume(coroutine.create(function()
  1036. while invisy == true do
  1037. wait(0.1)
  1038. Torso.Velocity = RootPart.CFrame.lookVector * 50
  1039. WaveEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1, 1, 1, 0.5, 0.5, 0.5, 0.05)
  1040. end
  1041. end
  1042. ))
  1043. for i = 1, 100 do
  1044. wait()
  1045. end
  1046. SphereEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 2, 2, 0, 2, 2, 0, 0.05)
  1047. SphereEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1, 1, 130, 0.5, 0.5, 130, 0.05)
  1048. BlockEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1, 1, 1, 1, 1, 1, 0.05, 1)
  1049. CreateSound("http://roblox.com/asset/?id=231917806", Torso, 1, 1)
  1050. MagniDamage(Hitbox, 10, 15, 25, 10, "Normal")
  1051. coroutine.resume(coroutine.create(function()
  1052. for i,v in pairs(Character:children()) do
  1053. if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
  1054. v.Transparency = 0
  1055. end
  1056. if v:IsA("Hat") then
  1057. v.Handle.Transparency = 0
  1058. end
  1059. Head.face.Transparency = 0
  1060. end
  1061. for i,v in pairs(model2:children()) do
  1062. if v:IsA("BasePart") then
  1063. v.Transparency = 0
  1064. end
  1065. end
  1066. Hitbox2.Transparency = 1
  1067. Handle2.Transparency = 1
  1068. FakeHandle2.Transparency = 1
  1069. end
  1070. ))
  1071. Humanoid.WalkSpeed = 16
  1072. attack = false
  1073. invisy = false
  1074. end
  1075.  
  1076. battacktwo = function()
  1077. attack = true
  1078. local con = Hitbox2.Touched:connect(function(hit)
  1079. Damagefunc(Hitbox2, hit, 5, 13, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1080. end
  1081. )
  1082. CreateSound("http://roblox.com/asset/?id=320557453", Handle2, 1, 1)
  1083. for i = 0, 1, 0.1 do
  1084. swait()
  1085. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  1086. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3)
  1087. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.3)
  1088. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  1089. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  1090. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1091. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(100), math.rad(0)), 0.3)
  1092. end
  1093. CreateSound("http://roblox.com/asset/?id=189505639", Hitbox2, 1, 0.85)
  1094. for i = 0, 1, 0.1 do
  1095. swait()
  1096. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  1097. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3)
  1098. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  1099. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1100. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  1101. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1102. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
  1103. end
  1104. attack = false
  1105. con:disconnect()
  1106. end
  1107.  
  1108. HadesArrow = function()
  1109. attack = true
  1110. CreateSound("http://www.roblox.com/asset/?id=233856146", Torso, 1, 1)
  1111. for i = 0, 1, 0.1 do
  1112. swait()
  1113. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  1114. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3)
  1115. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  1116. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
  1117. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  1118. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1119. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
  1120. end
  1121. for i = 0, 1, 0.1 do
  1122. swait()
  1123. BlockEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, 0, 0), 1, 1, 1, 1, 1, 1, 0.05)
  1124. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  1125. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3)
  1126. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  1127. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
  1128. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  1129. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1130. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
  1131. end
  1132. shoottrail3(mouse, LeftArm)
  1133. attack = false
  1134. end
  1135.  
  1136. battackthree = function()
  1137. attack = true
  1138. CreateSound("http://www.roblox.com/asset/?id=233856146", Torso, 1, 1)
  1139. for i = 0, 1, 0.1 do
  1140. swait()
  1141. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  1142. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3)
  1143. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  1144. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
  1145. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  1146. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1147. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
  1148. end
  1149. coroutine.resume(coroutine.create(function()
  1150. for i = 1, 1 do
  1151. swait()
  1152. local ef = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Effect", vt())
  1153. CreateSound("http://www.roblox.com/asset/?id=192410089", ef, 1, 1)
  1154. ef.Anchored = true
  1155. ef.CFrame = RootPart.CFrame * cf(0, 0, -7.5)
  1156. MagniDamage(ef, 7, 10, 15, 10, "Knockdown")
  1157. SphereEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, -7.5), 1, 1, 1, 5, 5, 5, 0.05)
  1158. game:GetService("Debris"):AddItem(ef, 0.5)
  1159. WaveEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, -2, -7.5), 1, 1, 1, 1, 1, 1, 0.08)
  1160. end
  1161. end
  1162. ))
  1163. for i = 0, 1, 0.1 do
  1164. swait()
  1165. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  1166. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3)
  1167. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(90)), 0.3)
  1168. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
  1169. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  1170. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1171. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
  1172. end
  1173. attack = false
  1174. end
  1175.  
  1176. attackone = function()
  1177. attack = true
  1178. CreateSound("http://roblox.com/asset/?id=320557453", Handle, 1, 1)
  1179. local con = Hitbox.Touched:connect(function(hit)
  1180. Damagefunc(Hitbox, hit, 5, 13, math.random(5, 10), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1181. end
  1182. )
  1183. for i = 0, 1, 0.1 do
  1184. swait()
  1185. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(-20), math.rad(-80)), 0.3)
  1186. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(80)), 0.3)
  1187. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(50)), 0.3)
  1188. LW.C0 = clerp(LW.C0, CFrame.new(-0.8, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(80)), 0.3)
  1189. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1190. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1191. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(30), math.rad(20), math.rad(90)), 0.3)
  1192. end
  1193. CreateSound("http://roblox.com/asset/?id=377357731", Handle, 1, 1)
  1194. for i = 0, 1, 0.1 do
  1195. swait()
  1196. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(20), math.rad(80)), 0.3)
  1197. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3)
  1198. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(100), math.rad(130)), 0.3)
  1199. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3)
  1200. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1201. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1202. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(90), math.rad(90), math.rad(180)), 0.3)
  1203. end
  1204. con:disconnect()
  1205. attack = false
  1206. end
  1207.  
  1208. attacktwo = function()
  1209. attack = true
  1210. local con = Hitbox.Touched:connect(function(hit)
  1211. Damagefunc(Hitbox, hit, 5, 13, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1212. end
  1213. )
  1214. CreateSound("http://roblox.com/asset/?id=320557563", Handle, 1, 1)
  1215. for i = 0, 1, 0.1 do
  1216. swait()
  1217. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(20), math.rad(80)), 0.3)
  1218. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3)
  1219. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(100), math.rad(130)), 0.3)
  1220. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3)
  1221. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1222. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1223. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(90), math.rad(90), math.rad(180)), 0.3)
  1224. end
  1225. CreateSound("http://roblox.com/asset/?id=377357731", Handle, 1, 1.1)
  1226. for i = 0, 1, 0.1 do
  1227. swait()
  1228. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(-20), math.rad(-80)), 0.3)
  1229. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(80)), 0.3)
  1230. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(50)), 0.3)
  1231. LW.C0 = clerp(LW.C0, CFrame.new(-0.8, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(80)), 0.3)
  1232. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1233. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1234. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(30), math.rad(20), math.rad(90)), 0.3)
  1235. end
  1236. con:disconnect()
  1237. attack = false
  1238. end
  1239.  
  1240. attackthree = function()
  1241. attack = true
  1242. local con = Hitbox.Touched:connect(function(hit)
  1243. Damagefunc(Hitbox, hit, 5, 13, math.random(1, 10), "Knockdown", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1244. end
  1245. )
  1246. CreateSound("http://roblox.com/asset/?id=320557518", Handle, 1, 1)
  1247. for i = 0, 1, 0.1 do
  1248. swait()
  1249. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1250. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1251. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3)
  1252. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(180), math.rad(50), math.rad(80)), 0.3)
  1253. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1254. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1255. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
  1256. end
  1257. CreateSound("http://roblox.com/asset/?id=377357731", Handle, 1, 0.9)
  1258. for i = 0, 1, 0.5 do
  1259. swait()
  1260. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1261. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1262. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(30), math.rad(0)), 0.3)
  1263. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(50), math.rad(80)), 0.3)
  1264. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1265. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1266. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
  1267. end
  1268. for i = 0, 1, 0.1 do
  1269. swait()
  1270. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1271. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1272. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
  1273. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3)
  1274. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1275. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1276. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
  1277. end
  1278. con:disconnect()
  1279. CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 0.5, 0.5, 0.5, 0.05)
  1280. attack = false
  1281. end
  1282.  
  1283. BlackDeath = function()
  1284. attack = true
  1285. CreateSound("http://www.roblox.com/asset/?id=169445046", Handle, 1, 1)
  1286. for i = 0, 1, 0.1 do
  1287. swait()
  1288. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  1289. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  1290. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  1291. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
  1292. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  1293. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1294. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1295. end
  1296. for i = 0, 1, 0.1 do
  1297. swait()
  1298. BlockEffect(BrickColor.new("Black"), LeftArm.CFrame, 5, 5, 5, 1, 1, 1, 0.07)
  1299. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1300. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1301. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  1302. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-180)), 0.3)
  1303. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  1304. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1305. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1306. end
  1307. n = 2
  1308. local cf2 = RootPart.CFrame * cf(0, 500, -20)
  1309. local ref = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Navy blue"), "Effect", vt())
  1310. ref.CFrame = cf2
  1311. ref.Anchored = true
  1312. local TheHit = ref.Position + vt(0, -1, 0)
  1313. local MouseLook = cf((ref.Position + TheHit) / 2, TheHit)
  1314. local hit, pos = rayCast(ref.Position, MouseLook.lookVector, 999, Character)
  1315. local ref2 = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Navy blue"), "Effect", vt())
  1316. ref2.CFrame = cf(pos)
  1317. ref2.Anchored = true
  1318. local mag = (ref.Position - pos).magnitude
  1319. CylinderEffect(BrickColor.new("Black"), CFrame.new((ref.Position + pos) / 2, pos) * angles(1.57, 0, 0), 5, mag * 5, 5, 1, 0, 1, 0.05)
  1320. SphereEffect(BrickColor.new("Black"), ref2.CFrame, 15, 15, 15, 3, 3, 3, 0.02)
  1321. BlockEffect(BrickColor.new("Black"), ref2.CFrame, 15, 15, 15, 2, 2, 2, 0.02)
  1322. WaveEffect(BrickColor.new("Black"), ref2.CFrame, 5, 5, 5, 2, 2, 2, 0.05)
  1323. RingEffect(BrickColor.new("Black"), cf(ref2.Position) * angles(1.57, 0, 0), 5, 5, 5, 1, 1, 1, 0.05)
  1324. MagniDamage(ref2, 10, 10, 15, 30, "Knockdown")
  1325. CreateSound("http://roblox.com/asset/?id=144844438", ref2, 1, 0.9)
  1326. CreateSound("http://roblox.com/asset/?id=144844438", ref2, 1, 0.8)
  1327. game:GetService("Debris"):AddItem(ref, 2)
  1328. game:GetService("Debris"):AddItem(ref2, 2)
  1329. for i = 0, 1, 0.1 do
  1330. swait()
  1331. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  1332. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(20), math.rad(70)), 0.3)
  1333. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  1334. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-70)), 0.3)
  1335. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  1336. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1337. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1338. end
  1339. attack = false
  1340. end
  1341.  
  1342. HadesHammer = function()
  1343. attack = true
  1344. local con = Hitbox.Touched:connect(function(hit)
  1345. Damagefunc(Hitbox, hit, 10, 15, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1346. end
  1347. )
  1348. Humanoid.Jump = true
  1349. CreateSound("http://roblox.com/asset/?id=320557563", Handle, 1, 1)
  1350. for i = 0, 1, 0.1 do
  1351. swait()
  1352. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1353. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1354. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3)
  1355. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(180), math.rad(50), math.rad(80)), 0.3)
  1356. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1357. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1358. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
  1359. end
  1360. for i = 0, 1, 0.5 do
  1361. swait()
  1362. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1363. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1364. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(30), math.rad(0)), 0.3)
  1365. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(50), math.rad(80)), 0.3)
  1366. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1367. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1368. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
  1369. end
  1370. for i = 0, 1, 0.2 do
  1371. swait()
  1372. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1373. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1374. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
  1375. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3)
  1376. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1377. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1378. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
  1379. end
  1380. con:disconnect()
  1381. hit = nil
  1382. for i = 1, 1 do
  1383. if hit == nil then
  1384. swait()
  1385. end
  1386. hit = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 6, Character)
  1387. end
  1388. local hit = nil
  1389. while hit == nil do
  1390. swait()
  1391. hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
  1392. end
  1393. hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
  1394. do
  1395. if hit ~= nil then
  1396. local ref = CreatePart(effect, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "Effect", vt())
  1397. ref.Anchored = true
  1398. ref.CFrame = cf(pos)
  1399. game:GetService("Debris"):AddItem(ref, 3)
  1400. for i = 1, 10 do
  1401. Col = hit.BrickColor
  1402. local groundpart = CreatePart(effect, hit.Material, 0, 0, Col, "Ground", vt(math.random(50, 200) / 100, math.random(50, 200) / 100, math.random(50, 200) / 100))
  1403. groundpart.Anchored = true
  1404. groundpart.CanCollide = true
  1405. groundpart.CFrame = cf(pos) * cf(math.random(-500, 500) / 100, 0, math.random(-500, 500) / 100) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1406. game:GetService("Debris"):AddItem(groundpart, 5)
  1407. end
  1408. CreateSound("http://roblox.com/asset/?id=157878578", ref, 0.6, 1.2)
  1409. WaveEffect(hit.BrickColor, cf(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.05)
  1410. MagniDamage(ref, 9, 9, 13, math.random(10, 20), "Knockdown")
  1411. end
  1412. CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 0.5, 3, 0.5, 0.05)
  1413. CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 1, 1, 1, 0.05)
  1414. attack = false
  1415. end
  1416. end
  1417.  
  1418. Beast = function()
  1419. attack = true
  1420. for i = 0, 1, 0.05 do
  1421. swait()
  1422. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1423. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1424. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1425. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1426. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  1427. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1428. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), 0.3)
  1429. end
  1430. CreateSound("http://www.roblox.com/asset/?id=192410062", RootPart, 1, 1)
  1431. num = 0
  1432. for i = 0, 1, 0.01 do
  1433. swait()
  1434. if num >= 10 then
  1435. num = 0
  1436. WaveEffect(BrickColor.new("Black"), cf(Torso.Position) * cf(0, -1, 0) * angles(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
  1437. end
  1438. for i = 1, 2 do
  1439. if math.random(1, 5) == 1 then
  1440. BlockEffect(BrickColor.new("Black"), Hitbox2.CFrame * cf(math.random(-100, 100) / 100, -math.random(-700, 700) / 100, math.random(-100, 100) / 100), math.random(30, 80) / 100, math.random(30, 80) / 100, math.random(30, 80) / 100, 0.5, 0.5, 0.5, 0.05, 1)
  1441. else
  1442. BlockEffect(BrickColor.new("Really black"), Hitbox2.CFrame * cf(math.random(-100, 100) / 100, -math.random(-700, 700) / 100, math.random(-100, 100) / 100), math.random(30, 80) / 100, math.random(30, 80) / 100, math.random(30, 80) / 100, 0.5, 0.5, 0.5, 0.05, 1)
  1443. end
  1444. end
  1445. num = num + 1
  1446. end
  1447. SphereEffect(BrickColor.new("Black"), Hitbox2.CFrame, 1, 5, 1, 2, 5, 2, 0.05)
  1448. for i = 0, 1, 0.1 do
  1449. swait()
  1450. end
  1451. model2.Parent = nil
  1452. for i = 0, 1, 0.05 do
  1453. swait()
  1454. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1455. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1456. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(100), math.rad(90)), 0.3)
  1457. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(-90)), 0.3)
  1458. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  1459. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1460. end
  1461. CreateSound("http://www.roblox.com/asset/?id=188959258", RootPart, 1, 1)
  1462. SphereEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 5, 1, 2, 5, 2, 0.05)
  1463. for i = 0, 1, 0.1 do
  1464. swait()
  1465. end
  1466. model2.Parent = nil
  1467. m.Parent = Character
  1468. for i = 1, #Hammer do
  1469. Hammer[i].Parent = m
  1470. HammerWelds[i].Parent = Hammer[1]
  1471. end
  1472. for i = 0, 1, 0.05 do
  1473. swait()
  1474. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1475. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1476. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1477. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1478. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  1479. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1480. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), 0.3)
  1481. end
  1482. WStyle = "Hammer"
  1483. attack = false
  1484. end
  1485.  
  1486. Beauty = function()
  1487. attack = true
  1488. for i = 0, 1, 0.05 do
  1489. swait()
  1490. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1491. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1492. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1493. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1494. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  1495. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1496. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), 0.3)
  1497. end
  1498. num = 0
  1499. CreateSound("http://www.roblox.com/asset/?id=192410062", RootPart, 1, 1)
  1500. for i = 0, 1, 0.01 do
  1501. swait()
  1502. if num >= 10 then
  1503. num = 0
  1504. WaveEffect(BrickColor.new("Black"), cf(Torso.Position) * cf(0, -1, 0) * angles(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
  1505. end
  1506. for i = 1, 2 do
  1507. if math.random(1, 5) == 1 then
  1508. BlockEffect(BrickColor.new("Black"), FakeHandle.CFrame * cf(math.random(-100, 100) / 100, -math.random(-700, 700) / 100, math.random(-100, 100) / 100), math.random(30, 80) / 100, math.random(30, 80) / 100, math.random(30, 80) / 100, 0.5, 0.5, 0.5, 0.05, 1)
  1509. else
  1510. BlockEffect(BrickColor.new("Really black"), FakeHandle.CFrame * cf(math.random(-100, 100) / 100, -math.random(-700, 700) / 100, math.random(-100, 100) / 100), math.random(30, 80) / 100, math.random(30, 80) / 100, math.random(30, 80) / 100, 0.5, 0.5, 0.5, 0.05, 1)
  1511. end
  1512. end
  1513. num = num + 1
  1514. end
  1515. CreateSound("http://www.roblox.com/asset/?id=243711369", RootPart, 1, 1)
  1516. SphereEffect(BrickColor.new("Black"), FakeHandle.CFrame, 1, 5, 1, 2, 5, 2, 0.05)
  1517. for i = 0, 1, 0.1 do
  1518. swait()
  1519. end
  1520. m.Parent = nil
  1521. for i = 0, 1, 0.05 do
  1522. swait()
  1523. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1524. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1525. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(100), math.rad(90)), 0.3)
  1526. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(-90)), 0.3)
  1527. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  1528. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1529. end
  1530. CreateSound("http://www.roblox.com/asset/?id=188959258", RootPart, 1, 1)
  1531. SphereEffect(BrickColor.new("Black"), FakeHandle.CFrame, 1, 5, 1, 2, 5, 2, 0.05)
  1532. for i = 0, 1, 0.1 do
  1533. swait()
  1534. end
  1535. m.Parent = nil
  1536. model2.Parent = Character
  1537. for i = 1, #DBlade do
  1538. DBlade[i].Parent = model2
  1539. DBladeWelds[i].Parent = DBlade[1]
  1540. end
  1541. m.Parent = nil
  1542. for i = 0, 1, 0.05 do
  1543. swait()
  1544. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1545. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1546. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1547. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1548. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  1549. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1550. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), 0.3)
  1551. end
  1552. WStyle = "Blade"
  1553. attack = false
  1554. end
  1555.  
  1556. HadesStorm = function()
  1557. attack = true
  1558. CreateSound("http://roblox.com/asset/?id=320557563", Handle, 1, 1)
  1559. for i = 0, 1, 0.05 do
  1560. swait()
  1561. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  1562. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  1563. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 1, 0) * angles(math.rad(180), math.rad(0), math.rad(-50)), 0.3)
  1564. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 1, 0) * angles(math.rad(180), math.rad(50), math.rad(80)), 0.3)
  1565. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3)
  1566. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1567. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
  1568. end
  1569. for i = 0, 1, 0.5 do
  1570. swait()
  1571. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1572. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1573. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(30), math.rad(0)), 0.3)
  1574. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(50), math.rad(80)), 0.3)
  1575. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1576. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1577. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
  1578. end
  1579. for i = 0, 1, 0.2 do
  1580. swait()
  1581. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1582. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1583. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
  1584. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3)
  1585. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1586. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1587. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
  1588. end
  1589. hit = nil
  1590. for i = 1, 1 do
  1591. if hit == nil then
  1592. swait()
  1593. end
  1594. hit = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 6, Character)
  1595. end
  1596. local hit = nil
  1597. while hit == nil do
  1598. swait()
  1599. hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
  1600. end
  1601. hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
  1602. do
  1603. if hit ~= nil then
  1604. local ref = CreatePart(effect, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "Effect", vt())
  1605. ref.Anchored = true
  1606. ref.CFrame = cf(pos)
  1607. game:GetService("Debris"):AddItem(ref, 3)
  1608. for i = 1, 10 do
  1609. Col = hit.BrickColor
  1610. local groundpart = CreatePart(effect, hit.Material, 0, 0, Col, "Ground", vt(math.random(50, 200) / 100, math.random(50, 200) / 100, math.random(50, 200) / 100))
  1611. groundpart.Anchored = true
  1612. groundpart.CanCollide = true
  1613. groundpart.CFrame = cf(pos) * cf(math.random(-500, 500) / 100, 0, math.random(-500, 500) / 100) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1614. game:GetService("Debris"):AddItem(groundpart, 5)
  1615. end
  1616. CreateSound("http://roblox.com/asset/?id=157878578", ref, 0.6, 1.2)
  1617. WaveEffect(hit.BrickColor, cf(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.05)
  1618. MagniDamage(ref, 9, 9, 13, math.random(10, 20), "Knockdown")
  1619. end
  1620. local numb = -8
  1621. local basecf = RootPart.CFrame
  1622. for i = 1, 4 do
  1623. swait()
  1624. local cf2 = basecf * cf(0, 0, numb)
  1625. local ref = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
  1626. ref.CFrame = cf2
  1627. ref.Anchored = true
  1628. local TheHit = ref.Position + vt(0, -1, 0)
  1629. local MouseLook = cf((ref.Position + TheHit) / 2, TheHit)
  1630. local hit, pos = rayCast(ref.Position, MouseLook.lookVector, 999, Character)
  1631. local ref2 = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
  1632. ref2.CFrame = cf(pos)
  1633. ref2.Anchored = true
  1634. SphereEffect(BrickColor.new("Really black"), ref2.CFrame, 15, 15, 15, 5, 5, 5, 0.02)
  1635. WaveEffect(BrickColor.new("Really black"), ref2.CFrame, 5, 5, 5, 2, 2, 2, 0.05)
  1636. MagniDamage(ref2, 20, 10, 15, math.random(5, 20), "Normal", RootPart)
  1637. CreateSound("http://www.roblox.com/asset/?id=161006093", ref2, 1, 0.6)
  1638. game:GetService("Debris"):AddItem(ref, 2)
  1639. game:GetService("Debris"):AddItem(ref2, 2)
  1640. numb = numb - 15
  1641. wait(0.4)
  1642. end
  1643. CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 1, 3, 1, 0.05)
  1644. CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 2, 1, 2, 0.05)
  1645. attack = false
  1646. end
  1647. end
  1648.  
  1649. ob1u = function()
  1650. end
  1651.  
  1652. ob1d = function()
  1653. if WStyle == "Hammer" then
  1654. if attack == false and attacktype == 1 then
  1655. attacktype = 2
  1656. attackone()
  1657. else
  1658. if attack == false and attacktype == 2 then
  1659. attacktype = 3
  1660. attacktwo()
  1661. else
  1662. if attack == false and attacktype == 3 then
  1663. attacktype = 1
  1664. attackthree()
  1665. end
  1666. end
  1667. end
  1668. end
  1669. if WStyle == "Blade" then
  1670. if attack == false and attacktype2 == 1 then
  1671. attacktype2 = 2
  1672. battackone()
  1673. else
  1674. if attack == false and attacktype2 == 2 then
  1675. attacktype2 = 3
  1676. battacktwo()
  1677. else
  1678. if attack == false and attacktype2 == 3 then
  1679. attacktype2 = 1
  1680. battackthree()
  1681. end
  1682. end
  1683. end
  1684. end
  1685. end
  1686.  
  1687. key = function(k)
  1688. k = k:lower()
  1689. if attack == false and k == "z" and zenabled == true and mana >= 15 then
  1690. zenabled = false
  1691. mana = mana
  1692. coroutine.resume(coroutine.create(function()
  1693. for i = 1, 0, -0.02 do
  1694. swait()
  1695. fenframe1a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  1696. end
  1697. zenabled = true
  1698. fenframe1a.Size = UDim2.new(0, 0, 0.1, 0)
  1699. end
  1700. ))
  1701. if WStyle == "Hammer" then
  1702. HadesHammer()
  1703. else
  1704. if WStyle == "Blade" then
  1705. HadesKnife()
  1706. end
  1707. end
  1708. else
  1709. if attack == false and k == "x" and mana >= 25 and xenabled == true then
  1710. xenabled = false
  1711. mana = mana
  1712. coroutine.resume(coroutine.create(function()
  1713. for i = 1, 0, -0.0025 do
  1714. swait()
  1715. fenframe2a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  1716. end
  1717. xenabled = true
  1718. fenframe2a.Size = UDim2.new(0, 0, 0.1, 0)
  1719. end
  1720. ))
  1721. if WStyle == "Hammer" then
  1722. BlackDeath()
  1723. else
  1724. if WStyle == "Blade" then
  1725. HellFromAbove()
  1726. end
  1727. end
  1728. else
  1729. if attack == false and k == "c" and mana >= 35 and cenabled == true then
  1730. cenabled = false
  1731. mana = mana
  1732. coroutine.resume(coroutine.create(function()
  1733. for i = 1, 0, -0.0025 do
  1734. swait()
  1735. fenframe3a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  1736. end
  1737. cenabled = true
  1738. fenframe3a.Size = UDim2.new(0, 0, 0.1, 0)
  1739. end
  1740. ))
  1741. if WStyle == "Hammer" then
  1742. HadesStorm()
  1743. else
  1744. if WStyle == "Blade" then
  1745. HadesArrow()
  1746. end
  1747. end
  1748. else
  1749. if attack == false and k == "v" and mana >= 25 and venabled == true then
  1750. venabled = false
  1751. mana = mana
  1752. coroutine.resume(coroutine.create(function()
  1753. for i = 1, 0, -0.025 do
  1754. swait()
  1755. fenframe4a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  1756. end
  1757. venabled = true
  1758. fenframe4a.Size = UDim2.new(0, 0, 0.1, 0)
  1759. end
  1760. ))
  1761. if WStyle == "Hammer" then
  1762. Beauty()
  1763. else
  1764. if WStyle == "Blade" then
  1765. Beast()
  1766. end
  1767. end
  1768. end
  1769. end
  1770. end
  1771. end
  1772. end
  1773.  
  1774. Bin = Instance.new("HopperBin", Player.Backpack)
  1775. ds = function(mouse)
  1776. end
  1777.  
  1778. s = function(mouse)
  1779. print("Selected")
  1780. mouse.Button1Down:connect(function()
  1781. ob1d(mouse)
  1782. end
  1783. )
  1784. mouse.Button1Up:connect(function()
  1785. ob1u(mouse)
  1786. end
  1787. )
  1788. mouse.KeyDown:connect(key)
  1789. end
  1790.  
  1791. Bin.Selected:connect(s)
  1792. Bin.Deselected:connect(ds)
  1793. while 1 do
  1794. while 1 do
  1795. while 1 do
  1796. swait()
  1797. Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  1798. torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1799. velocity = RootPart.Velocity.y
  1800. sine = sine + change
  1801. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1802. if equipped == true or equipped == false then
  1803. if 1 < RootPart.Velocity.y and hit == nil then
  1804. Anim = "Jump"
  1805. if attack == false then
  1806. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1807. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1808. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  1809. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1810. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  1811. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1812. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1813. end
  1814. else
  1815. if RootPart.Velocity.y < -1 and hit == nil then
  1816. Anim = "Fall"
  1817. if attack == false then
  1818. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1819. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1820. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  1821. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1822. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  1823. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1824. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1825. end
  1826. else
  1827. if torvel<1 and hit~=nil then
  1828. Anim = "Idle"
  1829. if attack == false then
  1830. if WStyle == "Hammer" then
  1831. change = 1
  1832. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1833. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  1834. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  1835. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1836. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  1837. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1838. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1839. else
  1840. if WStyle == "Blade" then
  1841. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3)
  1842. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3)
  1843. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(80)), 0.3)
  1844. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1845. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  1846. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1847. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-50)), 0.3)
  1848. end
  1849. end
  1850. end
  1851. else
  1852. if torvel>2 and torvel<22 and hit~=nil then
  1853. Anim = "Walk"
  1854. if attack == false then
  1855. if WStyle == "Hammer" then
  1856. change = 1
  1857. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1858. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1859. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  1860. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3)
  1861. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1862. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1863. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(70), math.rad(0), math.rad(180)), 0.3)
  1864. else
  1865. if WStyle == "Blade" then
  1866. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1867. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1868. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(80)), 0.3)
  1869. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1870. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1871. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1872. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-50)), 0.3)
  1873. end
  1874. end
  1875. end
  1876. end
  1877. end
  1878. end
  1879. end
  1880. end
  1881. if 0 < #Effects then
  1882. for e = 1, #Effects do
  1883. if Effects[e] ~= nil then
  1884. local Thing = Effects[e]
  1885. if Thing ~= nil then
  1886. local Part = Thing[1]
  1887. local Mode = Thing[2]
  1888. local Delay = Thing[3]
  1889. local IncX = Thing[4]
  1890. local IncY = Thing[5]
  1891. local IncZ = Thing[6]
  1892. if Thing[1].Transparency <= 1 then
  1893. if Thing[2] == "Block1" then
  1894. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1895. Mesh = Thing[1].Mesh
  1896. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1897. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1898. else
  1899. if Thing[2] == "Block2" then
  1900. Thing[1].CFrame = Thing[1].CFrame
  1901. Mesh = Thing[7]
  1902. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1903. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1904. else
  1905. if Thing[2] == "Cylinder" then
  1906. Mesh = Thing[1].Mesh
  1907. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1908. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1909. else
  1910. if Thing[2] == "Blood" then
  1911. Mesh = Thing[7]
  1912. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1913. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1914. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1915. else
  1916. if Thing[2] == "Elec" then
  1917. Mesh = Thing[1].Mesh
  1918. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1919. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1920. else
  1921. if Thing[2] == "Disappear" then
  1922. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1923. else
  1924. if Thing[2] == "Shatter" then
  1925. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1926. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1927. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1928. Thing[6] = Thing[6] + Thing[5]
  1929. end
  1930. end
  1931. end
  1932. end
  1933. end
  1934. end
  1935. end
  1936. else
  1937. Part.Parent = nil
  1938. table.remove(Effects, e)
  1939. end
  1940. end
  1941. end
  1942. end
  1943. end
  1944. do
  1945. fenbarmana2:TweenSize((UDim2.new(4 * mana / 100, 0, 0.2, 0)), nil, 1, 0.4, true)
  1946. fenbarmana4.Text = "[Hate] <{[ " .. mana .. " ]}> [Hate]"
  1947. if 100 <= mana then
  1948. mana = 100
  1949. end
  1950. end
  1951. end
  1952. if mananum <= 8 then
  1953. mananum = mananum + 1
  1954. end
  1955. end
  1956. mananum = 0
  1957. mana = mana + 1
  1958. end
  1959.  
  1960. wait(0.016666666666667)
  1961. Effects = {}
  1962. local Player = game.Players.localPlayer
  1963. local Character = Player.Character
  1964. local Humanoid = Character.Humanoid
  1965. local mouse = Player:GetMouse()
  1966. local m = Instance.new("Model", Character)
  1967. m.Name = "Hades"
  1968. local effect = Instance.new("Model", Character)
  1969. effect.Name = "Effects"
  1970. Hammer = {}
  1971. HammerWelds = {}
  1972. local LeftArm = Character["Left Arm"]
  1973. local RightArm = Character["Right Arm"]
  1974. local LeftLeg = Character["Left Leg"]
  1975. local RightLeg = Character["Right Leg"]
  1976. local WStyle = "Hammer"
  1977. local Head = Character.Head
  1978. local Torso = Character.Torso
  1979. local cam = game.Workspace.CurrentCamera
  1980. local RootPart = Character.HumanoidRootPart
  1981. local RootJoint = RootPart.RootJoint
  1982. local equipped = false
  1983. local attack = false
  1984. local Anim = "Idle"
  1985. local idle = 0
  1986. local mananum = 0
  1987. local attacktype = 1
  1988. local attacktype2 = 1
  1989. local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  1990. local velocity = RootPart.Velocity.y
  1991. local sine = 0
  1992. local change = 1
  1993. local mana = 100
  1994. local it = Instance.new
  1995. local vt = Vector3.new
  1996. local grabbed = false
  1997. local cf = CFrame.new
  1998. local mr = math.rad
  1999. local angles = CFrame.Angles
  2000. local ud = UDim2.new
  2001. local c3 = Color3.new
  2002. Anim = Instance.new("StringValue")
  2003. Anim.Name = "Animation"
  2004. Anim.Parent = Character
  2005. Anim.Value = "Walking"
  2006. local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2007. xenabled = true
  2008. cenabled = true
  2009. venabled = true
  2010. zenabled = true
  2011. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  2012. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  2013. local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0))
  2014. RSH = nil
  2015. RW = Instance.new("Weld")
  2016. LW = Instance.new("Weld")
  2017. RH = Torso["Right Hip"]
  2018. LH = Torso["Left Hip"]
  2019. RSH = Torso["Right Shoulder"]
  2020. LSH = Torso["Left Shoulder"]
  2021. RSH.Parent = nil
  2022. LSH.Parent = nil
  2023. RW.Name = "RW"
  2024. RW.Part0 = Torso
  2025. RW.C0 = cf(1.5, 0.5, 0)
  2026. RW.C1 = cf(0, 0.5, 0)
  2027. RW.Part1 = RightArm
  2028. RW.Parent = Torso
  2029. LW.Name = "LW"
  2030. LW.Part0 = Torso
  2031. LW.C0 = cf(-1.5, 0.5, 0)
  2032. LW.C1 = cf(0, 0.5, 0)
  2033. LW.Part1 = LeftArm
  2034. LW.Parent = Torso
  2035. clerp = function(a, b, t)
  2036. return a:lerp(b, t)
  2037. end
  2038.  
  2039. local RbxUtility = LoadLibrary("RbxUtility")
  2040. local Create = RbxUtility.Create
  2041. RemoveOutlines = function(part)
  2042. part.TopSurface = 10
  2043. end
  2044.  
  2045. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2046. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  2047. RemoveOutlines(Part)
  2048. return Part
  2049. end
  2050.  
  2051. CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2052. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  2053. if Mesh == "SpecialMesh" then
  2054. Msh.MeshType = MeshType
  2055. Msh.MeshId = MeshId
  2056. end
  2057. return Msh
  2058. end
  2059.  
  2060. ArtificialHB = Instance.new("BindableEvent", script)
  2061. ArtificialHB.Name = "Heartbeat"
  2062. script:WaitForChild("Heartbeat")
  2063. frame = 0.016666666666667
  2064. tf = 0
  2065. allowframeloss = false
  2066. tossremainder = false
  2067. lastframe = tick()
  2068. script.Heartbeat:Fire()
  2069. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2070. tf = tf + s
  2071. if frame <= tf then
  2072. if allowframeloss then
  2073. script.Heartbeat:Fire()
  2074. lastframe = tick()
  2075. else
  2076. for i = 1, math.floor(tf / frame) do
  2077. script.Heartbeat:Fire()
  2078. end
  2079. lastframe = tick()
  2080. end
  2081. if tossremainder then
  2082. tf = 0
  2083. else
  2084. tf = tf - frame * math.floor(tf / frame)
  2085. end
  2086. end
  2087. end
  2088. )
  2089. swait = function(num)
  2090. if num == 0 or num == nil then
  2091. ArtificialHB.Event:wait()
  2092. else
  2093. for i = 0, num do
  2094. ArtificialHB.Event:wait()
  2095. end
  2096. end
  2097. end
  2098.  
  2099. local fengui = it("GuiMain")
  2100. fengui.Parent = Player.PlayerGui
  2101. fengui.Name = "WeaponGUI"
  2102. local fenframe = it("Frame")
  2103. fenframe.Parent = fengui
  2104. fenframe.BackgroundColor3 = Color3.new(255, 255, 255)
  2105. fenframe.BackgroundTransparency = 1
  2106. fenframe.BorderColor3 = Color3.new(17, 17, 17)
  2107. fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  2108. fenframe.Position = UDim2.new(0.4, 0, 0.1, 0)
  2109. local fenbarmana1 = it("TextLabel")
  2110. fenbarmana1.Parent = fenframe
  2111. fenbarmana1.Text = " "
  2112. fenbarmana1.BackgroundTransparency = 0
  2113. fenbarmana1.BackgroundColor3 = Color3.new(0, 0, 0)
  2114. fenbarmana1.SizeConstraint = "RelativeXY"
  2115. fenbarmana1.TextXAlignment = "Center"
  2116. fenbarmana1.TextYAlignment = "Center"
  2117. fenbarmana1.Position = UDim2.new(0, 0, 0, 0)
  2118. fenbarmana1.Size = UDim2.new(4, 0, 0.2, 0)
  2119. local fenbarmana2 = it("TextLabel")
  2120. fenbarmana2.Parent = fenframe
  2121. fenbarmana2.Text = " "
  2122. fenbarmana2.BackgroundTransparency = 0
  2123. fenbarmana2.BackgroundColor3 = Torso.Color
  2124. fenbarmana2.SizeConstraint = "RelativeXY"
  2125. fenbarmana2.TextXAlignment = "Center"
  2126. fenbarmana2.TextYAlignment = "Center"
  2127. fenbarmana2.Position = UDim2.new(0, 0, 0, 0)
  2128. fenbarmana2.Size = UDim2.new(4 * mana / 100, 0, 0.2, 0)
  2129. local fenbarmana3 = it("TextLabel")
  2130. fenbarmana3.Parent = fenframe
  2131. fenbarmana3.Text = " "
  2132. fenbarmana3.BackgroundTransparency = 0
  2133. fenbarmana3.BackgroundColor3 = Color3.new(Col1, Col2, Col3)
  2134. fenbarmana3.SizeConstraint = "RelativeXY"
  2135. fenbarmana3.TextXAlignment = "Center"
  2136. fenbarmana3.TextYAlignment = "Center"
  2137. fenbarmana3.Position = UDim2.new(0, 0, 0, 0)
  2138. fenbarmana3.Size = UDim2.new(0, 0, 0.2, 0)
  2139. local fenbarmana4 = it("TextLabel")
  2140. fenbarmana4.Parent = fenframe
  2141. fenbarmana4.Text = "Energy(" .. mana .. ")"
  2142. fenbarmana4.BackgroundTransparency = 1
  2143. fenbarmana4.BackgroundColor3 = Color3.new(0, 0, 0)
  2144. fenbarmana4.SizeConstraint = "RelativeXY"
  2145. fenbarmana4.TextXAlignment = "Center"
  2146. fenbarmana4.TextYAlignment = "Center"
  2147. fenbarmana4.Position = UDim2.new(0, 0, -0.3, 0)
  2148. fenbarmana4.Size = UDim2.new(4, 0, 0.2, 0)
  2149. fenbarmana4.FontSize = "Size9"
  2150. fenbarmana4.TextStrokeTransparency = 0
  2151. fenbarmana4.TextColor = BrickColor.new("White")
  2152. local fengui = it("GuiMain")
  2153. fengui.Parent = Player.PlayerGui
  2154. fengui.Name = "WeaponGUI"
  2155. local fenframe1 = it("TextLabel")
  2156. fenframe1.Parent = fengui
  2157. fenframe1.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  2158. fenframe1.BackgroundTransparency = 0.3
  2159. fenframe1.BorderSizePixel = 5
  2160. fenframe1.BorderColor3 = Color3.new(1, 1, 1)
  2161. fenframe1.Size = UDim2.new(0.05, 0, 0.1, 0)
  2162. fenframe1.Position = UDim2.new(0.325, 0, 0.7, 0)
  2163. fenframe1.Text = "Z"
  2164. fenframe1.TextWrapped = true
  2165. fenframe1.FontSize = 7
  2166. fenframe1.TextColor3 = Color3.new(1, 1, 1)
  2167. local fenframe1a = it("TextLabel")
  2168. fenframe1a.Parent = fengui
  2169. fenframe1a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  2170. fenframe1a.BackgroundTransparency = 0.3
  2171. fenframe1a.BorderSizePixel = 5
  2172. fenframe1a.BorderColor3 = Color3.new(1, 1, 1)
  2173. fenframe1a.Size = UDim2.new(0.05, 0, 0.1, 0)
  2174. fenframe1a.Position = UDim2.new(0.325, 0, 0.7, 0)
  2175. fenframe1a.Text = ""
  2176. local fenframe2 = it("TextLabel")
  2177. fenframe2.Parent = fengui
  2178. fenframe2.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  2179. fenframe2.BackgroundTransparency = 0.3
  2180. fenframe2.BorderSizePixel = 5
  2181. fenframe2.BorderColor3 = Color3.new(1, 1, 1)
  2182. fenframe2.Size = UDim2.new(0.05, 0, 0.1, 0)
  2183. fenframe2.Position = UDim2.new(0.425, 0, 0.7, 0)
  2184. fenframe2.Text = "X"
  2185. fenframe2.TextWrapped = true
  2186. fenframe2.FontSize = 7
  2187. fenframe2.TextColor3 = Color3.new(1, 1, 1)
  2188. local fenframe2a = it("TextLabel")
  2189. fenframe2a.Parent = fengui
  2190. fenframe2a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  2191. fenframe2a.BackgroundTransparency = 0.3
  2192. fenframe2a.BorderSizePixel = 5
  2193. fenframe2a.BorderColor3 = Color3.new(1, 1, 1)
  2194. fenframe2a.Size = UDim2.new(0.05, 0, 0.1, 0)
  2195. fenframe2a.Position = UDim2.new(0.425, 0, 0.7, 0)
  2196. fenframe2a.Text = ""
  2197. local fenframe3 = it("TextLabel")
  2198. fenframe3.Parent = fengui
  2199. fenframe3.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  2200. fenframe3.BackgroundTransparency = 0.3
  2201. fenframe3.BorderSizePixel = 5
  2202. fenframe3.BorderColor3 = Color3.new(1, 1, 1)
  2203. fenframe3.Size = UDim2.new(0.05, 0, 0.1, 0)
  2204. fenframe3.Position = UDim2.new(0.525, 0, 0.7, 0)
  2205. fenframe3.Text = "C"
  2206. fenframe3.TextWrapped = true
  2207. fenframe3.FontSize = 7
  2208. fenframe3.TextColor3 = Color3.new(1, 1, 1)
  2209. local fenframe3a = it("TextLabel")
  2210. fenframe3a.Parent = fengui
  2211. fenframe3a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  2212. fenframe3a.BackgroundTransparency = 0.3
  2213. fenframe3a.BorderSizePixel = 5
  2214. fenframe3a.BorderColor3 = Color3.new(1, 1, 1)
  2215. fenframe3a.Size = UDim2.new(0.05, 0, 0.1, 0)
  2216. fenframe3a.Position = UDim2.new(0.525, 0, 0.7, 0)
  2217. fenframe3a.Text = ""
  2218. local fenframe4 = it("TextLabel")
  2219. fenframe4.Parent = fengui
  2220. fenframe4.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  2221. fenframe4.BackgroundTransparency = 0.3
  2222. fenframe4.BorderSizePixel = 5
  2223. fenframe4.BorderColor3 = Color3.new(1, 1, 1)
  2224. fenframe4.Size = UDim2.new(0.05, 0, 0.1, 0)
  2225. fenframe4.Position = UDim2.new(0.625, 0, 0.7, 0)
  2226. fenframe4.Text = "V"
  2227. fenframe4.TextWrapped = true
  2228. fenframe4.FontSize = 7
  2229. fenframe4.TextColor3 = Color3.new(1, 1, 1)
  2230. local fenframe4a = it("TextLabel")
  2231. fenframe4a.Parent = fengui
  2232. fenframe4a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  2233. fenframe4a.BackgroundTransparency = 0.3
  2234. fenframe4a.BorderSizePixel = 5
  2235. fenframe4a.BorderColor3 = Color3.new(1, 1, 1)
  2236. fenframe4a.Size = UDim2.new(0.05, 0, 0.1, 0)
  2237. fenframe4a.Position = UDim2.new(0.625, 0, 0.7, 0)
  2238. fenframe4a.Text = ""
  2239. fenframe1a.Size = UDim2.new(0, 0, 0.1, 0)
  2240. fenframe2a.Size = UDim2.new(0, 0, 0.1, 0)
  2241. fenframe3a.Size = UDim2.new(0, 0, 0.1, 0)
  2242. fenframe4a.Size = UDim2.new(0, 0, 0.1, 0)
  2243. CreateWeld = function(Parent, Part0, Part1, C0, C1)
  2244. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  2245. return Weld
  2246. end
  2247.  
  2248. rayCast = function(Position, Direction, Range, Ignore)
  2249. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  2250. end
  2251.  
  2252. CreateSound = function(id, par, vol, pit)
  2253. coroutine.resume(coroutine.create(function()
  2254. local sou = Instance.new("Sound", par or workspace)
  2255. sou.Volume = vol
  2256. sou.Pitch = pit or 1
  2257. sou.SoundId = id
  2258. swait()
  2259. sou:play()
  2260. game:GetService("Debris"):AddItem(sou, 6)
  2261. end
  2262. ))
  2263. end
  2264.  
  2265. local getclosest = function(obj, distance)
  2266. local last, lastx = distance + 1, nil
  2267. for i,v in pairs(workspace:GetChildren()) do
  2268. if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  2269. local t = v.Torso
  2270. local dist = t.Position - obj.Position.magnitude
  2271. if dist <= distance and dist < last then
  2272. last = dist
  2273. lastx = v
  2274. end
  2275. end
  2276. end
  2277. return lastx
  2278. end
  2279.  
  2280. Handle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeHandle", Vector3.new(0.209999964, 2.57000017, 0.210000098))
  2281. HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.971689701, -0.108011246, 0.0337958336, 7.52883196e-008, -1, 5.96046377e-008, 1.49776653e-008, -5.96046377e-008, -1, 1, 7.52883196e-008, 1.497766e-008))
  2282. CreateMesh("CylinderMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  2283. FakeHandle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeHandle", Vector3.new(0.209999964, 2.57000017, 0.210000098))
  2284. FakeHandleWeld = CreateWeld(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 1.12764321e-015, 0, 1.12764321e-015, 1, 0, 0, 0, 1))
  2285. CreateMesh("CylinderMesh", FakeHandle, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  2286. Hitbox = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Black", "Hitbox", Vector3.new(3, 5.2300005, 2.70000005))
  2287. HitboxWeld = CreateWeld(m, FakeHandle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0100002289, -0.0249986649, -5.90500546, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014))
  2288. CreateMesh("CylinderMesh", Hitbox, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  2289. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(3, 2.79999995, 0.399999976))
  2290. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.85500193, 0.0100011826, -2.64999771, 1.49011612e-007, 1, -7.54979084e-008, -5.96046341e-008, -7.54979013e-008, -1, -1, 1.49011612e-007, 5.96046235e-008))
  2291. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(3, 3, 1))
  2292. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(3, 2.79999995, 0.399999976))
  2293. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.85500288, 0.0100007057, 2.60000563, 1.49011612e-007, 1, -7.54979084e-008, -5.96046341e-008, -7.54979013e-008, -1, -1, 1.49011612e-007, 5.96046235e-008))
  2294. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(3, 3, 1))
  2295. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(3, 2.79999995, 0.399999976))
  2296. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.88499594, 0.0100002289, -1.46000004, 1.49011612e-007, 1, -7.54979084e-008, -5.96046341e-008, -7.54979013e-008, -1, -1, 1.49011612e-007, 5.96046235e-008))
  2297. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2.5, 2.5, 1))
  2298. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(3, 1.16000009, 2.70000005))
  2299. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00999927521, -2.06000137, -5.90500546, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014))
  2300. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  2301. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(3, 1.16000009, 2.70000005))
  2302. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0100007057, 2.06999922, -5.90500736, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014))
  2303. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  2304. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1.63, 0.56000042, 1.28000009))
  2305. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0049996376, 1.21000218, -5.91500092, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014))
  2306. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  2307. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(1.15999997, 1.44999993, 0.399999976))
  2308. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.91499901, -0.0250031948, 0.0100007057, -6.23954073e-015, 1, 4.37113883e-008, 1, 1.08930461e-014, -5.96046448e-008, -5.96046448e-008, 4.37113883e-008, -1))
  2309. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2, 2, 15))
  2310. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1.63, 0.56000042, 1.28000009))
  2311. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0400049686, -0.0049996376, -5.91499901, 1, 5.96046377e-008, 1.42108547e-014, 1.42108547e-014, -4.37113883e-008, -1, -5.96046377e-008, 1, -4.37113883e-008))
  2312. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  2313. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1.63, 0.56000042, 1.28000009))
  2314. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00500011444, -1.22999811, -5.91500092, -5.96046235e-008, -1.59872116e-014, -1, -1, -5.96046341e-008, 5.96046235e-008, -5.96046341e-008, 1, -1.24344979e-014))
  2315. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  2316. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.209999964, 9.44000053, 0.51000011))
  2317. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.724998236, -0.0100002289, 1, 1.12764321e-015, 0, 1.12764321e-015, 1, 0, 0, 0, 1))
  2318. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  2319. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(3, 2.79999995, 0.399999976))
  2320. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.88499784, 0.00999975204, 1.47000384, 1.49011612e-007, 1, -7.54979084e-008, -5.96046341e-008, -7.54979013e-008, -1, -1, 1.49011612e-007, 5.96046235e-008))
  2321. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2.5, 2.5, 1))
  2322. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.5, 0, "Black", "Part", Vector3.new(0.74000001, 0.220000267, 0.360000014))
  2323. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0199999809, -5.46746063, -2.75282335, -5.96046235e-008, -1.59872116e-014, -1, -0.499999762, 0.866025686, 2.98022833e-008, 0.866025686, 0.499999732, -5.16191392e-008))
  2324. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  2325. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.350000024, 0.56000042, 0.240000129))
  2326. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00500011444, -0.0100033283, 4.05498981, -2.08616257e-007, 4.37113954e-008, 1, 1, 7.80494105e-015, 2.08616257e-007, 4.94211283e-015, 1, -4.37113954e-008))
  2327. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  2328. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.5, 0, "Black", "Part", Vector3.new(0.74000001, 0.220000267, 0.350000024))
  2329. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0200004578, -5.48171663, 2.72313046, -5.96046235e-008, -1.59872116e-014, -1, 0.500000298, 0.866025209, -2.98023437e-008, 0.866025209, -0.500000298, -5.1619093e-008))
  2330. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  2331. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.5, 0, "Black", "Part", Vector3.new(0.74000001, 0.220000267, 0.650000036))
  2332. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0199995041, 0.0192580223, -5.73387241, -5.96046235e-008, -1.59872116e-014, -1, -1, 2.08616285e-007, 5.96046199e-008, 2.08616285e-007, 1, -2.84217094e-014))
  2333. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  2334. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.5, 0, "Black", "Part", Vector3.new(0.74000001, 0.220000267, 0.240000024))
  2335. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0199999809, 0.0192596912, -6.29887009, -5.96046235e-008, -1.59872116e-014, -1, -1, 2.08616285e-007, 5.96046199e-008, 2.08616285e-007, 1, -2.84217094e-014))
  2336. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  2337. for _,c in pairs(m:children()) do
  2338. if c.className == "Part" then
  2339. table.insert(Hammer, c)
  2340. end
  2341. end
  2342. for _,c in pairs(m:children()) do
  2343. if c.className == "Weld" then
  2344. table.insert(HammerWelds, c)
  2345. print(c)
  2346. end
  2347. end
  2348. local model2 = (Instance.new("Model"))
  2349. model2.Parent = nil
  2350. model2.Name = "Chakkran"
  2351. DBlade = {}
  2352. DBladeWelds = {}
  2353. Handle2 = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeHandle2", Vector3.new(0.209999964, 2.69000053, 0.51000011))
  2354. Handle2Weld = CreateWeld(model2, Character["Right Arm"], Handle2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.949001789, 0.258885384, 0.0171251297, 0.000207733654, -0.99935025, 0.0360427685, -0.00575854396, -0.036043372, -0.999333739, 0.99998337, 4.13686969e-008, -0.00576228928))
  2355. FakeHandle2 = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 1, "Black", "FakeHandle2", Vector3.new(0.209999964, 2.69000053, 0.51000011))
  2356. FakeHandle2Weld = CreateWeld(model2, Handle2, FakeHandle2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, -4.25188773e-010, 0, -4.25188773e-010, 1.00000024, 4.65661287e-010, 0, 4.65661287e-010, 0.99999994))
  2357. Part = CreatePart(model2, Enum.Material.Plastic, 0.20000000298023, 0, "Black", "Part", Vector3.new(1, 1, 1))
  2358. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-8.92499352, -0.0200054646, -0.0200014114, 2.93771336e-008, 1.00000024, 4.65661287e-010, 1, -2.99711473e-008, -4.46889317e-008, -4.47034836e-008, -4.65661287e-010, -0.99999994))
  2359. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1.20000005))
  2360. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019))
  2361. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.90734863e-006, -8.08396149, 2.38490152, 1.28376996e-007, -2.45403498e-007, -1, 1.82063104e-007, 1.00000012, -2.44472176e-007, 1.00000012, -1.83709744e-007, 1.28362444e-007))
  2362. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  2363. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019))
  2364. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -8.08396339, 2.48509741, -2.16707122e-007, -3.11993062e-008, 0.99999994, -1.41979626e-007, 1.00000012, 3.21306288e-008, -1, -1.39892563e-007, -2.1669257e-007))
  2365. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  2366. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 4.19999981, 0.430000037))
  2367. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -0.0473937988, 8.07886314, -4.40340955e-008, -1.62050128e-007, -1, 1.00000012, -2.46049012e-007, -4.40486474e-008, -2.4541032e-007, -1.00000024, 1.61584467e-007))
  2368. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  2369. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 6.19999981, 0.430000037))
  2370. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -5.36886501, -0.00739479065, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
  2371. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  2372. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 6.0999999, 0.430000037))
  2373. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -0.097391963, 9.86886406, -4.40340955e-008, -1.62050128e-007, -1, 1.00000012, -2.46049012e-007, -4.40486474e-008, -2.4541032e-007, -1.00000024, 1.61584467e-007))
  2374. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  2375. Part = CreatePart(model2, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(1, 1, 1))
  2376. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.77499247, -0.0200061798, -0.0100002289, 2.93771336e-008, 1.00000024, 4.65661287e-010, 1, -2.99711473e-008, -4.46889317e-008, -4.47034836e-008, -4.65661287e-010, -0.99999994))
  2377. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(1, 1, 3))
  2378. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019))
  2379. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.90734863e-006, -9.87396622, 3.47510171, -2.16707122e-007, -3.11993062e-008, 0.99999994, -1.41979626e-007, 1.00000012, 3.21306288e-008, -1, -1.39892563e-007, -2.1669257e-007))
  2380. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  2381. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019))
  2382. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.90734863e-006, -9.8739624, 3.23490095, 1.28376996e-007, -2.45403498e-007, -1, 1.82063104e-007, 1.00000012, -2.44472176e-007, 1.00000012, -1.83709744e-007, 1.28362444e-007))
  2383. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  2384. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 2.29999971, 0.430000037))
  2385. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -1.59739149, 8.96886349, -4.40340955e-008, -1.62050128e-007, -1, 1.00000012, -2.46049012e-007, -4.40486474e-008, -2.4541032e-007, -1.00000024, 1.61584467e-007))
  2386. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  2387. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.350000024, 0.56000042, 0.240000129))
  2388. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0149993896, -0.0100066662, 1.40500164, -1.05195795e-007, 1.56462193e-007, 1, 1, -7.18138153e-008, 1.05181243e-007, 7.03228125e-008, 1.00000024, -1.55996531e-007))
  2389. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  2390. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019))
  2391. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -8.97396851, 3.07490206, 1.28376996e-007, -2.45403498e-007, -1, 1.82063104e-007, 1.00000012, -2.44472176e-007, 1.00000012, -1.83709744e-007, 1.28362444e-007))
  2392. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  2393. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.209999964, 2.69000053, 0.51000011))
  2394. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, -4.25188773e-010, 0, -4.25188773e-010, 1.00000024, 4.65661287e-010, 0, 4.65661287e-010, 0.99999994))
  2395. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  2396. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.439999789, 0.730000019))
  2397. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, -8.9739666, 3.09509993, -2.16707122e-007, -3.11993062e-008, 0.99999994, -1.41979626e-007, 1.00000012, 3.21306288e-008, -1, -1.39892563e-007, -2.1669257e-007))
  2398. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  2399. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.249999881, 0.200000033))
  2400. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, -6.23282051, -6.55576801, -4.40340955e-008, -1.62050128e-007, -1, -0.707106888, 0.707106769, -8.28877091e-008, 0.707106769, 0.707106888, -1.45286322e-007))
  2401. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
  2402. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.350000024, 0.56000042, 0.240000129))
  2403. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.014998436, 0.749990344, -1.77499676, -1.05195795e-007, 1.56462193e-007, 1, 1, -7.18138153e-008, 1.05181243e-007, 7.03228125e-008, 1.00000024, -1.55996531e-007))
  2404. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  2405. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.21999988, 0.200000033))
  2406. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, -1.96886635, -0.0223923922, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
  2407. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 0.5))
  2408. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.21999988, 0.200000033))
  2409. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, -9.13886261, -0.0223926306, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
  2410. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 0.5))
  2411. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.249999881, 0.200000033))
  2412. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, 6.25878143, -6.52980947, -4.40340955e-008, -1.62050128e-007, -1, -0.707107246, -0.707106411, 1.45286322e-007, -0.707106411, 0.707107306, -8.28877091e-008))
  2413. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
  2414. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.379999876, 0.200000033))
  2415. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, -8.84886265, -0.0223910809, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
  2416. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
  2417. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.379999876, 0.200000033))
  2418. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.029999733, -1.67886019, -0.0223929882, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
  2419. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
  2420. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 2.29999971, 0.430000037))
  2421. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-007, 1.59260416, 8.96886063, -4.40340955e-008, -1.62050128e-007, -1, 1.00000012, -2.46049012e-007, -4.40486474e-008, -2.4541032e-007, -1.00000024, 1.61584467e-007))
  2422. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  2423. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.350000024, 0.56000042, 0.240000129))
  2424. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.014998436, -0.780008078, -1.7750001, -1.05195795e-007, 1.56462193e-007, 1, 1, -7.18138153e-008, 1.05181243e-007, 7.03228125e-008, 1.00000024, -1.55996531e-007))
  2425. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  2426. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.309999585, 0.430000037))
  2427. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -9.56385708, -0.00739264488, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
  2428. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  2429. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.249999881, 0.200000033))
  2430. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0299987793, 1.18883181, -1.45985472, -4.40340955e-008, -1.62050128e-007, -1, -0.707107246, -0.707106411, 1.45286322e-007, -0.707106411, 0.707107306, -8.28877091e-008))
  2431. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
  2432. Part = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(0.219999999, 0.249999881, 0.200000033))
  2433. PartWeld = CreateWeld(model2, FakeHandle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.029999733, -1.16286898, -1.48581553, -4.40340955e-008, -1.62050128e-007, -1, -0.707106888, 0.707106769, -8.28877091e-008, 0.707106769, 0.707106888, -1.45286322e-007))
  2434. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
  2435. Hitbox2 = CreatePart(model2, Enum.Material.SmoothPlastic, 0.25, 1, "Black", "Hitbox2", Vector3.new(0.219999999, 7.46999931, 2.97999978))
  2436. Hitbox2Weld = CreateWeld(model2, FakeHandle2, Hitbox2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316e-007, -6.36385679, -0.112392664, -4.40340955e-008, -1.62050128e-007, -1, 1.82080385e-007, 1.00000024, -1.61584467e-007, 1.00000012, -1.82716917e-007, -4.40340955e-008))
  2437. CreateMesh("SpecialMesh", Hitbox2, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 1))
  2438. for _,c in pairs(model2:children()) do
  2439. if c.className == "Part" then
  2440. table.insert(DBlade, c)
  2441. end
  2442. end
  2443. for _,c in pairs(model2:children()) do
  2444. if c.className == "Weld" then
  2445. table.insert(DBladeWelds, c)
  2446. print(c)
  2447. end
  2448. end
  2449. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2450. if hit.Parent == nil then
  2451. return
  2452. end
  2453. local h = hit.Parent:FindFirstChild("Humanoid")
  2454. for _,v in pairs(hit.Parent:children()) do
  2455. if v:IsA("Humanoid") then
  2456. h = v
  2457. end
  2458. end
  2459. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  2460. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  2461. return
  2462. end
  2463. local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
  2464. game:GetService("Debris"):AddItem(c, 0.5)
  2465. if HitSound ~= nil and HitPitch ~= nil then
  2466. CreateSound(HitSound, hit, 1, HitPitch)
  2467. end
  2468. local Damage = math.random(minim, maxim)
  2469. local blocked = false
  2470. local block = hit.Parent:findFirstChild("Block")
  2471. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  2472. blocked = true
  2473. block.Value = block.Value - 1
  2474. print(block.Value)
  2475. end
  2476. if blocked == false then
  2477. h.Health = h.Health - Damage
  2478. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2479. else
  2480. h.Health = h.Health - Damage / 2
  2481. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2482. end
  2483. if Type == "Knockdown" then
  2484. local hum = hit.Parent.Humanoid
  2485. hum.PlatformStand = true
  2486. coroutine.resume(coroutine.create(function(HHumanoid)
  2487. swait(1)
  2488. HHumanoid.PlatformStand = false
  2489. end
  2490. ), hum)
  2491. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2492. local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  2493. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  2494. game:GetService("Debris"):AddItem(bodvol, 0.5)
  2495. game:GetService("Debris"):AddItem(rl, 0.5)
  2496. else
  2497. do
  2498. if Type == "Normal" then
  2499. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
  2500. if knockback > 0 then
  2501. vp.Parent = hit.Parent.Torso
  2502. end
  2503. game:GetService("Debris"):AddItem(vp, 0.5)
  2504. else
  2505. do
  2506. if Type == "Up" then
  2507. local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  2508. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2509. else
  2510. do
  2511. if Type == "DarkUp" then
  2512. coroutine.resume(coroutine.create(function()
  2513. for i = 0, 1, 0.1 do
  2514. swait()
  2515. BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  2516. end
  2517. end
  2518. ))
  2519. local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  2520. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2521. else
  2522. do
  2523. if Type == "Snare" then
  2524. local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  2525. game:GetService("Debris"):AddItem(bp, 1)
  2526. else
  2527. do
  2528. if Type == "Freeze" then
  2529. local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  2530. local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
  2531. hit.Parent.Torso.Anchored = true
  2532. coroutine.resume(coroutine.create(function(Part)
  2533. swait(1.5)
  2534. Part.Anchored = false
  2535. end
  2536. ), hit.Parent.Torso)
  2537. game:GetService("Debris"):AddItem(BodPos, 3)
  2538. game:GetService("Debris"):AddItem(BodGy, 3)
  2539. end
  2540. do
  2541. local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  2542. game:GetService("Debris"):AddItem(debounce, Delay)
  2543. c = Instance.new("ObjectValue")
  2544. c.Name = "creator"
  2545. c.Value = Player
  2546. c.Parent = h
  2547. game:GetService("Debris"):AddItem(c, 0.5)
  2548. end
  2549. end
  2550. end
  2551. end
  2552. end
  2553. end
  2554. end
  2555. end
  2556. end
  2557. end
  2558. end
  2559. end
  2560. end
  2561.  
  2562. ShowDamage = function(Pos, Text, Time, Color)
  2563. local Rate = 0.033333333333333
  2564. if not Pos then
  2565. local Pos = Vector3.new(0, 0, 0)
  2566. end
  2567. local Text = Text or ""
  2568. local Time = Time or 2
  2569. if not Color then
  2570. local Color = Color3.new(1, 0, 1)
  2571. end
  2572. local EffectPart = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
  2573. EffectPart.Anchored = true
  2574. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
  2575. local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
  2576. game.Debris:AddItem(EffectPart, Time + 0.1)
  2577. EffectPart.Parent = game:GetService("Workspace")
  2578. delay(0, function()
  2579. local Frames = Time / Rate
  2580. for Frame = 1, Frames do
  2581. wait(Rate)
  2582. local Percent = Frame / Frames
  2583. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2584. TextLabel.TextTransparency = Percent
  2585. end
  2586. if EffectPart and EffectPart.Parent then
  2587. EffectPart:Destroy()
  2588. end
  2589. end
  2590. )
  2591. end
  2592.  
  2593. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  2594. for _,c in pairs(workspace:children()) do
  2595. local hum = c:findFirstChild("Humanoid")
  2596. if hum ~= nil then
  2597. local head = c:findFirstChild("Torso")
  2598. if head ~= nil then
  2599. local targ = head.Position - Part.Position
  2600. local mag = targ.magnitude
  2601. if mag <= magni and c.Name ~= Player.Name then
  2602. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
  2603. end
  2604. end
  2605. end
  2606. end
  2607. end
  2608.  
  2609. BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2610. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2611. prt.Anchored = true
  2612. prt.CFrame = cframe
  2613. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2614. game:GetService("Debris"):AddItem(prt, 10)
  2615. if Type == 1 or Type == nil then
  2616. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  2617. else
  2618. if Type == 2 then
  2619. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  2620. end
  2621. end
  2622. end
  2623.  
  2624. SphereEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2625. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2626. prt.Anchored = true
  2627. prt.CFrame = cframe
  2628. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2629. game:GetService("Debris"):AddItem(prt, 10)
  2630. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2631. end
  2632.  
  2633. RingEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2634. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2635. prt.Anchored = true
  2636. prt.CFrame = cframe
  2637. msh = CreateMesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  2638. game:GetService("Debris"):AddItem(prt, 2)
  2639. coroutine.resume(coroutine.create(function(Part, Mesh, num)
  2640. for i = 0, 1, delay do
  2641. swait()
  2642. Part.Transparency = i
  2643. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2644. end
  2645. Part.Parent = nil
  2646. end
  2647. ), prt, msh, (math.random(0, 1) + math.random()) / 5)
  2648. end
  2649.  
  2650. CylinderEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2651. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2652. prt.Anchored = true
  2653. prt.CFrame = cframe
  2654. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2655. game:GetService("Debris"):AddItem(prt, 10)
  2656. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2657. end
  2658.  
  2659. WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2660. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2661. prt.Anchored = true
  2662. prt.CFrame = cframe
  2663. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2664. game:GetService("Debris"):AddItem(prt, 10)
  2665. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2666. end
  2667.  
  2668. SpecialEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2669. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2670. prt.Anchored = true
  2671. prt.CFrame = cframe
  2672. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2673. game:GetService("Debris"):AddItem(prt, 10)
  2674. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2675. end
  2676.  
  2677. CloudEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2678. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2679. prt.Anchored = true
  2680. prt.CFrame = cframe
  2681. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://1095708", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2682. game:GetService("Debris"):AddItem(prt, 10)
  2683. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2684. end
  2685.  
  2686. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  2687. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2688. prt.Anchored = true
  2689. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2690. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2691. local num = math.random(10, 50) / 1000
  2692. game:GetService("Debris"):AddItem(prt, 10)
  2693. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  2694. end
  2695.  
  2696. battackone = function()
  2697. attack = true
  2698. local con = Hitbox2.Touched:connect(function(hit)
  2699. Damagefunc(Hitbox2, hit, 5, 13, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  2700. end
  2701. )
  2702. CreateSound("http://roblox.com/asset/?id=189505665", Hitbox2, 1, 0.85)
  2703. for i = 0, 1, 0.1 do
  2704. swait()
  2705. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  2706. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3)
  2707. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  2708. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
  2709. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  2710. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2711. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
  2712. end
  2713. CreateSound("http://roblox.com/asset/?id=189505662", Hitbox2, 1, 1)
  2714. for i = 0, 1, 0.1 do
  2715. swait()
  2716. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  2717. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3)
  2718. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(70)), 0.3)
  2719. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(-90)), 0.3)
  2720. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  2721. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2722. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(100), math.rad(0)), 0.3)
  2723. end
  2724. attack = false
  2725. con:disconnect()
  2726. end
  2727.  
  2728. HadesKnife = function()
  2729. attack = true
  2730. local con = Hitbox2.Touched:connect(function(hit)
  2731. Damagefunc(Hitbox2, hit, 5, 10, math.random(1, 5), "Knockdown", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  2732. end
  2733. )
  2734. CreateSound("http://www.roblox.com/asset/?id=233856146", Torso, 1, 1)
  2735. for i = 0, 1, 0.1 do
  2736. swait()
  2737. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  2738. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3)
  2739. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.3)
  2740. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  2741. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  2742. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2743. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(100), math.rad(0)), 0.3)
  2744. end
  2745. CreateSound("http://roblox.com/asset/?id=189505662", Hitbox2, 1, 1.2)
  2746. for i = 0, 1, 0.1 do
  2747. swait()
  2748. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * i)), 0.3)
  2749. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3)
  2750. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  2751. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-50)), 0.3)
  2752. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  2753. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2754. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
  2755. end
  2756. CreateSound("http://roblox.com/asset/?id=189505662", Hitbox2, 1, 1.2)
  2757. for i = 0, 1, 0.1 do
  2758. swait()
  2759. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * i)), 0.3)
  2760. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(30), math.rad(0), math.rad(80)), 0.3)
  2761. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  2762. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
  2763. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  2764. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2765. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
  2766. end
  2767. CreateSound("http://roblox.com/asset/?id=189505662", Hitbox2, 1, 1.2)
  2768. for i = 0, 1, 0.1 do
  2769. swait()
  2770. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(40), math.rad(0), math.rad(-70)), 0.3)
  2771. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(-30), math.rad(70)), 0.3)
  2772. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.3)
  2773. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-60)), 0.3)
  2774. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(-30)), 0.3)
  2775. LH.C0 = clerp(LH.C0, cf(-1, 0.2, 0) * angles(math.rad(0), math.rad(-40), math.rad(-60)), 0.3)
  2776. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
  2777. end
  2778. con:disconnect()
  2779. attack = false
  2780. end
  2781.  
  2782. HellFromAbove = function()
  2783. attack = true
  2784. for i = 0, 1, 0.1 do
  2785. swait()
  2786. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(40), math.rad(0), math.rad(-70)), 0.3)
  2787. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(-30), math.rad(70)), 0.3)
  2788. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.3)
  2789. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-60)), 0.3)
  2790. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(-30)), 0.3)
  2791. LH.C0 = clerp(LH.C0, cf(-1, 0.2, 0) * angles(math.rad(0), math.rad(-40), math.rad(-60)), 0.3)
  2792. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
  2793. end
  2794. RingEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 2, 2, 0, 2, 2, 0, 0.05)
  2795. RingEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1, 1, 130, 0.5, 0.5, 130, 0.05)
  2796. CreateSound("http://roblox.com/asset/?id=231917970", RootPart, 1, 1)
  2797. for i = 0, 1, 0.1 do
  2798. swait()
  2799. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 100) * angles(math.rad(0), math.rad(0), math.rad(-55)), 0.37)
  2800. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.37)
  2801. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(15)), 0.37)
  2802. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.37)
  2803. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(30), math.rad(0)), 0.35)
  2804. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(30), math.rad(0)), 0.35)
  2805. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.37)
  2806. end
  2807. coroutine.resume(coroutine.create(function()
  2808. invisle()
  2809. end
  2810. ))
  2811. end
  2812.  
  2813. spread = 0
  2814. range = 100
  2815. rangepower = 25
  2816. shoottrail3 = function(mouse, baseprt)
  2817. coroutine.resume(coroutine.create(function(v)
  2818. local spreadvector = Vector3.new(math.random(-spread, spread), math.random(-spread, spread), math.random(-spread, spread)) * baseprt.Position - mouse.Hit.p.magnitude / 100
  2819. local dir = CFrame.new((baseprt.Position + mouse.Hit.p) / 2, mouse.Hit.p + spreadvector)
  2820. local hit, pos = rayCast(baseprt.Position, dir.lookVector, 10, Character)
  2821. local rangepos = range * 50
  2822. local drawtrail = function(From, To)
  2823. local effectsmsh = Instance.new("SpecialMesh")
  2824. effectsmsh.Scale = Vector3.new(1, 1, 1)
  2825. effectsmsh.Name = "Mesh"
  2826. effectsmsh.MeshType = "Sphere"
  2827. effectsmsh.Scale = Vector3.new(5, 5, 5)
  2828. local effectsg = Instance.new("Part")
  2829. effectsg.formFactor = 3
  2830. effectsg.CanCollide = false
  2831. effectsg.Name = "Eff"
  2832. effectsg.Locked = true
  2833. effectsg.Anchored = true
  2834. effectsg.Size = Vector3.new(0.2, 0.2, 0.2)
  2835. effectsg.Parent = effect
  2836. effectsmsh.Parent = effectsg
  2837. effectsg.BrickColor = BrickColor.new("Black")
  2838. effectsg.Reflectance = 0.25
  2839. local LP = From
  2840. local point1 = To
  2841. local mg = LP - point1.magnitude
  2842. effectsmsh.Scale = Vector3.new(20, 20, 20)
  2843. effectsg.CFrame = CFrame.new((LP + point1) / 2, point1) * CFrame.Angles(math.rad(90), 0, 0)
  2844. coroutine.resume(coroutine.create(function()
  2845. swait()
  2846. effectsg.Parent = nil
  2847. end
  2848. ))
  2849. end
  2850.  
  2851. local newpos = baseprt.Position
  2852. local inc = rangepower / 10
  2853. repeat
  2854. swait()
  2855. rangepos = rangepos - 10
  2856. hit = rayCast(newpos, dir.lookVector, inc, Character)
  2857. drawtrail(newpos, pos)
  2858. local list = (effect:children())
  2859. local torso = nil
  2860. local dist = 10
  2861. local temp, human, temp2 = nil, nil, nil
  2862. for x = 1, #list do
  2863. temp2 = list[x]
  2864. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  2865. temp = temp2:findFirstChild("Torso")
  2866. human = temp2:findFirstChild("Humanoid")
  2867. if temp ~= nil and human ~= nil and human.Health > 0 and temp.Position - pos.magnitude < dist then
  2868. torso = temp
  2869. dist = temp.Position - pos.magnitude
  2870. end
  2871. end
  2872. end
  2873. if torso ~= nil then
  2874. dir = CFrame.new(pos, torso.Position)
  2875. end
  2876. newpos = newpos + dir.lookVector * inc
  2877. if hit ~= nil then
  2878. rangepos = 0
  2879. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  2880. hum = hit.Parent.Humanoid
  2881. tTorso = hit.Parent.Torso
  2882. MagniDamage(hit, 10, 10, 15, 0, "Knockdown")
  2883. attackdebounce = false
  2884. else
  2885. if hit.Parent.Parent ~= nil and hit.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  2886. hum = hit.Parent.Parent.Humanoid
  2887. tTorso = hit.Parent.Parent.Torso
  2888. MagniDamage(hit.Parent.Parent.Torso, 10, 10, 15, 0, "Knockdown")
  2889. attackdebounce = false
  2890. end
  2891. end
  2892. for i = 1, math.random(3, 6) do
  2893. BreakEffect(BrickColor.new("Black"), CFrame.new(newpos), 0.5, math.random(5, 20), 0.5)
  2894. end
  2895. CreateSound("http://roblox.com/asset/?id=3264793", hit, 1, math.random() + math.random() + 1)
  2896. SphereEffect(BrickColor.new("Black"), CFrame.new(newpos), 2, 2, 2, 3, 3, 3, 0.07)
  2897. BlockEffect(BrickColor.new("Black"), CFrame.new(newpos), 2, 2, 2, 2, 2, 2, 0.07, 1)
  2898. end
  2899. until rangepos <= 0
  2900. end
  2901. ))
  2902. end
  2903.  
  2904. PlaySound = function(id, pitch, parent, volume)
  2905. if volume == nil then
  2906. volume = tonumber(1)
  2907. end
  2908. local epicsound = Instance.new("Sound")
  2909. epicsound.Name = "Epicosound"
  2910. epicsound.SoundId = "rbxassetid://" .. id
  2911. epicsound.Volume = volume
  2912. epicsound.Pitch = pitch
  2913. epicsound.Looped = false
  2914. epicsound.Parent = parent
  2915. wait()
  2916. epicsound:Play()
  2917. game:service("Debris"):AddItem(epicsound, 8)
  2918. end
  2919.  
  2920. Shots = {263609809, 263609836, 263609864, 263609874, 263609898}
  2921. Shot = function(part)
  2922. local shot = math.random(1, #Shots)
  2923. PlaySound(Shots[shot], 1, part)
  2924. end
  2925.  
  2926. invisle = function()
  2927. invisy = true
  2928. Humanoid.WalkSpeed = 30
  2929. coroutine.resume(coroutine.create(function()
  2930. for i,v in pairs(Character:children()) do
  2931. if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
  2932. v.Transparency = 1
  2933. end
  2934. if v:IsA("Hat") then
  2935. v.Handle.Transparency = 1
  2936. end
  2937. Head.face.Transparency = 1
  2938. end
  2939. for i,v in pairs(model2:children()) do
  2940. if v:IsA("BasePart") then
  2941. v.Transparency = 1
  2942. Handle2.TransParency = 1
  2943. FakeHandle2.TransParency = 1
  2944. end
  2945. end
  2946. end
  2947. ))
  2948. coroutine.resume(coroutine.create(function()
  2949. while invisy == true do
  2950. wait(0.5)
  2951. for i = 1, 3 do
  2952. local orb = CreatePart(Character, "SmoothPlastic", 0, 0.5, BrickColor.new("Black"), "Orb", vt())
  2953. orb.Anchored = true
  2954. Shot(orb)
  2955. local omsh = CreateMesh("SpecialMesh", orb, "Sphere", "", vt(0, 0, 0), vt(10, 10, 10))
  2956. orb.CFrame = cf(RootPart.Position + vt(math.random(-10, 10), 1, math.random(-10, 10)))
  2957. SphereEffect(BrickColor.new("Black"), orb.CFrame, 10, 10, 10, 1, 1, 1, 0.1)
  2958. coroutine.resume(coroutine.create(function(Part, Mesh, Weld)
  2959. wait(1)
  2960. Part.Parent = nil
  2961. local spread = vt(0, 0, 0) * (Part.Position - (Part.Position + vt(0, -1, 0))).magnitude / 100
  2962. local TheHit = Part.Position + vt(0, -1, 0)
  2963. local MouseLook = cf((Part.Position + TheHit) / 2, TheHit + spread)
  2964. local hit, pos = rayCast(Part.Position, MouseLook.lookVector, 999, Character)
  2965. local mag = Part.Position - pos.magnitude
  2966. CylinderEffect(BrickColor.new("Black"), CFrame.new((Part.Position + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * 10, 1, 0.5, 100, 0.5, 0.05)
  2967. RingEffect(BrickColor.new("Black"), cf(pos) * angles(1.57, math.random(-100, 100) / 100, math.random(-100, 100) / 100), 1, 1, 1, 2, 2, 2, 0.05)
  2968. do
  2969. local ref = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Effect", vt())
  2970. ref.CFrame = cf(pos)
  2971. CreateSound("http://roblox.com/asset/?id=231917788", ref, 1, 1.4)
  2972. coroutine.resume(coroutine.create(function(Part)
  2973. wait(1)
  2974. Part.Parent = nil
  2975. end
  2976. ), ref)
  2977. MagniDamage(ref, 15, 5, 10, 0, "Normal")
  2978. if hit ~= nil then
  2979. end
  2980. end
  2981. end
  2982. ), orb, omsh)
  2983. end
  2984. wait(0.5)
  2985. local n = 2
  2986. for i = 0, 1, 0.1 do
  2987. wait()
  2988. n = n - 0.1
  2989. end
  2990. RingEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 2, 2, 0, 2, 2, 0, 0.05)
  2991. end
  2992. end
  2993. ))
  2994. coroutine.resume(coroutine.create(function()
  2995. while invisy == true do
  2996. wait(0.1)
  2997. Torso.Velocity = RootPart.CFrame.lookVector * 50
  2998. WaveEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1, 1, 1, 0.5, 0.5, 0.5, 0.05)
  2999. end
  3000. end
  3001. ))
  3002. for i = 1, 100 do
  3003. wait()
  3004. end
  3005. SphereEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 2, 2, 0, 2, 2, 0, 0.05)
  3006. SphereEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1, 1, 130, 0.5, 0.5, 130, 0.05)
  3007. BlockEffect(BrickColor.new("Black"), RootPart.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 1, 1, 1, 1, 1, 1, 0.05, 1)
  3008. CreateSound("http://roblox.com/asset/?id=231917806", Torso, 1, 1)
  3009. MagniDamage(Hitbox, 10, 15, 25, 10, "Normal")
  3010. coroutine.resume(coroutine.create(function()
  3011. for i,v in pairs(Character:children()) do
  3012. if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
  3013. v.Transparency = 0
  3014. end
  3015. if v:IsA("Hat") then
  3016. v.Handle.Transparency = 0
  3017. end
  3018. Head.face.Transparency = 0
  3019. end
  3020. for i,v in pairs(model2:children()) do
  3021. if v:IsA("BasePart") then
  3022. v.Transparency = 0
  3023. end
  3024. end
  3025. Hitbox2.Transparency = 1
  3026. Handle2.Transparency = 1
  3027. FakeHandle2.Transparency = 1
  3028. end
  3029. ))
  3030. Humanoid.WalkSpeed = 16
  3031. attack = false
  3032. invisy = false
  3033. end
  3034.  
  3035. battacktwo = function()
  3036. attack = true
  3037. local con = Hitbox2.Touched:connect(function(hit)
  3038. Damagefunc(Hitbox2, hit, 5, 13, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  3039. end
  3040. )
  3041. CreateSound("http://roblox.com/asset/?id=320557453", Handle2, 1, 1)
  3042. for i = 0, 1, 0.1 do
  3043. swait()
  3044. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  3045. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3)
  3046. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.3)
  3047. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  3048. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  3049. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3050. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(100), math.rad(0)), 0.3)
  3051. end
  3052. CreateSound("http://roblox.com/asset/?id=189505639", Hitbox2, 1, 0.85)
  3053. for i = 0, 1, 0.1 do
  3054. swait()
  3055. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  3056. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3)
  3057. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  3058. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  3059. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  3060. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3061. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
  3062. end
  3063. attack = false
  3064. con:disconnect()
  3065. end
  3066.  
  3067. HadesArrow = function()
  3068. attack = true
  3069. CreateSound("http://www.roblox.com/asset/?id=233856146", Torso, 1, 1)
  3070. for i = 0, 1, 0.1 do
  3071. swait()
  3072. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  3073. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3)
  3074. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  3075. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
  3076. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  3077. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3078. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
  3079. end
  3080. for i = 0, 1, 0.1 do
  3081. swait()
  3082. BlockEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, 0, 0), 1, 1, 1, 1, 1, 1, 0.05)
  3083. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  3084. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3)
  3085. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  3086. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
  3087. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  3088. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3089. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
  3090. end
  3091. shoottrail3(mouse, LeftArm)
  3092. attack = false
  3093. end
  3094.  
  3095. battackthree = function()
  3096. attack = true
  3097. CreateSound("http://www.roblox.com/asset/?id=233856146", Torso, 1, 1)
  3098. for i = 0, 1, 0.1 do
  3099. swait()
  3100. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  3101. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3)
  3102. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  3103. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
  3104. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  3105. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3106. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
  3107. end
  3108. coroutine.resume(coroutine.create(function()
  3109. for i = 1, 1 do
  3110. swait()
  3111. local ef = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Effect", vt())
  3112. CreateSound("http://www.roblox.com/asset/?id=192410089", ef, 1, 1)
  3113. ef.Anchored = true
  3114. ef.CFrame = RootPart.CFrame * cf(0, 0, -7.5)
  3115. MagniDamage(ef, 7, 10, 15, 10, "Knockdown")
  3116. SphereEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, -7.5), 1, 1, 1, 5, 5, 5, 0.05)
  3117. game:GetService("Debris"):AddItem(ef, 0.5)
  3118. WaveEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, -2, -7.5), 1, 1, 1, 1, 1, 1, 0.08)
  3119. end
  3120. end
  3121. ))
  3122. for i = 0, 1, 0.1 do
  3123. swait()
  3124. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  3125. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3)
  3126. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(90)), 0.3)
  3127. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
  3128. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  3129. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3130. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), 0.3)
  3131. end
  3132. attack = false
  3133. end
  3134.  
  3135. attackone = function()
  3136. attack = true
  3137. CreateSound("http://roblox.com/asset/?id=320557453", Handle, 1, 1)
  3138. local con = Hitbox.Touched:connect(function(hit)
  3139. Damagefunc(Hitbox, hit, 5, 13, math.random(5, 10), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  3140. end
  3141. )
  3142. for i = 0, 1, 0.1 do
  3143. swait()
  3144. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(-20), math.rad(-80)), 0.3)
  3145. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(80)), 0.3)
  3146. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(50)), 0.3)
  3147. LW.C0 = clerp(LW.C0, CFrame.new(-0.8, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(80)), 0.3)
  3148. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  3149. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3150. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(30), math.rad(20), math.rad(90)), 0.3)
  3151. end
  3152. CreateSound("http://roblox.com/asset/?id=377357731", Handle, 1, 1)
  3153. for i = 0, 1, 0.1 do
  3154. swait()
  3155. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(20), math.rad(80)), 0.3)
  3156. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3)
  3157. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(100), math.rad(130)), 0.3)
  3158. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3)
  3159. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  3160. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3161. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(90), math.rad(90), math.rad(180)), 0.3)
  3162. end
  3163. con:disconnect()
  3164. attack = false
  3165. end
  3166.  
  3167. attacktwo = function()
  3168. attack = true
  3169. local con = Hitbox.Touched:connect(function(hit)
  3170. Damagefunc(Hitbox, hit, 5, 13, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  3171. end
  3172. )
  3173. CreateSound("http://roblox.com/asset/?id=320557563", Handle, 1, 1)
  3174. for i = 0, 1, 0.1 do
  3175. swait()
  3176. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(20), math.rad(80)), 0.3)
  3177. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3)
  3178. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(100), math.rad(130)), 0.3)
  3179. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3)
  3180. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  3181. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3182. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(90), math.rad(90), math.rad(180)), 0.3)
  3183. end
  3184. CreateSound("http://roblox.com/asset/?id=377357731", Handle, 1, 1.1)
  3185. for i = 0, 1, 0.1 do
  3186. swait()
  3187. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(-20), math.rad(-80)), 0.3)
  3188. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(80)), 0.3)
  3189. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(50)), 0.3)
  3190. LW.C0 = clerp(LW.C0, CFrame.new(-0.8, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(80)), 0.3)
  3191. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  3192. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3193. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(30), math.rad(20), math.rad(90)), 0.3)
  3194. end
  3195. con:disconnect()
  3196. attack = false
  3197. end
  3198.  
  3199. attackthree = function()
  3200. attack = true
  3201. local con = Hitbox.Touched:connect(function(hit)
  3202. Damagefunc(Hitbox, hit, 5, 13, math.random(1, 10), "Knockdown", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  3203. end
  3204. )
  3205. CreateSound("http://roblox.com/asset/?id=320557518", Handle, 1, 1)
  3206. for i = 0, 1, 0.1 do
  3207. swait()
  3208. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  3209. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  3210. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3)
  3211. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(180), math.rad(50), math.rad(80)), 0.3)
  3212. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  3213. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3214. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
  3215. end
  3216. CreateSound("http://roblox.com/asset/?id=377357731", Handle, 1, 0.9)
  3217. for i = 0, 1, 0.5 do
  3218. swait()
  3219. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  3220. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  3221. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(30), math.rad(0)), 0.3)
  3222. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(50), math.rad(80)), 0.3)
  3223. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  3224. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3225. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
  3226. end
  3227. for i = 0, 1, 0.1 do
  3228. swait()
  3229. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  3230. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  3231. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
  3232. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3)
  3233. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  3234. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3235. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
  3236. end
  3237. con:disconnect()
  3238. CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 0.5, 0.5, 0.5, 0.05)
  3239. attack = false
  3240. end
  3241.  
  3242. BlackDeath = function()
  3243. attack = true
  3244. CreateSound("http://www.roblox.com/asset/?id=169445046", Handle, 1, 1)
  3245. for i = 0, 1, 0.1 do
  3246. swait()
  3247. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  3248. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  3249. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  3250. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
  3251. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  3252. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3253. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  3254. end
  3255. for i = 0, 1, 0.1 do
  3256. swait()
  3257. BlockEffect(BrickColor.new("Black"), LeftArm.CFrame, 5, 5, 5, 1, 1, 1, 0.07)
  3258. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3259. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3260. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  3261. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-180)), 0.3)
  3262. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  3263. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3264. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  3265. end
  3266. n = 2
  3267. local cf2 = RootPart.CFrame * cf(0, 500, -20)
  3268. local ref = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Navy blue"), "Effect", vt())
  3269. ref.CFrame = cf2
  3270. ref.Anchored = true
  3271. local TheHit = ref.Position + vt(0, -1, 0)
  3272. local MouseLook = cf((ref.Position + TheHit) / 2, TheHit)
  3273. local hit, pos = rayCast(ref.Position, MouseLook.lookVector, 999, Character)
  3274. local ref2 = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Navy blue"), "Effect", vt())
  3275. ref2.CFrame = cf(pos)
  3276. ref2.Anchored = true
  3277. local mag = (ref.Position - pos).magnitude
  3278. CylinderEffect(BrickColor.new("Black"), CFrame.new((ref.Position + pos) / 2, pos) * angles(1.57, 0, 0), 5, mag * 5, 5, 1, 0, 1, 0.05)
  3279. SphereEffect(BrickColor.new("Black"), ref2.CFrame, 15, 15, 15, 3, 3, 3, 0.02)
  3280. BlockEffect(BrickColor.new("Black"), ref2.CFrame, 15, 15, 15, 2, 2, 2, 0.02)
  3281. WaveEffect(BrickColor.new("Black"), ref2.CFrame, 5, 5, 5, 2, 2, 2, 0.05)
  3282. RingEffect(BrickColor.new("Black"), cf(ref2.Position) * angles(1.57, 0, 0), 5, 5, 5, 1, 1, 1, 0.05)
  3283. MagniDamage(ref2, 10, 10, 15, 30, "Knockdown")
  3284. CreateSound("http://roblox.com/asset/?id=144844438", ref2, 1, 0.9)
  3285. CreateSound("http://roblox.com/asset/?id=144844438", ref2, 1, 0.8)
  3286. game:GetService("Debris"):AddItem(ref, 2)
  3287. game:GetService("Debris"):AddItem(ref2, 2)
  3288. for i = 0, 1, 0.1 do
  3289. swait()
  3290. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  3291. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(20), math.rad(70)), 0.3)
  3292. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  3293. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-70)), 0.3)
  3294. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  3295. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3296. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  3297. end
  3298. attack = false
  3299. end
  3300.  
  3301. HadesHammer = function()
  3302. attack = true
  3303. local con = Hitbox.Touched:connect(function(hit)
  3304. Damagefunc(Hitbox, hit, 10, 15, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  3305. end
  3306. )
  3307. Humanoid.Jump = true
  3308. CreateSound("http://roblox.com/asset/?id=320557563", Handle, 1, 1)
  3309. for i = 0, 1, 0.1 do
  3310. swait()
  3311. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  3312. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  3313. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3)
  3314. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(180), math.rad(50), math.rad(80)), 0.3)
  3315. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  3316. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3317. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
  3318. end
  3319. for i = 0, 1, 0.5 do
  3320. swait()
  3321. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  3322. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  3323. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(30), math.rad(0)), 0.3)
  3324. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(50), math.rad(80)), 0.3)
  3325. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  3326. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3327. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
  3328. end
  3329. for i = 0, 1, 0.2 do
  3330. swait()
  3331. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  3332. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  3333. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
  3334. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3)
  3335. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  3336. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3337. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
  3338. end
  3339. con:disconnect()
  3340. hit = nil
  3341. for i = 1, 1 do
  3342. if hit == nil then
  3343. swait()
  3344. end
  3345. hit = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 6, Character)
  3346. end
  3347. local hit = nil
  3348. while hit == nil do
  3349. swait()
  3350. hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
  3351. end
  3352. hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
  3353. do
  3354. if hit ~= nil then
  3355. local ref = CreatePart(effect, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "Effect", vt())
  3356. ref.Anchored = true
  3357. ref.CFrame = cf(pos)
  3358. game:GetService("Debris"):AddItem(ref, 3)
  3359. for i = 1, 10 do
  3360. Col = hit.BrickColor
  3361. local groundpart = CreatePart(effect, hit.Material, 0, 0, Col, "Ground", vt(math.random(50, 200) / 100, math.random(50, 200) / 100, math.random(50, 200) / 100))
  3362. groundpart.Anchored = true
  3363. groundpart.CanCollide = true
  3364. groundpart.CFrame = cf(pos) * cf(math.random(-500, 500) / 100, 0, math.random(-500, 500) / 100) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3365. game:GetService("Debris"):AddItem(groundpart, 5)
  3366. end
  3367. CreateSound("http://roblox.com/asset/?id=157878578", ref, 0.6, 1.2)
  3368. WaveEffect(hit.BrickColor, cf(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.05)
  3369. MagniDamage(ref, 9, 9, 13, math.random(10, 20), "Knockdown")
  3370. end
  3371. CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 0.5, 3, 0.5, 0.05)
  3372. CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 1, 1, 1, 0.05)
  3373. attack = false
  3374. end
  3375. end
  3376.  
  3377. Beast = function()
  3378. attack = true
  3379. for i = 0, 1, 0.05 do
  3380. swait()
  3381. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  3382. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  3383. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  3384. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  3385. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  3386. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  3387. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), 0.3)
  3388. end
  3389. CreateSound("http://www.roblox.com/asset/?id=192410062", RootPart, 1, 1)
  3390. num = 0
  3391. for i = 0, 1, 0.01 do
  3392. swait()
  3393. if num >= 10 then
  3394. num = 0
  3395. WaveEffect(BrickColor.new("Black"), cf(Torso.Position) * cf(0, -1, 0) * angles(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
  3396. end
  3397. for i = 1, 2 do
  3398. if math.random(1, 5) == 1 then
  3399. BlockEffect(BrickColor.new("Black"), Hitbox2.CFrame * cf(math.random(-100, 100) / 100, -math.random(-700, 700) / 100, math.random(-100, 100) / 100), math.random(30, 80) / 100, math.random(30, 80) / 100, math.random(30, 80) / 100, 0.5, 0.5, 0.5, 0.05, 1)
  3400. else
  3401. BlockEffect(BrickColor.new("Really black"), Hitbox2.CFrame * cf(math.random(-100, 100) / 100, -math.random(-700, 700) / 100, math.random(-100, 100) / 100), math.random(30, 80) / 100, math.random(30, 80) / 100, math.random(30, 80) / 100, 0.5, 0.5, 0.5, 0.05, 1)
  3402. end
  3403. end
  3404. num = num + 1
  3405. end
  3406. SphereEffect(BrickColor.new("Black"), Hitbox2.CFrame, 1, 5, 1, 2, 5, 2, 0.05)
  3407. for i = 0, 1, 0.1 do
  3408. swait()
  3409. end
  3410. model2.Parent = nil
  3411. for i = 0, 1, 0.05 do
  3412. swait()
  3413. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  3414. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  3415. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(100), math.rad(90)), 0.3)
  3416. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(-90)), 0.3)
  3417. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  3418. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  3419. end
  3420. CreateSound("http://www.roblox.com/asset/?id=188959258", RootPart, 1, 1)
  3421. SphereEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 5, 1, 2, 5, 2, 0.05)
  3422. for i = 0, 1, 0.1 do
  3423. swait()
  3424. end
  3425. model2.Parent = nil
  3426. m.Parent = Character
  3427. for i = 1, #Hammer do
  3428. Hammer[i].Parent = m
  3429. HammerWelds[i].Parent = Hammer[1]
  3430. end
  3431. for i = 0, 1, 0.05 do
  3432. swait()
  3433. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  3434. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  3435. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  3436. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  3437. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  3438. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  3439. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), 0.3)
  3440. end
  3441. WStyle = "Hammer"
  3442. attack = false
  3443. end
  3444.  
  3445. Beauty = function()
  3446. attack = true
  3447. for i = 0, 1, 0.05 do
  3448. swait()
  3449. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  3450. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  3451. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  3452. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  3453. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  3454. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  3455. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), 0.3)
  3456. end
  3457. num = 0
  3458. CreateSound("http://www.roblox.com/asset/?id=192410062", RootPart, 1, 1)
  3459. for i = 0, 1, 0.01 do
  3460. swait()
  3461. if num >= 10 then
  3462. num = 0
  3463. WaveEffect(BrickColor.new("Black"), cf(Torso.Position) * cf(0, -1, 0) * angles(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
  3464. end
  3465. for i = 1, 2 do
  3466. if math.random(1, 5) == 1 then
  3467. BlockEffect(BrickColor.new("Black"), FakeHandle.CFrame * cf(math.random(-100, 100) / 100, -math.random(-700, 700) / 100, math.random(-100, 100) / 100), math.random(30, 80) / 100, math.random(30, 80) / 100, math.random(30, 80) / 100, 0.5, 0.5, 0.5, 0.05, 1)
  3468. else
  3469. BlockEffect(BrickColor.new("Really black"), FakeHandle.CFrame * cf(math.random(-100, 100) / 100, -math.random(-700, 700) / 100, math.random(-100, 100) / 100), math.random(30, 80) / 100, math.random(30, 80) / 100, math.random(30, 80) / 100, 0.5, 0.5, 0.5, 0.05, 1)
  3470. end
  3471. end
  3472. num = num + 1
  3473. end
  3474. CreateSound("http://www.roblox.com/asset/?id=243711369", RootPart, 1, 1)
  3475. SphereEffect(BrickColor.new("Black"), FakeHandle.CFrame, 1, 5, 1, 2, 5, 2, 0.05)
  3476. for i = 0, 1, 0.1 do
  3477. swait()
  3478. end
  3479. m.Parent = nil
  3480. for i = 0, 1, 0.05 do
  3481. swait()
  3482. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  3483. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  3484. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(100), math.rad(90)), 0.3)
  3485. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(-90)), 0.3)
  3486. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  3487. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  3488. end
  3489. CreateSound("http://www.roblox.com/asset/?id=188959258", RootPart, 1, 1)
  3490. SphereEffect(BrickColor.new("Black"), FakeHandle.CFrame, 1, 5, 1, 2, 5, 2, 0.05)
  3491. for i = 0, 1, 0.1 do
  3492. swait()
  3493. end
  3494. m.Parent = nil
  3495. model2.Parent = Character
  3496. for i = 1, #DBlade do
  3497. DBlade[i].Parent = model2
  3498. DBladeWelds[i].Parent = DBlade[1]
  3499. end
  3500. m.Parent = nil
  3501. for i = 0, 1, 0.05 do
  3502. swait()
  3503. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  3504. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  3505. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  3506. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  3507. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  3508. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  3509. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), 0.3)
  3510. end
  3511. WStyle = "Blade"
  3512. attack = false
  3513. end
  3514.  
  3515. HadesStorm = function()
  3516. attack = true
  3517. CreateSound("http://roblox.com/asset/?id=320557563", Handle, 1, 1)
  3518. for i = 0, 1, 0.05 do
  3519. swait()
  3520. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  3521. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  3522. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 1, 0) * angles(math.rad(180), math.rad(0), math.rad(-50)), 0.3)
  3523. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 1, 0) * angles(math.rad(180), math.rad(50), math.rad(80)), 0.3)
  3524. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3)
  3525. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3526. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
  3527. end
  3528. for i = 0, 1, 0.5 do
  3529. swait()
  3530. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  3531. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  3532. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(30), math.rad(0)), 0.3)
  3533. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(50), math.rad(80)), 0.3)
  3534. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  3535. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3536. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
  3537. end
  3538. for i = 0, 1, 0.2 do
  3539. swait()
  3540. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  3541. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  3542. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
  3543. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3)
  3544. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  3545. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3546. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), 0.3)
  3547. end
  3548. hit = nil
  3549. for i = 1, 1 do
  3550. if hit == nil then
  3551. swait()
  3552. end
  3553. hit = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 6, Character)
  3554. end
  3555. local hit = nil
  3556. while hit == nil do
  3557. swait()
  3558. hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
  3559. end
  3560. hit = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
  3561. do
  3562. if hit ~= nil then
  3563. local ref = CreatePart(effect, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "Effect", vt())
  3564. ref.Anchored = true
  3565. ref.CFrame = cf(pos)
  3566. game:GetService("Debris"):AddItem(ref, 3)
  3567. for i = 1, 10 do
  3568. Col = hit.BrickColor
  3569. local groundpart = CreatePart(effect, hit.Material, 0, 0, Col, "Ground", vt(math.random(50, 200) / 100, math.random(50, 200) / 100, math.random(50, 200) / 100))
  3570. groundpart.Anchored = true
  3571. groundpart.CanCollide = true
  3572. groundpart.CFrame = cf(pos) * cf(math.random(-500, 500) / 100, 0, math.random(-500, 500) / 100) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3573. game:GetService("Debris"):AddItem(groundpart, 5)
  3574. end
  3575. CreateSound("http://roblox.com/asset/?id=157878578", ref, 0.6, 1.2)
  3576. WaveEffect(hit.BrickColor, cf(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.05)
  3577. MagniDamage(ref, 9, 9, 13, math.random(10, 20), "Knockdown")
  3578. end
  3579. local numb = -8
  3580. local basecf = RootPart.CFrame
  3581. for i = 1, 4 do
  3582. swait()
  3583. local cf2 = basecf * cf(0, 0, numb)
  3584. local ref = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
  3585. ref.CFrame = cf2
  3586. ref.Anchored = true
  3587. local TheHit = ref.Position + vt(0, -1, 0)
  3588. local MouseLook = cf((ref.Position + TheHit) / 2, TheHit)
  3589. local hit, pos = rayCast(ref.Position, MouseLook.lookVector, 999, Character)
  3590. local ref2 = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
  3591. ref2.CFrame = cf(pos)
  3592. ref2.Anchored = true
  3593. SphereEffect(BrickColor.new("Really black"), ref2.CFrame, 15, 15, 15, 5, 5, 5, 0.02)
  3594. WaveEffect(BrickColor.new("Really black"), ref2.CFrame, 5, 5, 5, 2, 2, 2, 0.05)
  3595. MagniDamage(ref2, 20, 10, 15, math.random(5, 20), "Normal", RootPart)
  3596. CreateSound("http://www.roblox.com/asset/?id=161006093", ref2, 1, 0.6)
  3597. game:GetService("Debris"):AddItem(ref, 2)
  3598. game:GetService("Debris"):AddItem(ref2, 2)
  3599. numb = numb - 15
  3600. wait(0.4)
  3601. end
  3602. CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 1, 3, 1, 0.05)
  3603. CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 2, 1, 2, 0.05)
  3604. attack = false
  3605. end
  3606. end
  3607.  
  3608. ob1u = function()
  3609. end
  3610.  
  3611. ob1d = function()
  3612. if WStyle == "Hammer" then
  3613. if attack == false and attacktype == 1 then
  3614. attacktype = 2
  3615. attackone()
  3616. else
  3617. if attack == false and attacktype == 2 then
  3618. attacktype = 3
  3619. attacktwo()
  3620. else
  3621. if attack == false and attacktype == 3 then
  3622. attacktype = 1
  3623. attackthree()
  3624. end
  3625. end
  3626. end
  3627. end
  3628. if WStyle == "Blade" then
  3629. if attack == false and attacktype2 == 1 then
  3630. attacktype2 = 2
  3631. battackone()
  3632. else
  3633. if attack == false and attacktype2 == 2 then
  3634. attacktype2 = 3
  3635. battacktwo()
  3636. else
  3637. if attack == false and attacktype2 == 3 then
  3638. attacktype2 = 1
  3639. battackthree()
  3640. end
  3641. end
  3642. end
  3643. end
  3644. end
  3645.  
  3646. key = function(k)
  3647. k = k:lower()
  3648. if attack == false and k == "z" and zenabled == true and mana >= 15 then
  3649. zenabled = false
  3650. mana = mana
  3651. coroutine.resume(coroutine.create(function()
  3652. for i = 1, 0, -0.02 do
  3653. swait()
  3654. fenframe1a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  3655. end
  3656. zenabled = true
  3657. fenframe1a.Size = UDim2.new(0, 0, 0.1, 0)
  3658. end
  3659. ))
  3660. if WStyle == "Hammer" then
  3661. HadesHammer()
  3662. else
  3663. if WStyle == "Blade" then
  3664. HadesKnife()
  3665. end
  3666. end
  3667. else
  3668. if attack == false and k == "x" and mana >= 25 and xenabled == true then
  3669. xenabled = false
  3670. mana = mana
  3671. coroutine.resume(coroutine.create(function()
  3672. for i = 1, 0, -0.0025 do
  3673. swait()
  3674. fenframe2a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  3675. end
  3676. xenabled = true
  3677. fenframe2a.Size = UDim2.new(0, 0, 0.1, 0)
  3678. end
  3679. ))
  3680. if WStyle == "Hammer" then
  3681. BlackDeath()
  3682. else
  3683. if WStyle == "Blade" then
  3684. HellFromAbove()
  3685. end
  3686. end
  3687. else
  3688. if attack == false and k == "c" and mana >= 35 and cenabled == true then
  3689. cenabled = false
  3690. mana = mana
  3691. coroutine.resume(coroutine.create(function()
  3692. for i = 1, 0, -0.0025 do
  3693. swait()
  3694. fenframe3a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  3695. end
  3696. cenabled = true
  3697. fenframe3a.Size = UDim2.new(0, 0, 0.1, 0)
  3698. end
  3699. ))
  3700. if WStyle == "Hammer" then
  3701. HadesStorm()
  3702. else
  3703. if WStyle == "Blade" then
  3704. HadesArrow()
  3705. end
  3706. end
  3707. else
  3708. if attack == false and k == "v" and mana >= 25 and venabled == true then
  3709. venabled = false
  3710. mana = mana
  3711. coroutine.resume(coroutine.create(function()
  3712. for i = 1, 0, -0.025 do
  3713. swait()
  3714. fenframe4a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  3715. end
  3716. venabled = true
  3717. fenframe4a.Size = UDim2.new(0, 0, 0.1, 0)
  3718. end
  3719. ))
  3720. if WStyle == "Hammer" then
  3721. Beauty()
  3722. else
  3723. if WStyle == "Blade" then
  3724. Beast()
  3725. end
  3726. end
  3727. end
  3728. end
  3729. end
  3730. end
  3731. end
  3732.  
  3733. Bin = Instance.new("HopperBin", Player.Backpack)
  3734. ds = function(mouse)
  3735. end
  3736.  
  3737. s = function(mouse)
  3738. print("Selected")
  3739. mouse.Button1Down:connect(function()
  3740. ob1d(mouse)
  3741. end
  3742. )
  3743. mouse.Button1Up:connect(function()
  3744. ob1u(mouse)
  3745. end
  3746. )
  3747. mouse.KeyDown:connect(key)
  3748. end
  3749.  
  3750. Bin.Selected:connect(s)
  3751. Bin.Deselected:connect(ds)
  3752. while 1 do
  3753. while 1 do
  3754. while 1 do
  3755. swait()
  3756. Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  3757. torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  3758. velocity = RootPart.Velocity.y
  3759. sine = sine + change
  3760. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  3761. if equipped == true or equipped == false then
  3762. if 1 < RootPart.Velocity.y and hit == nil then
  3763. Anim = "Jump"
  3764. if attack == false then
  3765. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3766. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  3767. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  3768. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  3769. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  3770. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3771. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  3772. end
  3773. else
  3774. if RootPart.Velocity.y < -1 and hit == nil then
  3775. Anim = "Fall"
  3776. if attack == false then
  3777. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3778. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  3779. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  3780. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  3781. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  3782. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3783. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  3784. end
  3785. else
  3786. if torvel<1 and hit~=nil then
  3787. Anim = "Idle"
  3788. if attack == false then
  3789. if WStyle == "Hammer" then
  3790. change = 1
  3791. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  3792. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  3793. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  3794. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  3795. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  3796. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3797. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  3798. else
  3799. if WStyle == "Blade" then
  3800. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3)
  3801. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3)
  3802. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(80)), 0.3)
  3803. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  3804. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  3805. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3806. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-50)), 0.3)
  3807. end
  3808. end
  3809. end
  3810. else
  3811. if torvel>2 and torvel<22 and hit~=nil then
  3812. Anim = "Walk"
  3813. if attack == false then
  3814. if WStyle == "Hammer" then
  3815. change = 1
  3816. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  3817. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  3818. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  3819. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.3)
  3820. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3821. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3822. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(70), math.rad(0), math.rad(180)), 0.3)
  3823. else
  3824. if WStyle == "Blade" then
  3825. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3826. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  3827. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(80)), 0.3)
  3828. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  3829. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3830. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3831. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-50)), 0.3)
  3832. end
  3833. end
  3834. end
  3835. end
  3836. end
  3837. end
  3838. end
  3839. end
  3840. if 0 < #Effects then
  3841. for e = 1, #Effects do
  3842. if Effects[e] ~= nil then
  3843. local Thing = Effects[e]
  3844. if Thing ~= nil then
  3845. local Part = Thing[1]
  3846. local Mode = Thing[2]
  3847. local Delay = Thing[3]
  3848. local IncX = Thing[4]
  3849. local IncY = Thing[5]
  3850. local IncZ = Thing[6]
  3851. if Thing[1].Transparency <= 1 then
  3852. if Thing[2] == "Block1" then
  3853. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3854. Mesh = Thing[1].Mesh
  3855. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3856. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3857. else
  3858. if Thing[2] == "Block2" then
  3859. Thing[1].CFrame = Thing[1].CFrame
  3860. Mesh = Thing[7]
  3861. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3862. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3863. else
  3864. if Thing[2] == "Cylinder" then
  3865. Mesh = Thing[1].Mesh
  3866. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3867. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3868. else
  3869. if Thing[2] == "Blood" then
  3870. Mesh = Thing[7]
  3871. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  3872. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3873. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3874. else
  3875. if Thing[2] == "Elec" then
  3876. Mesh = Thing[1].Mesh
  3877. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  3878. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3879. else
  3880. if Thing[2] == "Disappear" then
  3881. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3882. else
  3883. if Thing[2] == "Shatter" then
  3884. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3885. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  3886. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  3887. Thing[6] = Thing[6] + Thing[5]
  3888. end
  3889. end
  3890. end
  3891. end
  3892. end
  3893. end
  3894. end
  3895. else
  3896. Part.Parent = nil
  3897. table.remove(Effects, e)
  3898. end
  3899. end
  3900. end
  3901. end
  3902. end
  3903. do
  3904. fenbarmana2:TweenSize((UDim2.new(4 * mana / 100, 0, 0.2, 0)), nil, 1, 0.4, true)
  3905. fenbarmana4.Text = "[Hate] <{[ " .. mana .. " ]}> [Hate]"
  3906. if 100 <= mana then
  3907. mana = 100
  3908. end
  3909. end
  3910. end
  3911. if mananum <= 8 then
  3912. mananum = mananum + 1
  3913. end
  3914. end
  3915. mananum = 0
  3916. mana = mana + 1
  3917. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement