daily pastebin goal
17%
SHARE
TWEET

Untitled

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