Advertisement
lafur

Untitled

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