Advertisement
StrikerAndDai

Untitled

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