Advertisement
memberhero

SoulHammer

Mar 29th, 2018
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 102.64 KB | None | 0 0
  1. --Fixed by basstracker1970
  2. wait(1 / 60)
  3. Effects = { }
  4. local Player = game.Players.localPlayer
  5. local Character = Player.Character
  6. local Humanoid = Character.Humanoid
  7. local mouse = Player:GetMouse()
  8. local m = Instance.new('Model', Character)
  9. m.Name = "Hades"
  10. local effect = Instance.new('Model', Character)
  11. effect.Name = "Effects"
  12. Hammer={}
  13. HammerWelds={}
  14. local LeftArm = Character["Left Arm"]
  15. local RightArm = Character["Right Arm"]
  16. local LeftLeg = Character["Left Leg"]
  17. local RightLeg = Character["Right Leg"]
  18. local WStyle = "Hammer"
  19. local Head = Character.Head
  20. local Torso = Character.Torso
  21. local cam = game.Workspace.CurrentCamera
  22. local RootPart = Character.HumanoidRootPart
  23. local RootJoint = RootPart.RootJoint
  24. local equipped = false
  25. local attack = false
  26. local Anim = 'Idle'
  27. local idle = 0
  28. local mananum = 0
  29. local attacktype = 1
  30. local attacktype2 = 1
  31. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  32. local velocity = RootPart.Velocity.y
  33. local sine = 0
  34. local change = 1
  35. local mana = 0
  36. local it =Instance.new
  37. local vt =Vector3.new
  38. local grabbed = false
  39. local cf = CFrame.new
  40. local mr = math.rad
  41. local angles = CFrame.Angles
  42. local ud = UDim2.new
  43. local c3 = Color3.new
  44. Anim=Instance.new("StringValue")
  45. Anim.Name="Animation"
  46. Anim.Parent=Character
  47. Anim.Value="Walking"
  48. local NeckCF = cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  49. xenabled=true cenabled=true venabled=true zenabled=true
  50. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  51. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  52. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  53.  
  54. RSH, LSH = nil, nil
  55.  
  56. RW = Instance.new("Weld")
  57. LW = Instance.new("Weld")
  58.  
  59. RH = Torso["Right Hip"]
  60. LH = Torso["Left Hip"]
  61.  
  62. RSH = Torso["Right Shoulder"]
  63. LSH = Torso["Left Shoulder"]
  64.  
  65. RSH.Parent = nil
  66. LSH.Parent = nil
  67.  
  68. RW.Name = "RW"
  69. RW.Part0 = Torso
  70. RW.C0 = cf(1.5, 0.5, 0)
  71. RW.C1 = cf(0, 0.5, 0)
  72. RW.Part1 = RightArm
  73. RW.Parent = Torso
  74.  
  75. LW.Name = "LW"
  76. LW.Part0 = Torso
  77. LW.C0 = cf(-1.5, 0.5, 0)
  78. LW.C1 = cf(0, 0.5, 0)
  79. LW.Part1 = LeftArm
  80. LW.Parent = Torso
  81.  
  82. function clerp(a, b, t)
  83. return a:lerp(b, t)
  84. end
  85.  
  86.  
  87. local RbxUtility = LoadLibrary("RbxUtility")
  88. local Create = RbxUtility.Create
  89.  
  90. function RemoveOutlines(part)
  91. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  92. end
  93.  
  94. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  95. local Part = Create("Part"){
  96. Parent = Parent,
  97. Reflectance = Reflectance,
  98. Transparency = Transparency,
  99. CanCollide = false,
  100. Locked = true,
  101. BrickColor = BrickColor.new(tostring(BColor)),
  102. Name = Name,
  103. Size = Size,
  104. Material = Material,
  105. }
  106. RemoveOutlines(Part)
  107. return Part
  108. end
  109.  
  110. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  111. local Msh = Create(Mesh){
  112. Parent = Part,
  113. Offset = OffSet,
  114. Scale = Scale,
  115. }
  116. if Mesh == "SpecialMesh" then
  117. Msh.MeshType = MeshType
  118. Msh.MeshId = MeshId
  119. end
  120. return Msh
  121. end
  122.  
  123. ArtificialHB = Instance.new("BindableEvent", script)
  124. ArtificialHB.Name = "Heartbeat"
  125. script:WaitForChild("Heartbeat")
  126. frame = 1 / 30
  127. tf = 0
  128. allowframeloss = true
  129. tossremainder = false
  130. lastframe = tick()
  131. script.Heartbeat:Fire()
  132. game:GetService("RunService").Heartbeat:connect(function(s, p)
  133.  
  134. tf = tf + s
  135. if frame <= tf then
  136. if allowframeloss then
  137. script.Heartbeat:Fire()
  138. lastframe = tick()
  139. else
  140. for i = 1, math.floor(tf / frame) do
  141. script.Heartbeat:Fire()
  142. end
  143. lastframe = tick()
  144. end
  145. if tossremainder then
  146. tf = 0
  147. else
  148. tf = tf - frame * math.floor(tf / frame)
  149. end
  150. end
  151. end
  152. )
  153. swait = function(num)
  154.  
  155. if num == 0 or num == nil then
  156. ArtificialHB.Event:wait()
  157. else
  158. for i = 0, num do
  159. ArtificialHB.Event:wait()
  160. end
  161. end
  162. end
  163.  
  164. local fengui=it("GuiMain")
  165. fengui.Parent=Player.PlayerGui
  166. fengui.Name="WeaponGUI"
  167. local fenframe=it("Frame")
  168. fenframe.Parent=fengui
  169. fenframe.BackgroundColor3=Color3.new(255,255,255)
  170. fenframe.BackgroundTransparency=1
  171. fenframe.BorderColor3=Color3.new(17,17,17)
  172. fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
  173. fenframe.Position=UDim2.new(0.4,0,0.1,0)
  174. local fenbarmana1=it("TextLabel")
  175. fenbarmana1.Parent=fenframe
  176. fenbarmana1.Text=" "
  177. fenbarmana1.BackgroundTransparency=0
  178. fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
  179. fenbarmana1.SizeConstraint="RelativeXY"
  180. fenbarmana1.TextXAlignment="Center"
  181. fenbarmana1.TextYAlignment="Center"
  182. fenbarmana1.Position=UDim2.new(0,0,0,0)
  183. fenbarmana1.Size=UDim2.new(4,0,0.2,0)
  184. local fenbarmana2=it("TextLabel")
  185. fenbarmana2.Parent=fenframe
  186. fenbarmana2.Text=" "
  187. fenbarmana2.BackgroundTransparency=0
  188. fenbarmana2.BackgroundColor3=Torso.Color
  189. fenbarmana2.SizeConstraint="RelativeXY"
  190. fenbarmana2.TextXAlignment="Center"
  191. fenbarmana2.TextYAlignment="Center"
  192. fenbarmana2.Position=UDim2.new(0,0,0,0)
  193. fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
  194. local fenbarmana3=it("TextLabel")
  195. fenbarmana3.Parent=fenframe
  196. fenbarmana3.Text=" "
  197. fenbarmana3.BackgroundTransparency=0
  198. fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
  199. fenbarmana3.SizeConstraint="RelativeXY"
  200. fenbarmana3.TextXAlignment="Center"
  201. fenbarmana3.TextYAlignment="Center"
  202. fenbarmana3.Position=UDim2.new(0,0,0,0)
  203. fenbarmana3.Size=UDim2.new(0,0,0.2,0)
  204. local fenbarmana4=it("TextLabel")
  205. fenbarmana4.Parent=fenframe
  206. fenbarmana4.Text="Energy("..mana..")"
  207. fenbarmana4.BackgroundTransparency=1
  208. fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
  209. fenbarmana4.SizeConstraint="RelativeXY"
  210. fenbarmana4.TextXAlignment="Center"
  211. fenbarmana4.TextYAlignment="Center"
  212. fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
  213. fenbarmana4.Size=UDim2.new(4,0,0.2,0)
  214. fenbarmana4.FontSize="Size9"
  215. fenbarmana4.TextStrokeTransparency=0
  216. fenbarmana4.TextColor=BrickColor.new("White")
  217.  
  218.  
  219. local fengui=it("GuiMain")
  220. fengui.Parent=Player.PlayerGui
  221. fengui.Name="WeaponGUI"
  222. local fenframe1=it("TextLabel")
  223. fenframe1.Parent=fengui
  224. fenframe1.BackgroundColor3=Color3.new(50/255,50/255,50/255)
  225. fenframe1.BackgroundTransparency=0.3
  226. fenframe1.BorderSizePixel=5
  227. fenframe1.BorderColor3=Color3.new(1,1,1)
  228. fenframe1.Size=UDim2.new(0.05, 0, 0.1, 0)
  229. fenframe1.Position=UDim2.new(0.325,0,0.7,0)
  230. fenframe1.Text="Z"
  231. fenframe1.TextWrapped=true
  232. fenframe1.FontSize=7
  233. fenframe1.TextColor3=Color3.new(1,1,1)
  234. local fenframe1a=it("TextLabel")
  235. fenframe1a.Parent=fengui
  236. fenframe1a.BackgroundColor3=Color3.new(200/255,200/255,200/255)
  237. fenframe1a.BackgroundTransparency=0.3
  238. fenframe1a.BorderSizePixel=5
  239. fenframe1a.BorderColor3=Color3.new(1,1,1)
  240. fenframe1a.Size=UDim2.new(0.05, 0, 0.1, 0)
  241. fenframe1a.Position=UDim2.new(0.325,0,0.7,0)
  242. fenframe1a.Text=""
  243. local fenframe2=it("TextLabel")
  244. fenframe2.Parent=fengui
  245. fenframe2.BackgroundColor3=Color3.new(50/255,50/255,50/255)
  246. fenframe2.BackgroundTransparency=0.3
  247. fenframe2.BorderSizePixel=5
  248. fenframe2.BorderColor3=Color3.new(1,1,1)
  249. fenframe2.Size=UDim2.new(0.05, 0, 0.1, 0)
  250. fenframe2.Position=UDim2.new(0.425,0,0.7,0)
  251. fenframe2.Text="X"
  252. fenframe2.TextWrapped=true
  253. fenframe2.FontSize=7
  254. fenframe2.TextColor3=Color3.new(1,1,1)
  255. local fenframe2a=it("TextLabel")
  256. fenframe2a.Parent=fengui
  257. fenframe2a.BackgroundColor3=Color3.new(200/255,200/255,200/255)
  258. fenframe2a.BackgroundTransparency=0.3
  259. fenframe2a.BorderSizePixel=5
  260. fenframe2a.BorderColor3=Color3.new(1,1,1)
  261. fenframe2a.Size=UDim2.new(0.05, 0, 0.1, 0)
  262. fenframe2a.Position=UDim2.new(0.425,0,0.7,0)
  263. fenframe2a.Text=""
  264. local fenframe3=it("TextLabel")
  265. fenframe3.Parent=fengui
  266. fenframe3.BackgroundColor3=Color3.new(50/255,50/255,50/255)
  267. fenframe3.BackgroundTransparency=0.3
  268. fenframe3.BorderSizePixel=5
  269. fenframe3.BorderColor3=Color3.new(1,1,1)
  270. fenframe3.Size=UDim2.new(0.05, 0, 0.1, 0)
  271. fenframe3.Position=UDim2.new(0.525,0,0.7,0)
  272. fenframe3.Text="C"
  273. fenframe3.TextWrapped=true
  274. fenframe3.FontSize=7
  275. fenframe3.TextColor3=Color3.new(1,1,1)
  276. local fenframe3a=it("TextLabel")
  277. fenframe3a.Parent=fengui
  278. fenframe3a.BackgroundColor3=Color3.new(200/255,200/255,200/255)
  279. fenframe3a.BackgroundTransparency=0.3
  280. fenframe3a.BorderSizePixel=5
  281. fenframe3a.BorderColor3=Color3.new(1,1,1)
  282. fenframe3a.Size=UDim2.new(0.05, 0, 0.1, 0)
  283. fenframe3a.Position=UDim2.new(0.525,0,0.7,0)
  284. fenframe3a.Text=""
  285. local fenframe4=it("TextLabel")
  286. fenframe4.Parent=fengui
  287. fenframe4.BackgroundColor3=Color3.new(50/255,50/255,50/255)
  288. fenframe4.BackgroundTransparency=0.3
  289. fenframe4.BorderSizePixel=5
  290. fenframe4.BorderColor3=Color3.new(1,1,1)
  291. fenframe4.Size=UDim2.new(0.05, 0, 0.1, 0)
  292. fenframe4.Position=UDim2.new(0.625,0,0.7,0)
  293. fenframe4.Text="V"
  294. fenframe4.TextWrapped=true
  295. fenframe4.FontSize=7
  296. fenframe4.TextColor3=Color3.new(1,1,1)
  297. local fenframe4a=it("TextLabel")
  298. fenframe4a.Parent=fengui
  299. fenframe4a.BackgroundColor3=Color3.new(200/255,200/255,200/255)
  300. fenframe4a.BackgroundTransparency=0.3
  301. fenframe4a.BorderSizePixel=5
  302. fenframe4a.BorderColor3=Color3.new(1,1,1)
  303. fenframe4a.Size=UDim2.new(0.05, 0, 0.1, 0)
  304. fenframe4a.Position=UDim2.new(0.625,0,0.7,0)
  305. fenframe4a.Text=""
  306.  
  307. fenframe1a.Size=UDim2.new(0,0,0.1,0)
  308. fenframe2a.Size=UDim2.new(0,0,0.1,0)
  309. fenframe3a.Size=UDim2.new(0,0,0.1,0)
  310. fenframe4a.Size=UDim2.new(0,0,0.1,0)
  311.  
  312. function CreateWeld(Parent, Part0, Part1, C0, C1)
  313. local Weld = Create("Weld"){
  314. Parent = Parent,
  315. Part0 = Part0,
  316. Part1 = Part1,
  317. C0 = C0,
  318. C1 = C1,
  319. }
  320. return Weld
  321. end
  322.  
  323. function rayCast(Position, Direction, Range, Ignore)
  324. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  325. end
  326.  
  327. function CreateSound(id, par, vol, pit)
  328. coroutine.resume(coroutine.create(function()
  329. local sou = Instance.new("Sound", par or workspace)
  330. sou.Volume = vol
  331. sou.Pitch = pit or 1
  332. sou.SoundId = id
  333. swait()
  334. sou:play()
  335. game:GetService("Debris"):AddItem(sou, 6)
  336. end))
  337. end
  338.  
  339. local function getclosest(obj, distance)
  340. local last, lastx = distance + 1
  341. for i, v in pairs(workspace:GetChildren()) do
  342. if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  343. local t = v.Torso
  344. local dist = (t.Position - obj.Position).magnitude
  345. if dist <= distance then
  346. if dist < last then
  347. last = dist
  348. lastx = v
  349. end
  350. end
  351. end
  352. end
  353. return lastx
  354. end
  355.  
  356. --[[BUILD]]--
  357. Handle=CreatePart(m,Enum.Material.SmoothPlastic,0,1,"Black","FakeHandle",Vector3.new(0.209999964, 2.57000017, 0.210000098))
  358. 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))
  359. CreateMesh("CylinderMesh",Handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  360. FakeHandle=CreatePart(m,Enum.Material.SmoothPlastic,0,1,"Black","FakeHandle",Vector3.new(0.209999964, 2.57000017, 0.210000098))
  361. 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))
  362. CreateMesh("CylinderMesh",FakeHandle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  363. Hitbox=CreatePart(m,Enum.Material.SmoothPlastic,0,1,"Black","Hitbox",Vector3.new(3, 5.2300005, 2.70000005))
  364. 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))
  365. CreateMesh("CylinderMesh",Hitbox,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  366. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(3, 2.79999995, 0.399999976))
  367. 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))
  368. CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(3, 3, 1))
  369. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(3, 2.79999995, 0.399999976))
  370. 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))
  371. CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(3, 3, 1))
  372. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(3, 2.79999995, 0.399999976))
  373. 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))
  374. 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))
  375. Part=CreatePart(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(3, 1.16000009, 2.70000005))
  376. 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))
  377. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  378. Part=CreatePart(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(3, 1.16000009, 2.70000005))
  379. 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))
  380. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  381. Part=CreatePart(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(1.63, 0.56000042, 1.28000009))
  382. 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))
  383. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  384. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.15999997, 1.44999993, 0.399999976))
  385. 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))
  386. CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(2, 2, 15))
  387. Part=CreatePart(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(1.63, 0.56000042, 1.28000009))
  388. 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))
  389. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  390. Part=CreatePart(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(1.63, 0.56000042, 1.28000009))
  391. 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))
  392. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  393. Part=CreatePart(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.209999964, 9.44000053, 0.51000011))
  394. 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))
  395. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  396. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(3, 2.79999995, 0.399999976))
  397. 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))
  398. 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))
  399. Part=CreatePart(m,Enum.Material.SmoothPlastic,0.5,0,"Black","Part",Vector3.new(0.74000001, 0.220000267, 0.360000014))
  400. 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))
  401. CreateMesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  402. Part=CreatePart(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.350000024, 0.56000042, 0.240000129))
  403. 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))
  404. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  405. Part=CreatePart(m,Enum.Material.SmoothPlastic,0.5,0,"Black","Part",Vector3.new(0.74000001, 0.220000267, 0.350000024))
  406. 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))
  407. CreateMesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  408. Part=CreatePart(m,Enum.Material.SmoothPlastic,0.5,0,"Black","Part",Vector3.new(0.74000001, 0.220000267, 0.650000036))
  409. 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))
  410. CreateMesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  411. Part=CreatePart(m,Enum.Material.SmoothPlastic,0.5,0,"Black","Part",Vector3.new(0.74000001, 0.220000267, 0.240000024))
  412. 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))
  413. CreateMesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  414.  
  415.  
  416. for _,c in pairs(m:children()) do
  417. if c.className=="Part" then
  418. table.insert(Hammer,c)
  419. end
  420. end
  421.  
  422. for _,c in pairs(m:children()) do
  423. if c.className=="Weld" then
  424. table.insert(HammerWelds,c)
  425. print(c)
  426. end
  427. end
  428.  
  429.  
  430. --[[DEMONBLADUU]]--
  431. local model2=Instance.new("Model")
  432. model2.Parent=nil
  433. model2.Name="Chakkran"
  434. DBlade={}
  435. DBladeWelds={}
  436. Handle2=CreatePart(model2,Enum.Material.SmoothPlastic,0,1,"Black","FakeHandle2",Vector3.new(0.209999964, 2.69000053, 0.51000011))
  437. 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))
  438. FakeHandle2=CreatePart(model2,Enum.Material.SmoothPlastic,0,1,"Black","FakeHandle2",Vector3.new(0.209999964, 2.69000053, 0.51000011))
  439. 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))
  440. Part=CreatePart(model2,Enum.Material.Plastic,0.20000000298023,0,"Black","Part",Vector3.new(1, 1, 1))
  441. 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))
  442. CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1.20000005))
  443. Part=CreatePart(model2,Enum.Material.SmoothPlastic,0.25,0,"Black","Part",Vector3.new(0.219999999, 0.439999789, 0.730000019))
  444. 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))
  445. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1))
  446. Part=CreatePart(model2,Enum.Material.SmoothPlastic,0.25,0,"Black","Part",Vector3.new(0.219999999, 0.439999789, 0.730000019))
  447. 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))
  448. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1))
  449. Part=CreatePart(model2,Enum.Material.SmoothPlastic,0.25,0,"Black","Part",Vector3.new(0.219999999, 4.19999981, 0.430000037))
  450. 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))
  451. CreateMesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1))
  452. Part=CreatePart(model2,Enum.Material.SmoothPlastic,0.25,0,"Black","Part",Vector3.new(0.219999999, 6.19999981, 0.430000037))
  453. 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))
  454. CreateMesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1))
  455. Part=CreatePart(model2,Enum.Material.SmoothPlastic,0.25,0,"Black","Part",Vector3.new(0.219999999, 6.0999999, 0.430000037))
  456. 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))
  457. CreateMesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1))
  458. Part=CreatePart(model2,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(1, 1, 1))
  459. 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))
  460. CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(1, 1, 3))
  461. Part=CreatePart(model2,Enum.Material.SmoothPlastic,0.25,0,"Black","Part",Vector3.new(0.219999999, 0.439999789, 0.730000019))
  462. 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))
  463. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1))
  464. Part=CreatePart(model2,Enum.Material.SmoothPlastic,0.25,0,"Black","Part",Vector3.new(0.219999999, 0.439999789, 0.730000019))
  465. 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))
  466. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1))
  467. Part=CreatePart(model2,Enum.Material.SmoothPlastic,0.25,0,"Black","Part",Vector3.new(0.219999999, 2.29999971, 0.430000037))
  468. 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))
  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,0,"Black","Part",Vector3.new(0.350000024, 0.56000042, 0.240000129))
  471. 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))
  472. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  473. Part=CreatePart(model2,Enum.Material.SmoothPlastic,0.25,0,"Black","Part",Vector3.new(0.219999999, 0.439999789, 0.730000019))
  474. 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))
  475. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1))
  476. Part=CreatePart(model2,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.209999964, 2.69000053, 0.51000011))
  477. 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))
  478. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  479. Part=CreatePart(model2,Enum.Material.SmoothPlastic,0.25,0,"Black","Part",Vector3.new(0.219999999, 0.439999789, 0.730000019))
  480. 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))
  481. CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1))
  482. Part=CreatePart(model2,Enum.Material.SmoothPlastic,0.25,0,"Black","Part",Vector3.new(0.219999999, 0.249999881, 0.200000033))
  483. 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))
  484. CreateMesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5))
  485. Part=CreatePart(model2,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.350000024, 0.56000042, 0.240000129))
  486. 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))
  487. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  488. Part=CreatePart(model2,Enum.Material.SmoothPlastic,0.25,0,"Black","Part",Vector3.new(0.219999999, 0.21999988, 0.200000033))
  489. 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))
  490. CreateMesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.5, 0.5))
  491. Part=CreatePart(model2,Enum.Material.SmoothPlastic,0.25,0,"Black","Part",Vector3.new(0.219999999, 0.21999988, 0.200000033))
  492. 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))
  493. CreateMesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.5, 0.5))
  494. Part=CreatePart(model2,Enum.Material.SmoothPlastic,0.25,0,"Black","Part",Vector3.new(0.219999999, 0.249999881, 0.200000033))
  495. 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))
  496. CreateMesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5))
  497. Part=CreatePart(model2,Enum.Material.SmoothPlastic,0.25,0,"Black","Part",Vector3.new(0.219999999, 0.379999876, 0.200000033))
  498. 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))
  499. CreateMesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5))
  500. Part=CreatePart(model2,Enum.Material.SmoothPlastic,0.25,0,"Black","Part",Vector3.new(0.219999999, 0.379999876, 0.200000033))
  501. 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))
  502. CreateMesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5))
  503. Part=CreatePart(model2,Enum.Material.SmoothPlastic,0.25,0,"Black","Part",Vector3.new(0.219999999, 2.29999971, 0.430000037))
  504. 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))
  505. CreateMesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1))
  506. Part=CreatePart(model2,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.350000024, 0.56000042, 0.240000129))
  507. 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))
  508. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  509. Part=CreatePart(model2,Enum.Material.SmoothPlastic,0.25,0,"Black","Part",Vector3.new(0.219999999, 0.309999585, 0.430000037))
  510. 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))
  511. CreateMesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1))
  512. Part=CreatePart(model2,Enum.Material.SmoothPlastic,0.25,0,"Black","Part",Vector3.new(0.219999999, 0.249999881, 0.200000033))
  513. 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))
  514. CreateMesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5))
  515. Part=CreatePart(model2,Enum.Material.SmoothPlastic,0.25,0,"Black","Part",Vector3.new(0.219999999, 0.249999881, 0.200000033))
  516. 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))
  517. CreateMesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 0.5))
  518. Hitbox2=CreatePart(model2,Enum.Material.SmoothPlastic,0.25,1,"Black","Hitbox2",Vector3.new(0.219999999, 7.46999931, 2.97999978))
  519. 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))
  520. CreateMesh("SpecialMesh",Hitbox2,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1))
  521. for _,c in pairs(model2:children()) do
  522. if c.className=="Part" then
  523. table.insert(DBlade,c)
  524. end
  525. end
  526.  
  527. for _,c in pairs(model2:children()) do
  528. if c.className=="Weld" then
  529. table.insert(DBladeWelds,c)
  530. print(c)
  531. end
  532. end
  533.  
  534. --[[DOMIJ]]--
  535.  
  536. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  537. if hit.Parent == nil then
  538. return
  539. end
  540. local h = hit.Parent:FindFirstChild("Humanoid")
  541. for _, v in pairs(hit.Parent:children()) do
  542. if v:IsA("Humanoid") then
  543. h = v
  544. end
  545. end
  546. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  547. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  548. if hit.Parent.DebounceHit.Value == true then
  549. return
  550. end
  551. end
  552. local c = Create("ObjectValue"){
  553. Name = "creator",
  554. Value = game:service("Players").LocalPlayer,
  555. Parent = h,
  556. }
  557. game:GetService("Debris"):AddItem(c, .5)
  558. if HitSound ~= nil and HitPitch ~= nil then
  559. CreateSound(HitSound, hit, 1, HitPitch)
  560. end
  561. local Damage = math.random(minim, maxim)
  562. local blocked = false
  563. local block = hit.Parent:findFirstChild("Block")
  564. if block ~= nil then
  565. if block.className == "IntValue" then
  566. if block.Value > 0 then
  567. blocked = true
  568. block.Value = block.Value - 1
  569. print(block.Value)
  570. end
  571. end
  572. end
  573. if blocked == false then
  574. h.Health = h.Health - Damage
  575. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  576. else
  577. h.Health = h.Health - (Damage / 2)
  578. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  579. end
  580. if Type == "Knockdown" then
  581. local hum = hit.Parent.Humanoid
  582. hum.PlatformStand = true
  583. coroutine.resume(coroutine.create(function(HHumanoid)
  584. swait(1)
  585. HHumanoid.PlatformStand = false
  586. end), hum)
  587. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  588. local bodvol = Create("BodyVelocity"){
  589. velocity = angle * knockback,
  590. P = 5000,
  591. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  592. Parent = hit,
  593. }
  594. local rl = Create("BodyAngularVelocity"){
  595. P = 3000,
  596. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  597. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  598. Parent = hit,
  599. }
  600. game:GetService("Debris"):AddItem(bodvol, .5)
  601. game:GetService("Debris"):AddItem(rl, .5)
  602. elseif Type == "Normal" then
  603. local vp = Create("BodyVelocity"){
  604. P = 500,
  605. maxForce = Vector3.new(math.huge, 0, math.huge),
  606. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  607. }
  608. if knockback > 0 then
  609. vp.Parent = hit.Parent.Torso
  610. end
  611. game:GetService("Debris"):AddItem(vp, .5)
  612. elseif Type == "Up" then
  613. local bodyVelocity = Create("BodyVelocity"){
  614. velocity = vt(0, 20, 0),
  615. P = 5000,
  616. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  617. Parent = hit,
  618. }
  619. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  620. elseif Type == "DarkUp" then
  621. coroutine.resume(coroutine.create(function()
  622. for i = 0,1,0.1 do
  623. swait()
  624. BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame,5, 5, 5, 1, 1, 1, .08,1)
  625. end
  626. end))
  627. local bodyVelocity = Create("BodyVelocity"){
  628. velocity = vt(0, 20, 0),
  629. P = 5000,
  630. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  631. Parent = hit,
  632. }
  633. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  634. elseif Type == "Snare" then
  635. local bp = Create("BodyPosition"){
  636. P = 2000,
  637. D = 100,
  638. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  639. position = hit.Parent.Torso.Position,
  640. Parent = hit.Parent.Torso,
  641. }
  642. game:GetService("Debris"):AddItem(bp, 1)
  643. elseif Type == "Freeze" then
  644. local BodPos = Create("BodyPosition"){
  645. P = 50000,
  646. D = 1000,
  647. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  648. position = hit.Parent.Torso.Position,
  649. Parent = hit.Parent.Torso,
  650. }
  651. local BodGy = Create("BodyGyro") {
  652. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  653. P = 20e+003,
  654. Parent = hit.Parent.Torso,
  655. cframe = hit.Parent.Torso.CFrame,
  656. }
  657. hit.Parent.Torso.Anchored = true
  658. coroutine.resume(coroutine.create(function(Part)
  659. swait(1.5)
  660. Part.Anchored = false
  661. end), hit.Parent.Torso)
  662. game:GetService("Debris"):AddItem(BodPos, 3)
  663. game:GetService("Debris"):AddItem(BodGy, 3)
  664. end
  665. local debounce = Create("BoolValue"){
  666. Name = "DebounceHit",
  667. Parent = hit.Parent,
  668. Value = true,
  669. }
  670. game:GetService("Debris"):AddItem(debounce, Delay)
  671. c = Instance.new("ObjectValue")
  672. c.Name = "creator"
  673. c.Value = Player
  674. c.Parent = h
  675. game:GetService("Debris"):AddItem(c, .5)
  676. end
  677. end
  678.  
  679. function ShowDamage(Pos, Text, Time, Color)
  680. local Rate = (1 / 30)
  681. local Pos = (Pos or Vector3.new(0, 0, 0))
  682. local Text = (Text or "")
  683. local Time = (Time or 2)
  684. local Color = (Color or Color3.new(1, 0, 1))
  685. local EffectPart = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
  686. EffectPart.Anchored = true
  687. local BillboardGui = Create("BillboardGui"){
  688. Size = UDim2.new(3, 0, 3, 0),
  689. Adornee = EffectPart,
  690. Parent = EffectPart,
  691. }
  692. local TextLabel = Create("TextLabel"){
  693. BackgroundTransparency = 1,
  694. Size = UDim2.new(1, 0, 1, 0),
  695. Text = Text,
  696. TextColor3 = Color,
  697. TextScaled = true,
  698. Font = Enum.Font.ArialBold,
  699. Parent = BillboardGui,
  700. }
  701. game.Debris:AddItem(EffectPart, (Time + 0.1))
  702. EffectPart.Parent = game:GetService("Workspace")
  703. delay(0, function()
  704. local Frames = (Time / Rate)
  705. for Frame = 1, Frames do
  706. wait(Rate)
  707. local Percent = (Frame / Frames)
  708. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  709. TextLabel.TextTransparency = Percent
  710. end
  711. if EffectPart and EffectPart.Parent then
  712. EffectPart:Destroy()
  713. end
  714. end)
  715. end
  716. function MagniDamage(Part,magni,mindam,maxdam,knock,Type)
  717. for _,c in pairs(workspace:children()) do
  718. local hum=c:findFirstChild("Humanoid")
  719. if hum~=nil then
  720. local head=c:findFirstChild("Torso")
  721. if head~=nil then
  722. local targ=head.Position-Part.Position
  723. local mag=targ.magnitude
  724. if mag<=magni and c.Name~=Player.Name then
  725. --Damagefunc(head,mindam,maxdam,knock,Type,RootPart,.2,1,nil,1)
  726. Damagefunc(head, head, mindam,maxdam, knock, Type, RootPart, .1, "http://www.roblox.com/asset/?id=231917784", 1)
  727. end
  728. end
  729. end
  730. end
  731. end
  732.  
  733. --[[Effect Functions]]--
  734.  
  735. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  736. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  737. prt.Anchored = true
  738. prt.CFrame = cframe
  739. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  740. game:GetService("Debris"):AddItem(prt, 10)
  741. if Type == 1 or Type == nil then
  742. table.insert(Effects, {
  743. prt,
  744. "Block1",
  745. delay,
  746. x3,
  747. y3,
  748. z3,
  749. msh
  750. })
  751. elseif Type == 2 then
  752. table.insert(Effects, {
  753. prt,
  754. "Block2",
  755. delay,
  756. x3,
  757. y3,
  758. z3,
  759. msh
  760. })
  761. end
  762. end
  763.  
  764. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  765. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  766. prt.Anchored = true
  767. prt.CFrame = cframe
  768. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  769. game:GetService("Debris"):AddItem(prt, 10)
  770. table.insert(Effects, {
  771. prt,
  772. "Cylinder",
  773. delay,
  774. x3,
  775. y3,
  776. z3,
  777. msh
  778. })
  779. end
  780.  
  781. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  782. local prt=CreatePart(effect,"SmoothPlastic",0,0,brickcolor,"Effect",vt(.5,.5,.5))--part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  783. prt.Anchored=true
  784. prt.CFrame=cframe
  785. msh=CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  786. game:GetService("Debris"):AddItem(prt,2)
  787. coroutine.resume(coroutine.create(function(Part,Mesh,num)
  788. for i=0,1,delay do
  789. swait()
  790. Part.Transparency=i
  791. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  792. end
  793. Part.Parent=nil
  794. end),prt,msh,(math.random(0,1)+math.random())/5)
  795. end
  796.  
  797. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  798. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  799. prt.Anchored = true
  800. prt.CFrame = cframe
  801. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  802. game:GetService("Debris"):AddItem(prt, 10)
  803. table.insert(Effects, {
  804. prt,
  805. "Cylinder",
  806. delay,
  807. x3,
  808. y3,
  809. z3,
  810. msh
  811. })
  812. end
  813.  
  814. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  815. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  816. prt.Anchored = true
  817. prt.CFrame = cframe
  818. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  819. game:GetService("Debris"):AddItem(prt, 10)
  820. table.insert(Effects, {
  821. prt,
  822. "Cylinder",
  823. delay,
  824. x3,
  825. y3,
  826. z3,
  827. msh
  828. })
  829. end
  830.  
  831. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  832. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  833. prt.Anchored = true
  834. prt.CFrame = cframe
  835. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  836. game:GetService("Debris"):AddItem(prt, 10)
  837. table.insert(Effects, {
  838. prt,
  839. "Cylinder",
  840. delay,
  841. x3,
  842. y3,
  843. z3,
  844. msh
  845. })
  846. end
  847.  
  848. function CloudEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  849. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  850. prt.Anchored = true
  851. prt.CFrame = cframe
  852. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://1095708", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  853. game:GetService("Debris"):AddItem(prt, 10)
  854. table.insert(Effects, {
  855. prt,
  856. "Cylinder",
  857. delay,
  858. x3,
  859. y3,
  860. z3,
  861. msh
  862. })
  863. end
  864.  
  865. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  866. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  867. prt.Anchored = true
  868. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  869. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  870. local num = math.random(10, 50) / 1000
  871. game:GetService("Debris"):AddItem(prt, 10)
  872. table.insert(Effects, {
  873. prt,
  874. "Shatter",
  875. num,
  876. prt.CFrame,
  877. math.random() - math.random(),
  878. 0,
  879. math.random(50, 100) / 100
  880. })
  881. end
  882. --[[ V = The CFraming of the part]]--
  883. --[[EXAMPLE: ExampleWeld.C0 = clerp(ExampleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3) ]]--
  884. --[[ ^ = The Rotations of the part]]--
  885.  
  886. --[[Attack Function]]--
  887. function battackone()
  888. attack=true
  889. local con = Hitbox2.Touched:connect(function(hit)
  890. Damagefunc(Hitbox2, hit, 5, 13, math.random(1, 5), "Normal", RootPart, .2, "rbxassetid://199149221", .8)
  891. end)
  892. CreateSound("http://roblox.com/asset/?id=189505665",Hitbox2,1,.85)
  893. for i = 0, 1, 0.1 do
  894. swait()
  895. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), .3)
  896. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(100)), .3)
  897. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), .3)
  898. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), .3)
  899. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), .3)
  900. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  901. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), .3)
  902. end
  903. CreateSound("http://roblox.com/asset/?id=189505662",Hitbox2,1,1)
  904. for i = 0, 1, 0.1 do
  905. swait()
  906. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), .3)
  907. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(-80)), .3)
  908. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(70)), .3)
  909. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(-90)), .3)
  910. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), .3)
  911. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  912. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(100), math.rad(0)), .3)
  913. end
  914. attack=false
  915. con:disconnect()
  916. end
  917. function HadesKnife()
  918. attack=true
  919. local con = Hitbox2.Touched:connect(function(hit)
  920. Damagefunc(Hitbox2, hit, 5, 10, math.random(1, 5), "Knockdown", RootPart, .2, "rbxassetid://199149221", .8)
  921. end)
  922. CreateSound("http://www.roblox.com/asset/?id=233856146",Torso,1,1)
  923. for i = 0, 1, 0.1 do
  924. swait()
  925. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), .3)
  926. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-80)), .3)
  927. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), .3)
  928. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), .3)
  929. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), .3)
  930. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  931. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(100), math.rad(0)), .3)
  932. end
  933. CreateSound("http://roblox.com/asset/?id=189505662",Hitbox2,1,1.2)
  934. for i = 0, 1, 0.1 do
  935. swait()
  936. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0-360*i)), .3)
  937. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), .3)
  938. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), .3)
  939. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-50)), .3)
  940. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), .3)
  941. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  942. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), .3)
  943. end
  944. CreateSound("http://roblox.com/asset/?id=189505662",Hitbox2,1,1.2)
  945. for i = 0, 1, 0.1 do
  946. swait()
  947. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0-360*i)), .3)
  948. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(30), math.rad(0), math.rad(80)), .3)
  949. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), .3)
  950. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), .3)
  951. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), .3)
  952. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  953. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), .3)
  954. end
  955. CreateSound("http://roblox.com/asset/?id=189505662",Hitbox2,1,1.2)
  956. for i = 0, 1, 0.1 do
  957. swait()
  958. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(40),math.rad(0),math.rad(-70)),0.3)
  959. Torso.Neck.C0 = clerp(Torso.Neck.C0,NeckCF *angles(math.rad(-20),math.rad(-30),math.rad(70)),.3)
  960. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)),0.3)
  961. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-60)),0.3)
  962. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(60),math.rad(-30)),0.3)
  963. LH.C0=clerp(LH.C0,cf(-1,.2,0)*angles(math.rad(0),math.rad(-40),math.rad(-60)),0.3)
  964. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), .3)
  965. end
  966. con:disconnect()
  967. attack=false
  968. end
  969. function HellFromAbove()
  970. attack=true
  971. Humanoid.AutoRotate=false
  972. for i = 0,1,0.1 do
  973. swait()
  974. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(40),math.rad(0),math.rad(-70)),0.3)
  975. Torso.Neck.C0 = clerp(Torso.Neck.C0,NeckCF *angles(math.rad(-20),math.rad(-30),math.rad(70)),.3)
  976. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)),0.3)
  977. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-60)),0.3)
  978. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(60),math.rad(-30)),0.3)
  979. LH.C0=clerp(LH.C0,cf(-1,.2,0)*angles(math.rad(0),math.rad(-40),math.rad(-60)),0.3)
  980. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), .3)
  981. end
  982. 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,.05)
  983. 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,.5,.5,130,.05)
  984. CreateSound("http://roblox.com/asset/?id=231917970",RootPart,1,1)
  985. for i=0,1,0.1 do
  986. swait()
  987. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100)*angles(math.rad(0),math.rad(0),math.rad(-55)),.37)
  988. Torso.Neck.C0=clerp(Torso.Neck.C0,NeckCF*angles(math.rad(-30),math.rad(0),math.rad(0)),.37)
  989. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(15),math.rad(0),math.rad(15)),.37)
  990. 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)),.37)
  991. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(30), math.rad(0)), .35)
  992. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(30), math.rad(0)), .35)
  993. FakeHandleWeld.C0=clerp(FakeHandleWeld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.37)
  994. end
  995. coroutine.resume(coroutine.create(function()
  996. invisle()
  997. end))
  998.  
  999. end
  1000. spread=0
  1001. range=100
  1002. rangepower=25
  1003. function shoottrail3(mouse,baseprt)
  1004. coroutine.resume(coroutine.create(function(v)
  1005. local spreadvector = (Vector3.new(math.random(-spread,spread),math.random(-spread,spread),math.random(-spread,spread))) * (baseprt.Position-mouse.Hit.p).magnitude/100
  1006. local dir = CFrame.new((baseprt.Position+mouse.Hit.p)/2,mouse.Hit.p+spreadvector)
  1007. local hit,pos = rayCast(baseprt.Position,dir.lookVector,10,Character)
  1008. local rangepos = range*50
  1009. local function drawtrail(From,To)
  1010. local effectsmsh = Instance.new("SpecialMesh")
  1011. effectsmsh.Scale = Vector3.new(1,1,1)
  1012. effectsmsh.Name = "Mesh"
  1013. effectsmsh.MeshType = "Sphere"
  1014. effectsmsh.Scale=Vector3.new(5,5,5)
  1015. local effectsg = Instance.new("Part")
  1016. effectsg.formFactor = 3
  1017. effectsg.CanCollide = false
  1018. effectsg.Name = "Eff"
  1019. effectsg.Locked = true
  1020. effectsg.Anchored = true
  1021. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  1022. effectsg.Parent = effect
  1023. effectsmsh.Parent = effectsg
  1024. effectsg.BrickColor = BrickColor.new("Black")
  1025. effectsg.Reflectance = 0.25
  1026. local LP = From
  1027. local point1 = To
  1028. local mg = (LP - point1).magnitude
  1029. effectsmsh.Scale = Vector3.new(20,20,20)
  1030. effectsg.CFrame = CFrame.new((LP+point1)/2,point1) * CFrame.Angles(math.rad(90),0,0)
  1031. coroutine.resume(coroutine.create(function()
  1032. swait()
  1033. effectsg.Parent = nil
  1034. end))
  1035. end
  1036. local newpos = baseprt.Position
  1037. local inc = rangepower/10
  1038. repeat
  1039. swait()
  1040. rangepos = rangepos - 10
  1041. --dir = dir * CFrame.Angles(math.rad(-1),0,0)
  1042. hit,pos = rayCast(newpos,dir.lookVector,inc,Character)
  1043. drawtrail(newpos,pos)
  1044. local list = effect:children()
  1045. local torso = nil
  1046. local dist = 10
  1047. local temp = nil
  1048. local human = nil
  1049. local temp2 = nil
  1050. for x = 1, #list do
  1051. temp2 = list[x]
  1052. if (temp2.className == "Model") and (temp2.Name~=Character.Name) then
  1053. temp = temp2:findFirstChild("Torso")
  1054. human = temp2:findFirstChild("Humanoid")
  1055. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  1056. if (temp.Position - pos).magnitude < dist then
  1057. torso = temp
  1058. dist = (temp.Position - pos).magnitude
  1059. end
  1060. end
  1061. end
  1062. end
  1063. if torso~=nil then
  1064. dir=CFrame.new(pos,torso.Position)
  1065. end
  1066. newpos = newpos + (dir.lookVector * inc)
  1067. if hit ~= nil then
  1068. rangepos = 0
  1069. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  1070. hum = hit.Parent.Humanoid
  1071. tTorso=hit.Parent.Torso
  1072. --Damagefunc1(hit,20,30)
  1073. MagniDamage(hit,10,10,15,0,"Knockdown")
  1074. attackdebounce=false
  1075. --ADmg(hum,hit)
  1076. elseif hit.Parent.Parent ~= nil and hit.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  1077. hum = hit.Parent.Parent.Humanoid
  1078. tTorso=hit.Parent.Parent.Torso
  1079. MagniDamage(hit.Parent.Parent.Torso,10,10,15,0,"Knockdown")
  1080. --Damagefunc1(hit.Parent.Parent.Torso,20,30)
  1081. attackdebounce=false
  1082. --ADmg(hum,hit)
  1083. end
  1084. for i=1,math.random(3,6) do
  1085. BreakEffect(BrickColor.new("Black"),CFrame.new(newpos),0.5,math.random(5,20),0.5)
  1086. end
  1087. CreateSound("http://roblox.com/asset/?id=3264793",hit,1,math.random()+math.random()+1)
  1088. SphereEffect(BrickColor.new("Black"),CFrame.new(newpos),2,2,2,3,3,3,.07)
  1089. BlockEffect(BrickColor.new("Black"),CFrame.new(newpos),2,2,2,2,2,2,.07,1)
  1090. end
  1091. until rangepos <= 0
  1092. end))
  1093.  
  1094. end
  1095.  
  1096.  
  1097. function PlaySound(id, pitch, parent, volume)
  1098. if volume == nil then volume=tonumber(1) end
  1099. local epicsound = Instance.new("Sound")
  1100. epicsound.Name = "Epicosound"
  1101. epicsound.SoundId = "rbxassetid://"..id
  1102. epicsound.Volume = volume
  1103. epicsound.Pitch = pitch
  1104. epicsound.Looped = false
  1105. epicsound.Parent = parent
  1106. wait()
  1107. epicsound:Play()
  1108. game:service'Debris':AddItem(epicsound, 8)
  1109. end
  1110.  
  1111. Shots = {263609809, 263609836, 263609864, 263609874, 263609898}
  1112.  
  1113. Shot = function(part)
  1114. local shot=math.random(1, #Shots)
  1115. PlaySound(Shots[shot], 1, part)
  1116. end
  1117.  
  1118. function invisle()
  1119. invisy=true
  1120. Humanoid.WalkSpeed=30
  1121. coroutine.resume(coroutine.create(function()
  1122. for i, v in pairs(Character:children()) do
  1123. if (v:IsA("BasePart") and v.Name~="HumanoidRootPart") then
  1124. v.Transparency=1
  1125. end
  1126. if (v:IsA("Hat")) then
  1127. v.Handle.Transparency=1
  1128. end
  1129. Head.face.Transparency=1
  1130. end
  1131. for i, v in pairs(model2:children()) do
  1132. if (v:IsA("BasePart")) then
  1133. v.Transparency=1
  1134. Handle2.TransParency=1
  1135. FakeHandle2.TransParency=1
  1136. end
  1137. end
  1138.  
  1139. end))
  1140. coroutine.resume(coroutine.create(function()
  1141. while invisy==true do
  1142. wait(.5)
  1143. for i=1,3 do
  1144. local orb=CreatePart(Character,"SmoothPlastic",0,0.5,BrickColor.new("Black"),"Orb",vt())
  1145. orb.Anchored=true
  1146. Shot(orb)
  1147. local omsh=CreateMesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(10,10,10))
  1148. orb.CFrame=cf(RootPart.Position+vt(math.random(-10,10),1,math.random(-10,10)))
  1149. SphereEffect(BrickColor.new("Black"),orb.CFrame,10,10,10,1,1,1,0.1)
  1150. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1151. wait(1)
  1152. Part.Parent=nil
  1153. local spread=vt(0,0,0)*(Part.Position-(Part.Position+vt(0,-1,0))).magnitude/100
  1154. local TheHit=Part.Position+vt(0,-1,0)
  1155. local MouseLook=cf((Part.Position+TheHit)/2,TheHit+spread)
  1156. local hit,pos = rayCast(Part.Position,MouseLook.lookVector,999,Character)
  1157. local mag=(Part.Position-pos).magnitude
  1158. 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)
  1159. --MagicBlock(BrickColor.new("White"),Part.CFrame,8,8,8,0.5,0.5,0.5,0.1)
  1160. --MagicBlock(BrickColor.new("Toothpaste"),cf(pos),15,15,15,6,6,6,0.1)
  1161. 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)
  1162. local ref=CreatePart(effect,"SmoothPlastic",0,1,BrickColor.new("Black"),"Effect",vt())
  1163. ref.CFrame=cf(pos)
  1164. CreateSound("http://roblox.com/asset/?id=231917788",ref,1,1.4)
  1165. coroutine.resume(coroutine.create(function(Part)
  1166. wait(1)
  1167. Part.Parent=nil
  1168. end),ref)
  1169. MagniDamage(ref,15,5,10,0,"Normal")
  1170. if hit~=nil then
  1171. --Damagefunc(ref,20,40,1,"Knockdown",RootPart,0)
  1172. end
  1173. end),orb,omsh)
  1174. end
  1175. wait(0.5)
  1176. local n=2
  1177. for i=0,1,0.1 do
  1178. wait()
  1179. --[[Neck.C0=cf(0,1,0)*euler(0.4-0.6*i*n,0,0)
  1180. RW.C0=cf(1.5,0.5,0)*euler(3.14-3.14*i*n,0,0.3*i*n)
  1181. RW.C1=cf(0,0.5,0)*euler(0,0,0)
  1182. LW.C0=cf(-1.5,0.5,0)*euler(-0.2+0.2*i*n,0,-0.3)
  1183. LW.C1=cf(0,0.5,0)*euler(0,0,0)]]
  1184. n=n-0.1
  1185. end
  1186. 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,.05)
  1187. end
  1188. end))
  1189. coroutine.resume(coroutine.create(function()
  1190. while invisy==true do
  1191. wait(.1)
  1192. Torso.Velocity=RootPart.CFrame.lookVector*50
  1193. 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,.5,.5,.5,.05)
  1194. end
  1195. end))
  1196. for i=1,100,1 do
  1197. wait()
  1198. end
  1199. 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,.05)
  1200. 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,.5,.5,130,.05)
  1201. 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,.05,1)
  1202. CreateSound("http://roblox.com/asset/?id=231917806",Torso,1,1)
  1203. MagniDamage(Hitbox,10,15,25,10,"Normal")
  1204. coroutine.resume(coroutine.create(function()
  1205. for i, v in pairs(Character:children()) do
  1206. if (v:IsA("BasePart") and v.Name~="HumanoidRootPart") then
  1207. v.Transparency=0
  1208. end
  1209. if (v:IsA("Hat")) then
  1210. v.Handle.Transparency=0
  1211. end
  1212. Head.face.Transparency=0
  1213. end
  1214. for i, v in pairs(model2:children()) do
  1215. if (v:IsA("BasePart")) then
  1216. v.Transparency=0
  1217. end
  1218. end
  1219. Hitbox2.Transparency=1
  1220. Handle2.Transparency=1
  1221. FakeHandle2.Transparency=1
  1222. end))
  1223. Humanoid.WalkSpeed=16
  1224. Humanoid.AutoRotate=true
  1225. attack=false
  1226. invisy=false
  1227. end
  1228.  
  1229. function battacktwo()
  1230. attack=true
  1231. local con = Hitbox2.Touched:connect(function(hit)
  1232. Damagefunc(Hitbox2, hit, 5, 13, math.random(1, 5), "Normal", RootPart, .2, "rbxassetid://199149221", .8)
  1233. end)
  1234. CreateSound("http://roblox.com/asset/?id=320557453",Handle2,1,1)
  1235. for i = 0, 1, 0.1 do
  1236. swait()
  1237. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), .3)
  1238. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-80)), .3)
  1239. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), .3)
  1240. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), .3)
  1241. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), .3)
  1242. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1243. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(100), math.rad(0)), .3)
  1244. end
  1245. CreateSound("http://roblox.com/asset/?id=189505639",Hitbox2,1,.85)
  1246. for i = 0, 1, 0.1 do
  1247. swait()
  1248. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), .3)
  1249. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), .3)
  1250. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), .3)
  1251. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), .3)
  1252. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), .3)
  1253. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1254. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), .3)
  1255. end
  1256. attack=false
  1257. con:disconnect()
  1258. end
  1259. function HadesArrow()
  1260. attack=true
  1261. CreateSound("http://www.roblox.com/asset/?id=233856146",Torso,1,1)
  1262. for i = 0, 1, 0.1 do
  1263. swait()
  1264. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), .3)
  1265. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(100)), .3)
  1266. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), .3)
  1267. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), .3)
  1268. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), .3)
  1269. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1270. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), .3)
  1271. end
  1272. for i = 0, 1, 0.1 do
  1273. swait()
  1274. BlockEffect(BrickColor.new("Black"),LeftArm.CFrame*cf(0,0,0),1,1,1,1,1,1,0.05)
  1275. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), .3)
  1276. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(100)), .3)
  1277. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), .3)
  1278. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), .3)
  1279. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), .3)
  1280. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1281. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), .3)
  1282. end
  1283. shoottrail3(mouse,LeftArm)
  1284. attack=false
  1285. end
  1286.  
  1287. function battackthree()
  1288. attack=true
  1289. CreateSound("http://www.roblox.com/asset/?id=233856146",Torso,1,1)
  1290. for i = 0, 1, 0.1 do
  1291. swait()
  1292. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-100)), .3)
  1293. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(100)), .3)
  1294. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), .3)
  1295. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), .3)
  1296. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), .3)
  1297. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1298. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), .3)
  1299. end
  1300. coroutine.resume(coroutine.create(function()
  1301. for i = 1,1,1 do
  1302. swait()
  1303. local ef=CreatePart(effect,"SmoothPlastic",0,1,BrickColor.new("Black"),"Effect",vt())
  1304. CreateSound("http://www.roblox.com/asset/?id=192410089",ef,1,1)
  1305. ef.Anchored=true
  1306. ef.CFrame=RootPart.CFrame*cf(0,0,-7.5)
  1307. MagniDamage(ef,7,10,15,10,"Knockdown")
  1308. SphereEffect(BrickColor.new("Black"),RootPart.CFrame*cf(0,0,-7.5),1,1,1,5,5,5,0.05)
  1309. game:GetService("Debris"):AddItem(ef,.5)
  1310. WaveEffect(BrickColor.new("Black"),RootPart.CFrame*cf(0,-2,-7.5),1,1,1,1,1,1,0.08)
  1311. end
  1312. end))
  1313. for i = 0, 1, 0.1 do
  1314. swait()
  1315. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
  1316. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(10)), .3)
  1317. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(90)), .3)
  1318. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), .3)
  1319. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), .3)
  1320. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1321. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-90)), .3)
  1322. end
  1323. attack=false
  1324. end
  1325.  
  1326.  
  1327. function attackone()
  1328. attack = true
  1329. CreateSound("http://roblox.com/asset/?id=320557453",Handle,1,1)
  1330. local con = Hitbox.Touched:connect(function(hit)
  1331. Damagefunc(Hitbox, hit, 5, 13, math.random(5, 10), "Normal", RootPart, .2, "rbxassetid://199149221", .8)
  1332. end)
  1333. for i = 0, 1, 0.1 do
  1334. swait()
  1335. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(-20), math.rad(-80)), .3)
  1336. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(80)), .3)
  1337. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(50)), .3)
  1338. LW.C0 = clerp(LW.C0, CFrame.new(-.8, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(80)), .3)
  1339. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1340. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1341. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(30), math.rad(20), math.rad(90)), .3)
  1342. end
  1343. CreateSound("http://roblox.com/asset/?id=377357731",Handle,1,1)
  1344. for i = 0, 1, 0.1 do
  1345. swait()
  1346. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(20), math.rad(80)), .3)
  1347. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(-80)), .3)
  1348. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(100), math.rad(130)), .3)
  1349. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), .3)
  1350. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1351. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1352. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(90), math.rad(90), math.rad(180)), .3)
  1353. end
  1354. con:disconnect()
  1355. attack = false
  1356. end
  1357. function attacktwo()
  1358. attack = true
  1359. local con = Hitbox.Touched:connect(function(hit)
  1360. Damagefunc(Hitbox, hit, 5, 13, math.random(1, 5), "Normal", RootPart, .2, "rbxassetid://199149221", .8)
  1361. end)
  1362. CreateSound("http://roblox.com/asset/?id=320557563",Handle,1,1)
  1363. for i = 0, 1, 0.1 do
  1364. swait()
  1365. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(20), math.rad(80)), .3)
  1366. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(-80)), .3)
  1367. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(100), math.rad(130)), .3)
  1368. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), .3)
  1369. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1370. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1371. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(90), math.rad(90), math.rad(180)), .3)
  1372. end
  1373. CreateSound("http://roblox.com/asset/?id=377357731",Handle,1,1.1)
  1374. for i = 0, 1, 0.1 do
  1375. swait()
  1376. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(-20), math.rad(-80)), .3)
  1377. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(80)), .3)
  1378. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(50)), .3)
  1379. LW.C0 = clerp(LW.C0, CFrame.new(-.8, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(80)), .3)
  1380. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1381. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1382. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(30), math.rad(20), math.rad(90)), .3)
  1383. end
  1384. con:disconnect()
  1385. attack = false
  1386. end
  1387.  
  1388. function attackthree()
  1389. attack = true
  1390. local con = Hitbox.Touched:connect(function(hit)
  1391. Damagefunc(Hitbox, hit, 5, 13, math.random(1, 10), "Knockdown", RootPart, .2, "rbxassetid://199149221", .8)
  1392. end)
  1393. CreateSound("http://roblox.com/asset/?id=320557518",Handle,1,1)
  1394. for i = 0, 1, 0.1 do
  1395. swait()
  1396. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  1397. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  1398. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), .3)
  1399. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(180), math.rad(50), math.rad(80)), .3)
  1400. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1401. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1402. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), .3)
  1403. end
  1404. CreateSound("http://roblox.com/asset/?id=377357731",Handle,1,.9)
  1405. for i = 0, 1, 0.5 do
  1406. swait()
  1407. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1408. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1409. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(30), math.rad(0)), .3)
  1410. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(50), math.rad(80)), .3)
  1411. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1412. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1413. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), .3)
  1414. end
  1415. for i = 0, 1, 0.1 do
  1416. swait()
  1417. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1418. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1419. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), .3)
  1420. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), .3)
  1421. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1422. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1423. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), .3)
  1424. end
  1425. con:disconnect()
  1426. CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, .5, .5, .5, .05)
  1427. attack = false
  1428. end
  1429.  
  1430. function BlackDeath()
  1431. attack=true
  1432. CreateSound("http://www.roblox.com/asset/?id=169445046",Handle,1,1)
  1433. for i = 0,1,.1 do
  1434. swait()
  1435. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), .3)
  1436. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(80)), .3)
  1437. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), .3)
  1438. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), .3)
  1439. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), .3)
  1440. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1441. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), .3)
  1442. end
  1443. for i = 0,1,.1 do
  1444. swait()
  1445. BlockEffect(BrickColor.new("Black"),LeftArm.CFrame,5,5,5,1,1,1,0.07)
  1446. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1447. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1448. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), .3)
  1449. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-180)), .3)
  1450. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), .3)
  1451. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1452. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), .3)
  1453. end
  1454. n=2
  1455. local cf2=RootPart.CFrame*cf(0,500,-20)
  1456. local ref=CreatePart(effect,"SmoothPlastic",0,1,BrickColor.new("Navy blue"),"Effect",vt())
  1457. ref.CFrame=cf2
  1458. ref.Anchored=true
  1459. local TheHit=ref.Position+vt(0,-1,0)
  1460. local MouseLook=cf((ref.Position+TheHit)/2,TheHit)
  1461. local hit,pos = rayCast(ref.Position,MouseLook.lookVector,999,Character)
  1462. local ref2=CreatePart(effect,"SmoothPlastic",0,1,BrickColor.new("Navy blue"),"Effect",vt())
  1463. ref2.CFrame=cf(pos)
  1464. ref2.Anchored=true
  1465. local mag=(ref.Position-pos).magnitude
  1466. 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)
  1467. SphereEffect(BrickColor.new("Black"),ref2.CFrame,15,15,15,3,3,3,0.02)
  1468. BlockEffect(BrickColor.new("Black"),ref2.CFrame,15,15,15,2,2,2,0.02)
  1469. WaveEffect(BrickColor.new("Black"),ref2.CFrame,5,5,5,2,2,2,0.05)
  1470. RingEffect(BrickColor.new("Black"),cf(ref2.Position)*angles(1.57,0,0),5,5,5,1,1,1,0.05)
  1471. MagniDamage(ref2,10,10,15,30,"Knockdown")
  1472. --so("http://roblox.com/asset/?id=144844438",ref2,1,0.8)
  1473. CreateSound("http://roblox.com/asset/?id=144844438",ref2,1,0.9)
  1474. CreateSound("http://roblox.com/asset/?id=144844438",ref2,1,0.8)
  1475. game:GetService("Debris"):AddItem(ref,2)
  1476. game:GetService("Debris"):AddItem(ref2,2)
  1477. for i = 0,1,.1 do
  1478. swait()
  1479. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), .3)
  1480. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(20), math.rad(70)), .3)
  1481. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), .3)
  1482. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-70)), .3)
  1483. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), .3)
  1484. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1485. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), .3)
  1486. end
  1487. attack=false
  1488. end
  1489.  
  1490. function HadesHammer()
  1491. attack = true
  1492. local con = Hitbox.Touched:connect(function(hit)
  1493. Damagefunc(Hitbox, hit, 10, 15, math.random(1, 5), "Normal", RootPart, .2, "rbxassetid://199149221", .8)
  1494. end)
  1495. Humanoid.Jump=true
  1496. CreateSound("http://roblox.com/asset/?id=320557563",Handle,1,1)
  1497. for i = 0, 1, 0.1 do
  1498. swait()
  1499. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  1500. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  1501. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), .3)
  1502. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(180), math.rad(50), math.rad(80)), .3)
  1503. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1504. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1505. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), .3)
  1506. end
  1507. for i = 0, 1, 0.5 do
  1508. swait()
  1509. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1510. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1511. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(30), math.rad(0)), .3)
  1512. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(50), math.rad(80)), .3)
  1513. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1514. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1515. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), .3)
  1516. end
  1517. for i = 0, 1, 0.2 do
  1518. swait()
  1519. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1520. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1521. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), .3)
  1522. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), .3)
  1523. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1524. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1525. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), .3)
  1526. end
  1527. con:disconnect()
  1528. hit=nil
  1529. for i=1,1 do
  1530. if hit==nil then
  1531. swait()
  1532. end
  1533. hit,pos=rayCast(RootPart.Position,RootPart.CFrame.lookVector,6,Character)
  1534. end
  1535. local hit=nil
  1536. while hit==nil do
  1537. swait()
  1538. hit,pos=rayCast(Hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,10,Character)
  1539. end
  1540. hit,pos=rayCast(Hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,10,Character)
  1541. if hit~=nil then
  1542. local ref=CreatePart(effect,"SmoothPlastic",0,0,BrickColor.new("Black"),"Effect",vt())--part(3,effect,0,1,BrickColor.new("Black"),"Effect",vt())
  1543. ref.Anchored=true
  1544. ref.CFrame=cf(pos)
  1545. game:GetService("Debris"):AddItem(ref,3)
  1546. for i=1,10 do
  1547. Col=hit.BrickColor
  1548. 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))
  1549. groundpart.Anchored=true
  1550. groundpart.CanCollide=true
  1551. 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))
  1552. game:GetService("Debris"):AddItem(groundpart,5)
  1553. end
  1554. CreateSound("http://roblox.com/asset/?id=157878578",ref,.6,1.2)
  1555. WaveEffect(hit.BrickColor,cf(pos),1,1,1,.7,.7,.7,0.05)
  1556. MagniDamage(ref,9,9,13,math.random(10,20),"Knockdown")
  1557. end
  1558. CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, .5, 3, .5, .05)
  1559. CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 1, 1, 1, .05)
  1560. attack = false
  1561. end
  1562.  
  1563.  
  1564. function Beast()
  1565. attack=true
  1566. for i = 0, 1, 0.05 do
  1567. swait()
  1568. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  1569. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1570. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .3)
  1571. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .3)
  1572. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1573. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1574. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), .3)
  1575. end
  1576. CreateSound("http://www.roblox.com/asset/?id=192410062",RootPart,1,1)
  1577. num=0
  1578. for i=0,1,0.01 do
  1579. swait()
  1580. if num>=10 then
  1581. num=0
  1582. WaveEffect(BrickColor.new("Black"),cf(Torso.Position)*cf(0,-1,0)*angles(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
  1583. end
  1584. for i=1,2 do
  1585. if math.random(1,5)==1 then
  1586. 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,.5,.5,.5,0.05,1)
  1587. else
  1588. 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,.5,.5,.5,0.05,1)
  1589. end
  1590. end
  1591. num=num+1
  1592. end
  1593. SphereEffect(BrickColor.new("Black"),Hitbox2.CFrame,1,5,1,2,5,2,0.05)
  1594. for i = 0,1,.1 do
  1595. swait()
  1596. end
  1597. model2.Parent=nil
  1598. for i = 0, 1, 0.05 do
  1599. swait()
  1600. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  1601. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1602. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(100), math.rad(90)), .3)
  1603. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(-90)), .3)
  1604. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1605. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1606. -- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), .3)
  1607. end
  1608. CreateSound("http://www.roblox.com/asset/?id=188959258",RootPart,1,1)
  1609. SphereEffect(BrickColor.new("Black"),Hitbox.CFrame,1,5,1,2,5,2,0.05)
  1610. for i = 0,1,.1 do
  1611. swait()
  1612. end
  1613. model2.Parent=nil
  1614. m.Parent=Character
  1615. for i=1,#Hammer do
  1616. Hammer[i].Parent=m
  1617. HammerWelds[i].Parent=Hammer[1]
  1618. end
  1619. for i = 0, 1, 0.05 do
  1620. swait()
  1621. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  1622. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1623. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .3)
  1624. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .3)
  1625. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1626. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1627. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), .3)
  1628. end
  1629. WStyle="Hammer"
  1630. --RingEffect(BrickColor.new("Black"), RootPart.CFrame*cf(0,-1,0), 1, 1, 1, 1, 3, 1, .05)
  1631. attack=false
  1632. end
  1633.  
  1634. function Beauty()
  1635. attack=true
  1636. for i = 0, 1, 0.05 do
  1637. swait()
  1638. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  1639. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1640. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .3)
  1641. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .3)
  1642. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1643. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1644. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), .3)
  1645. end
  1646. num=0
  1647. CreateSound("http://www.roblox.com/asset/?id=192410062",RootPart,1,1)
  1648. for i=0,1,0.01 do
  1649. swait()
  1650. if num>=10 then
  1651. num=0
  1652. WaveEffect(BrickColor.new("Black"),cf(Torso.Position)*cf(0,-1,0)*angles(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
  1653. end
  1654. for i=1,2 do
  1655. if math.random(1,5)==1 then
  1656. 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,.5,.5,.5,0.05,1)
  1657. else
  1658. 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,.5,.5,.5,0.05,1)
  1659. end
  1660. end
  1661. num=num+1
  1662. end
  1663. CreateSound("http://www.roblox.com/asset/?id=243711369",RootPart,1,1)
  1664. SphereEffect(BrickColor.new("Black"),FakeHandle.CFrame,1,5,1,2,5,2,0.05)
  1665. for i = 0,1,.1 do
  1666. swait()
  1667. end
  1668. m.Parent=nil
  1669. for i = 0, 1, 0.05 do
  1670. swait()
  1671. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  1672. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1673. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(100), math.rad(90)), .3)
  1674. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-100), math.rad(-90)), .3)
  1675. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1676. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1677. -- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), .3)
  1678. end
  1679. CreateSound("http://www.roblox.com/asset/?id=188959258",RootPart,1,1)
  1680. SphereEffect(BrickColor.new("Black"),FakeHandle.CFrame,1,5,1,2,5,2,0.05)
  1681. for i = 0,1,.1 do
  1682. swait()
  1683. end
  1684. m.Parent=nil
  1685. model2.Parent=Character
  1686. for i=1,#DBlade do
  1687. DBlade[i].Parent=model2
  1688. DBladeWelds[i].Parent=DBlade[1]
  1689. end
  1690. m.Parent=nil
  1691. for i = 0, 1, 0.05 do
  1692. swait()
  1693. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  1694. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1695. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .3)
  1696. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .3)
  1697. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1698. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1699. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(-3, 3, 1) * LHCF * angles(math.rad(80), math.rad(0), math.rad(-90)), .3)
  1700. end
  1701. WStyle="Blade"
  1702. -- RingEffect(BrickColor.new("Black"), RootPart.CFrame*cf(0,-1,0), 1, 1, 1, 1, 3, 1, .05)
  1703. attack=false
  1704. end
  1705.  
  1706. function HadesStorm()
  1707. attack = true
  1708. CreateSound("http://roblox.com/asset/?id=320557563",Handle,1,1)
  1709. for i = 0, 1, 0.05 do
  1710. swait()
  1711. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), .3)
  1712. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-30), math.rad(0), math.rad(0)), .3)
  1713. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 1, 0) * angles(math.rad(180), math.rad(0), math.rad(-50)), .3)
  1714. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 1, 0) * angles(math.rad(180), math.rad(50), math.rad(80)), .3)
  1715. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(50)), .3)
  1716. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1717. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), .3)
  1718. end
  1719. for i = 0, 1, 0.5 do
  1720. swait()
  1721. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1722. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1723. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(30), math.rad(0)), .3)
  1724. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(50), math.rad(80)), .3)
  1725. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1726. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1727. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), .3)
  1728. end
  1729. for i = 0, 1, 0.2 do
  1730. swait()
  1731. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1732. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1733. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), .3)
  1734. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), .3)
  1735. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1736. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1737. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(-90), math.rad(90), math.rad(90)), .3)
  1738. end
  1739. hit=nil
  1740. for i=1,1 do
  1741. if hit==nil then
  1742. swait()
  1743. end
  1744. hit,pos=rayCast(RootPart.Position,RootPart.CFrame.lookVector,6,Character)
  1745. end
  1746. local hit=nil
  1747. while hit==nil do
  1748. swait()
  1749. hit,pos=rayCast(Hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,10,Character)
  1750. end
  1751. hit,pos=rayCast(Hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,10,Character)
  1752. if hit~=nil then
  1753. local ref=CreatePart(effect,"SmoothPlastic",0,0,BrickColor.new("Black"),"Effect",vt())--part(3,effect,0,1,BrickColor.new("Black"),"Effect",vt())
  1754. ref.Anchored=true
  1755. ref.CFrame=cf(pos)
  1756. game:GetService("Debris"):AddItem(ref,3)
  1757. for i=1,10 do
  1758. Col=hit.BrickColor
  1759. 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))
  1760. groundpart.Anchored=true
  1761. groundpart.CanCollide=true
  1762. 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))
  1763. game:GetService("Debris"):AddItem(groundpart,5)
  1764. end
  1765. CreateSound("http://roblox.com/asset/?id=157878578",ref,.6,1.2)
  1766. WaveEffect(hit.BrickColor,cf(pos),1,1,1,.7,.7,.7,0.05)
  1767. MagniDamage(ref,9,9,13,math.random(10,20),"Knockdown")
  1768. end
  1769. local numb=-8
  1770. local basecf=RootPart.CFrame
  1771. for i=1,4 do
  1772. swait()
  1773. local cf2=basecf*cf(0,0,numb)
  1774. local ref=CreatePart(effect,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  1775. ref.CFrame=cf2
  1776. ref.Anchored=true
  1777. local TheHit=ref.Position+vt(0,-1,0)
  1778. local MouseLook=cf((ref.Position+TheHit)/2,TheHit)
  1779. local hit,pos = rayCast(ref.Position,MouseLook.lookVector,999,Character)
  1780. local ref2=CreatePart(effect,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  1781. ref2.CFrame=cf(pos)
  1782. ref2.Anchored=true
  1783. SphereEffect(BrickColor.new("Really black"),ref2.CFrame,15,15,15,5,5,5,0.02)
  1784. WaveEffect(BrickColor.new("Really black"),ref2.CFrame,5,5,5,2,2,2,0.05)
  1785. MagniDamage(ref2,20,10,15,math.random(5,20),"Normal",RootPart)
  1786. CreateSound("http://www.roblox.com/asset/?id=161006093",ref2,1,0.6)
  1787. game:GetService("Debris"):AddItem(ref,2)
  1788. game:GetService("Debris"):AddItem(ref2,2)
  1789. numb=numb-15
  1790. wait(0.4)
  1791. end
  1792. CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 1, 3, 1, .05)
  1793. CloudEffect(BrickColor.new("Black"), Hitbox.CFrame, 1, 1, 1, 2, 1, 2, .05)
  1794. attack = false
  1795. end
  1796.  
  1797. --[[Attacks]]--
  1798. function ob1u()
  1799.  
  1800. end
  1801. function ob1d()
  1802. if WStyle=="Hammer" then
  1803. if attack == false and attacktype == 1 then
  1804. attacktype=2
  1805. attackone()
  1806. elseif attack == false and attacktype == 2 then
  1807. attacktype=3
  1808. attacktwo()
  1809. elseif attack == false and attacktype == 3 then
  1810. attacktype=1
  1811. attackthree()
  1812. end
  1813. end
  1814. if WStyle == "Blade" then
  1815. if attack == false and attacktype2 == 1 then
  1816. attacktype2=2
  1817. battackone()
  1818. elseif attack == false and attacktype2 == 2 then
  1819. attacktype2=3
  1820. battacktwo()
  1821. elseif attack == false and attacktype2 == 3 then
  1822. attacktype2=1
  1823. battackthree()
  1824. end
  1825. end
  1826. end
  1827.  
  1828. function key(k)
  1829. k = k:lower()
  1830. if attack == false and k == 'z' and zenabled==true and mana>=15 then
  1831. zenabled=false
  1832. mana=mana-15
  1833. coroutine.resume(coroutine.create(function()
  1834. for i=1,0,-0.02 do
  1835. swait()
  1836. fenframe1a.Size=UDim2.new(0.05*i,0,0.1,0)
  1837. end
  1838. zenabled=true
  1839. fenframe1a.Size=UDim2.new(0,0,0.1,0)
  1840. end))
  1841. if WStyle == "Hammer" then
  1842. HadesHammer()
  1843. elseif WStyle == "Blade" then
  1844. HadesKnife()
  1845. end
  1846. elseif attack == false and k == 'x' and mana>=25 and xenabled==true then
  1847. xenabled=false
  1848. mana=mana-25
  1849. coroutine.resume(coroutine.create(function()
  1850. for i=1,0,-0.0025 do
  1851. swait()
  1852. fenframe2a.Size=UDim2.new(0.05*i,0,0.1,0)
  1853. end
  1854. xenabled=true
  1855. fenframe2a.Size=UDim2.new(0,0,0.1,0)
  1856. end))
  1857. if WStyle == "Hammer" then
  1858. BlackDeath()
  1859. elseif WStyle == "Blade" then
  1860. HellFromAbove()
  1861. end
  1862. elseif attack == false and k == 'c' and mana>=35 and cenabled==true then
  1863. cenabled=false
  1864. mana=mana-35
  1865. coroutine.resume(coroutine.create(function()
  1866. for i=1,0,-0.0025 do
  1867. swait()
  1868. fenframe3a.Size=UDim2.new(0.05*i,0,0.1,0)
  1869. end
  1870. cenabled=true
  1871. fenframe3a.Size=UDim2.new(0,0,0.1,0)
  1872. end))
  1873. if WStyle == "Hammer" then
  1874. HadesStorm()
  1875. elseif WStyle == "Blade" then
  1876. HadesArrow()
  1877. end
  1878. elseif attack == false and k == 'v' and mana>=25 and venabled==true then
  1879. venabled=false
  1880. mana=mana-25
  1881. coroutine.resume(coroutine.create(function()
  1882. for i=1,0,-0.025 do
  1883. swait()
  1884. fenframe4a.Size=UDim2.new(0.05*i,0,0.1,0)
  1885. end
  1886. venabled=true
  1887. fenframe4a.Size=UDim2.new(0,0,0.1,0)
  1888. end))
  1889. if WStyle == "Hammer" then
  1890. Beauty()
  1891. elseif WStyle == "Blade" then
  1892. Beast()
  1893. end
  1894. end
  1895. end
  1896.  
  1897.  
  1898. Bin=Instance.new("HopperBin",Player.Backpack)
  1899. Bin.Name = "Soulhammer"
  1900.  
  1901. function ds(mouse)
  1902. end
  1903.  
  1904. function s(mouse)
  1905. print("Selected")
  1906. mouse.Button1Down:connect(function() ob1d(mouse) end)
  1907. mouse.Button1Up:connect(function() ob1u(mouse) end)
  1908. mouse.KeyDown:connect(key)
  1909.  
  1910. end
  1911.  
  1912. Bin.Selected:connect(s)
  1913. Bin.Deselected:connect(ds)
  1914.  
  1915. --[[Movement Detection]]--
  1916.  
  1917. while true do
  1918. swait()
  1919. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1920. velocity = RootPart.Velocity.y
  1921. sine = sine + change
  1922. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1923. if equipped == true or equipped == false then
  1924. if RootPart.Velocity.y > 1 and hit == nil then
  1925. Anim = "Jump"
  1926. if attack == false then
  1927. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1928. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  1929. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), .3)
  1930. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), .3)
  1931. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), .3)
  1932. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1933. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), .3)
  1934. end
  1935. elseif RootPart.Velocity.y < -1 and hit == nil then
  1936. Anim = "Fall"
  1937. if attack == false then
  1938. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1939. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1940. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), .3)
  1941. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), .3)
  1942. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), .3)
  1943. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1944. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), .3)
  1945. end
  1946. elseif Torsovelocity < 1 and hit ~= nil then
  1947. Anim = "Idle"
  1948. if attack == false then
  1949. if WStyle == "Hammer" then
  1950. change = 1
  1951. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), .3)
  1952. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
  1953. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), .3)
  1954. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), .3)
  1955. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), .3)
  1956. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1957. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0.7) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-90)), .3)
  1958. elseif WStyle == "Blade" then
  1959. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .3)
  1960. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .3)
  1961. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(80)), .3)
  1962. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), .3)
  1963. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(0)), .3)
  1964. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1965. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-50)), .3)
  1966. end
  1967. end
  1968. elseif Torsovelocity > 2 and hit ~= nil then
  1969. Anim = "Walk"
  1970. if attack == false then
  1971.  
  1972. if WStyle == "Hammer" then
  1973. change = 1
  1974. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1975. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  1976. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), .3)
  1977. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), .3)
  1978. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1979. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1980. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(70), math.rad(0), math.rad(180)), .3)
  1981. elseif WStyle == "Blade" then
  1982. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-0)), .3)
  1983. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1984. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(80)), .3)
  1985. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), .3)
  1986. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1987. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1988. FakeHandle2Weld.C0 = clerp(FakeHandle2Weld.C0, cf(0, 0, 0) * LHCF * angles(math.rad(0), math.rad(90), math.rad(-50)), .3)
  1989. end
  1990. end
  1991. end
  1992. end
  1993. if #Effects > 0 then
  1994. for e = 1, #Effects do
  1995. if Effects[e] ~= nil then
  1996. local Thing = Effects[e]
  1997. if Thing ~= nil then
  1998. local Part = Thing[1]
  1999. local Mode = Thing[2]
  2000. local Delay = Thing[3]
  2001. local IncX = Thing[4]
  2002. local IncY = Thing[5]
  2003. local IncZ = Thing[6]
  2004. if Thing[1].Transparency <= 1 then
  2005. if Thing[2] == "Block1" then
  2006. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2007. Mesh = Thing[1].Mesh
  2008. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2009. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2010. elseif Thing[2] == "Block2" then
  2011. Thing[1].CFrame = Thing[1].CFrame
  2012. Mesh = Thing[7]
  2013. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2014. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2015. elseif Thing[2] == "Cylinder" then
  2016. Mesh = Thing[1].Mesh
  2017. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2018. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2019. elseif Thing[2] == "Blood" then
  2020. Mesh = Thing[7]
  2021. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
  2022. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2023. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2024. elseif Thing[2] == "Elec" then
  2025. Mesh = Thing[1].Mesh
  2026. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2027. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2028. elseif Thing[2] == "Disappear" then
  2029. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2030. elseif Thing[2] == "Shatter" then
  2031. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2032. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2033. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2034. Thing[6] = Thing[6] + Thing[5]
  2035. end
  2036. else
  2037. Part.Parent = nil
  2038. table.remove(Effects, e)
  2039. end
  2040. end
  2041. end
  2042. end
  2043. end
  2044. fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
  2045. fenbarmana4.Text="[Hate] <{[ "..mana.." ]}> [Hate]"
  2046. if mana>=100 then
  2047. mana=100
  2048. else
  2049. if mananum<=8 then
  2050. mananum=mananum+1
  2051. else
  2052. mananum=0
  2053. mana=mana+1
  2054. end
  2055. end
  2056. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement