Advertisement
DDDDDtuij

Untitled

Oct 12th, 2016
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 87.97 KB | None | 0 0
  1. game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"I sense a great power, wait, its near, it's from you.", "Red")
  2. wait(2.6)
  3. game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"I will absorb all of it! Prepare to die!", "Red")
  4. wait(0.016666666666667)
  5. Effects = {}
  6. local Player = game.Players.localPlayer
  7. local Character = Player.Character
  8. local Humanoid = Character.Humanoid
  9. local mouse = Player:GetMouse()
  10. local m = Instance.new("Model", Character)
  11. m.Name = "WeaponModel"
  12. local effect = Instance.new("Model", Character)
  13. effect.Name = "Effect"
  14. local LeftArm = Character["Left Arm"]
  15. local RightArm = Character["Right Arm"]
  16. local LeftLeg = Character["Left Leg"]
  17. local RightLeg = Character["Right Leg"]
  18. local Head = Character.Head
  19. local Torso = Character.Torso
  20. local cam = game.Workspace.CurrentCamera
  21. local RootPart = Character.HumanoidRootPart
  22. local RootJoint = RootPart.RootJoint
  23. local equipped = false
  24. local attack = false
  25. local Anim = "Idle"
  26. local idle = 0
  27. local attacktype = 1
  28. local mananum = 0
  29. xenabled = true
  30. cenabled = true
  31. venabled = true
  32. zenabled = true
  33. local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  34. vt = Vector3.new
  35. local velocity = RootPart.Velocity.y
  36. local sine = 0
  37. local change = 1
  38. local mana = 0
  39. local it = Instance.new
  40. local grabbed = false
  41. local cf = CFrame.new
  42. local mr = math.rad
  43. local angles = CFrame.Angles
  44. local ud = UDim2.new
  45. local c3 = Color3.new
  46. local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  47. Humanoid.Animator:Destroy()
  48. Character.Animate:Destroy()
  49. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  50. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  51. local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0))
  52. RSH = nil
  53. RW = Instance.new("Weld")
  54. LW = Instance.new("Weld")
  55. RH = Torso["Right Hip"]
  56. LH = Torso["Left Hip"]
  57. RSH = Torso["Right Shoulder"]
  58. LSH = Torso["Left Shoulder"]
  59. RSH.Parent = nil
  60. LSH.Parent = nil
  61. RW.Name = "RW"
  62. RW.Part0 = Torso
  63. RW.C0 = cf(1.5, 0.5, 0)
  64. RW.C1 = cf(0, 0.5, 0)
  65. RW.Part1 = RightArm
  66. RW.Parent = Torso
  67. LW.Name = "LW"
  68. LW.Part0 = Torso
  69. LW.C0 = cf(-1.5, 0.5, 0)
  70. LW.C1 = cf(0, 0.5, 0)
  71. LW.Part1 = LeftArm
  72. LW.Parent = Torso
  73. clerp = function(a, b, t)
  74. return a:lerp(b, t)
  75. end
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83. Magik = function(part)
  84. Spawn(function()
  85. local function lerp(a,b,c)
  86. return a+(b-a)*c
  87. end
  88. local function rndRange(rng)
  89. return math.random(-rng*1000,rng*1000)/1000
  90. end
  91. local magik = Instance.new("Part", part)
  92. magik.Anchored = true
  93. magik.Locked = true
  94. magik.Material = "Neon"
  95. magik.FormFactor = "Custom"
  96. magik.Size = Vector3.new(1.2, 1.2, 1.2)
  97. magik.TopSurface = "Smooth"
  98. magik.BottomSurface = "Smooth"
  99. magik.Transparency = 0
  100. magik.CanCollide = false
  101.  
  102. magik.BrickColor = BrickColor.new("Crimson")
  103.  
  104. local mr = math.rad
  105. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  106. local cf = part.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  107. magik.CFrame = cf
  108. for i = 0, 1, .05 do
  109. local newTrans = lerp(.8, 1, i)
  110. local ns = lerp(1,1.2,i)
  111. magik.Transparency = newTrans
  112. magik.Size = Vector3.new(ns,ns,ns)
  113. magik.CFrame = cf
  114. wait()
  115. end
  116. magik:Destroy()
  117. wait()
  118. end)
  119. end
  120. ----------------------------------------------------
  121. Magik2 = function(part)
  122. Spawn(function()
  123. local function lerp(a,b,c)
  124. return a+(b-a)*c
  125. end
  126. local function rndRange(rng)
  127. return math.random(-rng*1000,rng*1000)/1000
  128. end
  129. local magik2 = Instance.new("Part",part)
  130. magik2.Anchored = true
  131. magik2.Locked = true
  132. magik2.FormFactor = "Custom"
  133. magik2.Size = Vector3.new(1.2, 1.2, 1.2)
  134. magik2.TopSurface = "Smooth"
  135. magik2.BottomSurface = "Smooth"
  136. magik2.Transparency = 0
  137. magik2.Material = "Neon"
  138. magik2.CanCollide = false
  139.  
  140.  
  141. magik2.BrickColor = BrickColor.new("Crimson")
  142.  
  143.  
  144. local mr = math.rad
  145. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  146. local cf = part.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  147. magik2.CFrame = cf
  148. for i = 0, 1, .05 do
  149. local newTrans = lerp(.8, 1, i)
  150. local ns = lerp(1,1.2,i)
  151. magik2.Transparency = newTrans
  152. magik2.Size = Vector3.new(ns,ns,ns)
  153. magik2.CFrame = cf
  154. wait()
  155. end
  156. magik2:Destroy()
  157. end)
  158. end
  159.  
  160.  
  161.  
  162. Spawn(function()
  163. while wait(.1) do
  164. Magik(RightArm)
  165. end
  166. end)
  167.  
  168. Spawn(function()
  169. while wait(.1) do
  170. Magik2(RightArm)
  171. end
  172. end)
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181. FloatPart = function()
  182. local Part = Instance.new('Part',Torso)
  183. Part.CFrame = CFrame.new(Torso.CFrame.X,workspace.Base.CFrame.Y+1,Torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87)
  184. Part.Anchored = true
  185. Part.Material = 'Neon'
  186. Part.CanCollide = false
  187. Part.BrickColor = BrickColor.new(PrimaryColor)
  188. local Mesh = Instance.new('SpecialMesh',Part)
  189. Mesh.Scale = Vector3.new(4,4,.2)
  190. Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017'
  191. Mesh.VertexColor = Vector3.new(0,170,255)
  192. spawn(function()
  193. for i = 1,30 do
  194. Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0)
  195. Part.Transparency = Part.Transparency + .035
  196. game["Run Service"].RenderStepped:wait()
  197. end
  198. Part:Destroy()
  199. end)
  200. end;
  201.  
  202. DubPart = function()
  203. local Part = Instance.new('Part',Torso)
  204. Part.CFrame = CFrame.new(Torso.CFrame.X,workspace.Base.CFrame.Y+1,Torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87)
  205. Part.Anchored = true
  206. Part.CanCollide = false
  207. Part.Material = 'Neon'
  208. Part.BrickColor = BrickColor.new(SecondaryColor)
  209. local Mesh = Instance.new('SpecialMesh',Part)
  210. Mesh.Scale = Vector3.new(7,7,.2)
  211. Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017'
  212. Mesh.VertexColor = Vector3.new(0,170,255)
  213. spawn(function()
  214. for i = 1,30 do
  215. Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0)
  216. Part.Transparency = Part.Transparency + .035
  217. game["Run Service"].RenderStepped:wait()
  218. end
  219. Part:Destroy()
  220. end)
  221. end;
  222.  
  223. Fade = function(Item,t)
  224. spawn(function()
  225. for i = 1,20 do
  226. Item.Transparency = Item.Transparency + .05
  227. if t then
  228. wait(t)
  229. else
  230. wait()
  231. end
  232. end
  233. Item:Destroy()
  234. end)
  235. end
  236.  
  237. Particle = function(PrimaryColor)
  238. local Part = Instance.new('Part',Torso)
  239. Part.BrickColor = BrickColor.new(PrimaryColor)
  240. Part.Anchored = true
  241. Part.Transparency = .3
  242. Part.CanCollide = false
  243. Part.CFrame = Torso.CFrame * CFrame.new(math.random(-10,10),math.random(-15,15),math.random(-10,10)) * CFrame.fromEulerAnglesXYZ(math.random(),math.random(),math.random())
  244. local Mesh = Instance.new('BlockMesh',Part)
  245. Mesh.Scale = Vector3.new(.05,.1,.1)
  246. spawn(function()
  247. for i = 1,40 do
  248. Part.Transparency = Part.Transparency + .0125
  249. Part.CFrame = Part.CFrame * CFrame.new(0,-.07,0)
  250. game["Run Service"].RenderStepped:wait()
  251. end
  252. Part:Destroy()
  253. end)
  254. end;
  255.  
  256. --[[spawn(function()
  257. while wait() do
  258. wait(.05)
  259. FloatPart()
  260. wait(.08)
  261. FloatPart()
  262. wait(.05)
  263. DubPart()
  264. wait(.08)
  265. end
  266. end)]]
  267.  
  268. game["Run Service"].RenderStepped:connect(function(_)
  269. Particle("Crimson")
  270. Particle("Crimson")
  271. --Character['HumanoidRootPart'].C1 = Character['HumanoidRootPart'].C1 * CFrame.new(0,Height+math.sin(tick())/150,0)
  272. end)
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279. local RbxUtility = LoadLibrary("RbxUtility")
  280. local Create = RbxUtility.Create
  281. RemoveOutlines = function(part)
  282. part.TopSurface = 10
  283. end
  284.  
  285. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  286. 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})
  287. RemoveOutlines(Part)
  288. return Part
  289. end
  290.  
  291. CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  292. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  293. if Mesh == "SpecialMesh" then
  294. Msh.MeshType = MeshType
  295. Msh.MeshId = MeshId
  296. end
  297. return Msh
  298. end
  299.  
  300. ArtificialHB = Instance.new("BindableEvent", script)
  301. ArtificialHB.Name = "Heartbeat"
  302. script:WaitForChild("Heartbeat")
  303. frame = 0.033333333333333
  304. tf = 0
  305. allowframeloss = false
  306. tossremainder = false
  307. lastframe = tick()
  308. script.Heartbeat:Fire()
  309. game:GetService("RunService").Heartbeat:connect(function(s, p)
  310. tf = tf + s
  311. if frame <= tf then
  312. if allowframeloss then
  313. script.Heartbeat:Fire()
  314. lastframe = tick()
  315. else
  316. for i = 1, math.floor(tf / frame) do
  317. script.Heartbeat:Fire()
  318. end
  319. lastframe = tick()
  320. end
  321. if tossremainder then
  322. tf = 0
  323. else
  324. tf = tf - frame * math.floor(tf / frame)
  325. end
  326. end
  327. end
  328. )
  329. swait = function(num)
  330. if num == 0 or num == nil then
  331. ArtificialHB.Event:wait()
  332. else
  333. for i = 0, num do
  334. ArtificialHB.Event:wait()
  335. end
  336. end
  337. end
  338.  
  339. CreateWeld = function(Parent, Part0, Part1, C0, C1)
  340. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  341. return Weld
  342. end
  343.  
  344. it = Instance.new
  345. local fengui = it("GuiMain")
  346. fengui.Parent = Player.PlayerGui
  347. fengui.Name = "WeaponGUI"
  348. local fenframe1 = it("TextLabel")
  349. fenframe1.Parent = fengui
  350. fenframe1.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  351. fenframe1.BackgroundTransparency = 0.3
  352. fenframe1.BorderSizePixel = 5
  353. fenframe1.BorderColor3 = Color3.new(1, 1, 1)
  354. fenframe1.Size = UDim2.new(0.05, 0, 0.1, 0)
  355. fenframe1.Position = UDim2.new(0.325, 0, 0.7, 0)
  356. fenframe1.Text = "Z"
  357. fenframe1.TextWrapped = true
  358. fenframe1.FontSize = 7
  359. fenframe1.TextColor3 = Color3.new(1, 1, 1)
  360. local fenframe1a = it("TextLabel")
  361. fenframe1a.Parent = fengui
  362. fenframe1a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  363. fenframe1a.BackgroundTransparency = 0.3
  364. fenframe1a.BorderSizePixel = 5
  365. fenframe1a.BorderColor3 = Color3.new(1, 1, 1)
  366. fenframe1a.Size = UDim2.new(0.05, 0, 0.1, 0)
  367. fenframe1a.Position = UDim2.new(0.325, 0, 0.7, 0)
  368. fenframe1a.Text = ""
  369. local fenframe2 = it("TextLabel")
  370. fenframe2.Parent = fengui
  371. fenframe2.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  372. fenframe2.BackgroundTransparency = 0.3
  373. fenframe2.BorderSizePixel = 5
  374. fenframe2.BorderColor3 = Color3.new(1, 1, 1)
  375. fenframe2.Size = UDim2.new(0.05, 0, 0.1, 0)
  376. fenframe2.Position = UDim2.new(0.425, 0, 0.7, 0)
  377. fenframe2.Text = "X"
  378. fenframe2.TextWrapped = true
  379. fenframe2.FontSize = 7
  380. fenframe2.TextColor3 = Color3.new(1, 1, 1)
  381. local fenframe2a = it("TextLabel")
  382. fenframe2a.Parent = fengui
  383. fenframe2a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  384. fenframe2a.BackgroundTransparency = 0.3
  385. fenframe2a.BorderSizePixel = 5
  386. fenframe2a.BorderColor3 = Color3.new(1, 1, 1)
  387. fenframe2a.Size = UDim2.new(0.05, 0, 0.1, 0)
  388. fenframe2a.Position = UDim2.new(0.425, 0, 0.7, 0)
  389. fenframe2a.Text = ""
  390. local fenframe3 = it("TextLabel")
  391. fenframe3.Parent = fengui
  392. fenframe3.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  393. fenframe3.BackgroundTransparency = 0.3
  394. fenframe3.BorderSizePixel = 5
  395. fenframe3.BorderColor3 = Color3.new(1, 1, 1)
  396. fenframe3.Size = UDim2.new(0.05, 0, 0.1, 0)
  397. fenframe3.Position = UDim2.new(0.525, 0, 0.7, 0)
  398. fenframe3.Text = "C"
  399. fenframe3.TextWrapped = true
  400. fenframe3.FontSize = 7
  401. fenframe3.TextColor3 = Color3.new(1, 1, 1)
  402. local fenframe3a = it("TextLabel")
  403. fenframe3a.Parent = fengui
  404. fenframe3a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  405. fenframe3a.BackgroundTransparency = 0.3
  406. fenframe3a.BorderSizePixel = 5
  407. fenframe3a.BorderColor3 = Color3.new(1, 1, 1)
  408. fenframe3a.Size = UDim2.new(0.05, 0, 0.1, 0)
  409. fenframe3a.Position = UDim2.new(0.525, 0, 0.7, 0)
  410. fenframe3a.Text = ""
  411. local fenframe4 = it("TextLabel")
  412. fenframe4.Parent = fengui
  413. fenframe4.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  414. fenframe4.BackgroundTransparency = 0.3
  415. fenframe4.BorderSizePixel = 5
  416. fenframe4.BorderColor3 = Color3.new(1, 1, 1)
  417. fenframe4.Size = UDim2.new(0.05, 0, 0.1, 0)
  418. fenframe4.Position = UDim2.new(0.625, 0, 0.7, 0)
  419. fenframe4.Text = "V"
  420. fenframe4.TextWrapped = true
  421. fenframe4.FontSize = 7
  422. fenframe4.TextColor3 = Color3.new(1, 1, 1)
  423. local fenframe4a = it("TextLabel")
  424. fenframe4a.Parent = fengui
  425. fenframe4a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  426. fenframe4a.BackgroundTransparency = 0.3
  427. fenframe4a.BorderSizePixel = 5
  428. fenframe4a.BorderColor3 = Color3.new(1, 1, 1)
  429. fenframe4a.Size = UDim2.new(0.05, 0, 0.1, 0)
  430. fenframe4a.Position = UDim2.new(0.625, 0, 0.7, 0)
  431. fenframe4a.Text = ""
  432. fenframe1a.Size = UDim2.new(0, 0, 0.1, 0)
  433. fenframe2a.Size = UDim2.new(0, 0, 0.1, 0)
  434. fenframe3a.Size = UDim2.new(0, 0, 0.1, 0)
  435. fenframe4a.Size = UDim2.new(0, 0, 0.1, 0)
  436. rayCast = function(Position, Direction, Range, Ignore)
  437. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  438. end
  439.  
  440. CreateSound = function(id, par, vol, pit)
  441. coroutine.resume(coroutine.create(function()
  442. local sou = Instance.new("Sound", par or workspace)
  443. sou.Volume = vol
  444. sou.Pitch = pit or 1
  445. sou.SoundId = id
  446. swait()
  447. sou:play()
  448. game:GetService("Debris"):AddItem(sou, 6)
  449. end
  450. ))
  451. end
  452.  
  453. local getclosest = function(obj, distance)
  454. local last, lastx = distance + 1, nil
  455. for i,v in pairs(workspace:GetChildren()) do
  456. if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  457. local t = v.Torso
  458. local dist = t.Position - obj.Position.magnitude
  459. if dist <= distance and dist < last then
  460. last = dist
  461. lastx = v
  462. end
  463. end
  464. end
  465. return lastx
  466. end
  467.  
  468. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  469. if hit.Parent == nil then
  470. return
  471. end
  472. local h = hit.Parent:FindFirstChild("Humanoid")
  473. for _,v in pairs(hit.Parent:children()) do
  474. if v:IsA("Humanoid") then
  475. h = v
  476. end
  477. end
  478. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  479. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  480. return
  481. end
  482. local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
  483. game:GetService("Debris"):AddItem(c, 0.5)
  484. if HitSound ~= nil and HitPitch ~= nil then
  485. CreateSound(HitSound, hit, 1, HitPitch)
  486. end
  487. local Damage = math.random(minim, maxim)
  488. local blocked = false
  489. local block = hit.Parent:findFirstChild("Block")
  490. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  491. blocked = true
  492. block.Value = block.Value - 1
  493. print(block.Value)
  494. end
  495. if blocked == false then
  496. HitHealth = h.Health
  497. h.Health = h.Health - Damage
  498. if HitHealth ~= h.Health and HitHealth ~= 0 and h.Health <= 0 and h.Parent.Name ~= "Lost Soul" then
  499. end
  500. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  501. else
  502. h.Health = h.Health - Damage / 2
  503. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  504. end
  505. if Type == "Knockdown" then
  506. local hum = hit.Parent.Humanoid
  507. hum.PlatformStand = true
  508. coroutine.resume(coroutine.create(function(HHumanoid)
  509. swait(1)
  510. HHumanoid.PlatformStand = false
  511. end
  512. ), hum)
  513. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  514. local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  515. 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})
  516. game:GetService("Debris"):AddItem(bodvol, 0.5)
  517. game:GetService("Debris"):AddItem(rl, 0.5)
  518. else
  519. do
  520. if Type == "Normal" then
  521. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
  522. if knockback > 0 then
  523. vp.Parent = hit.Parent.Torso
  524. end
  525. game:GetService("Debris"):AddItem(vp, 0.5)
  526. else
  527. do
  528. if Type == "Up" then
  529. local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  530. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  531. else
  532. do
  533. if Type == "DarkUp" then
  534. coroutine.resume(coroutine.create(function()
  535. for i = 0, 1, 0.1 do
  536. swait()
  537. BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  538. end
  539. end
  540. ))
  541. local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  542. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  543. else
  544. do
  545. if Type == "Snare" then
  546. 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})
  547. game:GetService("Debris"):AddItem(bp, 1)
  548. else
  549. do
  550. if Type == "Freeze" then
  551. 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})
  552. local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
  553. hit.Parent.Torso.Anchored = true
  554. coroutine.resume(coroutine.create(function(Part)
  555. swait(1.5)
  556. Part.Anchored = false
  557. end
  558. ), hit.Parent.Torso)
  559. game:GetService("Debris"):AddItem(BodPos, 3)
  560. game:GetService("Debris"):AddItem(BodGy, 3)
  561. end
  562. do
  563. local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  564. game:GetService("Debris"):AddItem(debounce, Delay)
  565. c = Instance.new("ObjectValue")
  566. c.Name = "creator"
  567. c.Value = Player
  568. c.Parent = h
  569. game:GetService("Debris"):AddItem(c, 0.5)
  570. end
  571. end
  572. end
  573. end
  574. end
  575. end
  576. end
  577. end
  578. end
  579. end
  580. end
  581. end
  582. end
  583.  
  584. ShowDamage = function(Pos, Text, Time, Color)
  585. local Rate = 0.033333333333333
  586. if not Pos then
  587. local Pos = Vector3.new(0, 0, 0)
  588. end
  589. local Text = Text or ""
  590. local Time = Time or 2
  591. if not Color then
  592. local Color = Color3.new(1, 0, 1)
  593. end
  594. local EffectPart = CreatePart(workspace, "Neon", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
  595. EffectPart.Anchored = true
  596. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
  597. 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})
  598. game.Debris:AddItem(EffectPart, Time + 0.1)
  599. EffectPart.Parent = game:GetService("Workspace")
  600. delay(0, function()
  601. local Frames = Time / Rate
  602. for Frame = 1, Frames do
  603. wait(Rate)
  604. local Percent = Frame / Frames
  605. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  606. TextLabel.TextTransparency = Percent
  607. end
  608. if EffectPart and EffectPart.Parent then
  609. EffectPart:Destroy()
  610. end
  611. end
  612. )
  613. end
  614.  
  615. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  616. for _,c in pairs(workspace:children()) do
  617. local hum = c:findFirstChild("Humanoid")
  618. if hum ~= nil then
  619. local head = c:findFirstChild("Torso")
  620. if head ~= nil then
  621. local targ = head.Position - Part.Position
  622. local mag = targ.magnitude
  623. if mag <= magni and c.Name ~= Player.Name then
  624. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
  625. end
  626. end
  627. end
  628. end
  629. end
  630.  
  631.  
  632. BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  633. local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new())
  634. prt.Anchored = true
  635. prt.CFrame = cframe
  636. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  637. game:GetService("Debris"):AddItem(prt, 10)
  638. if Type == 1 or Type == nil then
  639. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  640. else
  641. if Type == 2 then
  642. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  643. end
  644. end
  645. end
  646.  
  647. SphereEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  648. local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new())
  649. prt.Anchored = true
  650. prt.CFrame = cframe
  651. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  652. game:GetService("Debris"):AddItem(prt, 10)
  653. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  654. end
  655.  
  656. RingEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  657. local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  658. prt.Anchored = true
  659. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  660. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  661. game:GetService("Debris"):AddItem(prt, 10)
  662. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  663. end
  664.  
  665. CylinderEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  666. local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new())
  667. prt.Anchored = true
  668. prt.CFrame = cframe
  669. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  670. game:GetService("Debris"):AddItem(prt, 10)
  671. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  672. end
  673.  
  674. WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  675. local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new())
  676. prt.Anchored = true
  677. prt.CFrame = cframe
  678. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  679. game:GetService("Debris"):AddItem(prt, 10)
  680. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  681. end
  682.  
  683. SpecialEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  684. local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new())
  685. prt.Anchored = true
  686. prt.CFrame = cframe
  687. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  688. game:GetService("Debris"):AddItem(prt, 10)
  689. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  690. end
  691.  
  692. DragonEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  693. local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new())
  694. prt.Anchored = true
  695. prt.CFrame = cframe
  696. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://51177741", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  697. game:GetService("Debris"):AddItem(prt, 10)
  698. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  699. end
  700.  
  701. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  702. local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  703. prt.Anchored = true
  704. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  705. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  706. local num = math.random(10, 50) / 1000
  707. game:GetService("Debris"):AddItem(prt, 10)
  708. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  709. end
  710.  
  711. SlashEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  712. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  713. prt.Anchored = true
  714. prt.CFrame = cframe
  715. msh = CreateMesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=448386996", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  716. game:GetService("Debris"):AddItem(prt, 2)
  717. coroutine.resume(coroutine.create(function(Part, Mesh, num)
  718. for i = 0, 1, delay do
  719. swait()
  720. Part.Transparency = i
  721. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  722. end
  723. Part.Parent = nil
  724. end
  725. ), prt, msh, (math.random(0, 1) + math.random()) / 5)
  726. end
  727.  
  728. function OnDeath()
  729. Humanoid.Parent = nil
  730. if Torso then
  731. local Head = Character:FindFirstChild("Head")
  732. if Head then
  733. local Neck = Instance.new("Weld")
  734. Neck.Name = "Neck"
  735. Neck.Part0 = Torso
  736. Neck.Part1 = Head
  737. Neck.C0 = CFrame.new(0, 1.5, 0)
  738. Neck.C1 = CFrame.new()
  739. Neck.Parent = Torso
  740. end
  741. local Limb = Character:FindFirstChild("Right Arm")
  742. if Limb then
  743.  
  744. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  745. local Joint = Instance.new("Glue")
  746. Joint.Name = "RightShoulder"
  747. Joint.Part0 = Torso
  748. Joint.Part1 = Limb
  749. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  750. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  751. Joint.Parent = Torso
  752.  
  753. local B = Instance.new("Part")
  754. B.TopSurface = 0
  755. B.BottomSurface = 0
  756. B.formFactor = "Symmetric"
  757. B.Size = Vector3.new(1, 1, 1)
  758. B.Transparency = 1
  759. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  760. B.Parent = Character
  761. local W = Instance.new("Weld")
  762. W.Part0 = Limb
  763. W.Part1 = B
  764. W.C0 = CFrame.new(0, -0.5, 0)
  765. W.Parent = Limb
  766.  
  767. end
  768. local Limb = Character:FindFirstChild("Left Arm")
  769. if Limb then
  770.  
  771. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  772. local Joint = Instance.new("Glue")
  773. Joint.Name = "LeftShoulder"
  774. Joint.Part0 = Torso
  775. Joint.Part1 = Limb
  776. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  777. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  778. Joint.Parent = Torso
  779.  
  780. local B = Instance.new("Part")
  781. B.TopSurface = 0
  782. B.BottomSurface = 0
  783. B.formFactor = "Symmetric"
  784. B.Size = Vector3.new(1, 1, 1)
  785. B.Transparency = 1
  786. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  787. B.Parent = Character
  788. local W = Instance.new("Weld")
  789. W.Part0 = Limb
  790. W.Part1 = B
  791. W.C0 = CFrame.new(0, -0.5, 0)
  792. W.Parent = Limb
  793.  
  794. end
  795. local Limb = Character:FindFirstChild("Right Leg")
  796. if Limb then
  797.  
  798. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  799. local Joint = Instance.new("Glue")
  800. Joint.Name = "RightHip"
  801. Joint.Part0 = Torso
  802. Joint.Part1 = Limb
  803. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  804. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  805. Joint.Parent = Torso
  806.  
  807. local B = Instance.new("Part")
  808. B.TopSurface = 0
  809. B.BottomSurface = 0
  810. B.formFactor = "Symmetric"
  811. B.Size = Vector3.new(1, 1, 1)
  812. B.Transparency = 1
  813. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  814. B.Parent = Character
  815. local W = Instance.new("Weld")
  816. W.Part0 = Limb
  817. W.Part1 = B
  818. W.C0 = CFrame.new(0, -0.5, 0)
  819. W.Parent = Limb
  820.  
  821. end
  822. local Limb = Character:FindFirstChild("Left Leg")
  823. if Limb then
  824.  
  825. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  826. local Joint = Instance.new("Glue")
  827. Joint.Name = "LeftHip"
  828. Joint.Part0 = Torso
  829. Joint.Part1 = Limb
  830. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  831. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  832. Joint.Parent = Torso
  833.  
  834. local B = Instance.new("Part")
  835. B.TopSurface = 0
  836. B.BottomSurface = 0
  837. B.formFactor = "Symmetric"
  838. B.Size = Vector3.new(1, 1, 1)
  839. B.Transparency = 1
  840. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  841. B.Parent = Character
  842. local W = Instance.new("Weld")
  843. W.Part0 = Limb
  844. W.Part1 = B
  845. W.C0 = CFrame.new(0, -0.5, 0)
  846. W.Parent = Limb
  847.  
  848. end
  849. --[
  850. local Bar = Instance.new("Part")
  851. Bar.TopSurface = 0
  852. Bar.BottomSurface = 0
  853. Bar.formFactor = "Symmetric"
  854. Bar.Size = Vector3.new(1, 1, 1)
  855. Bar.Transparency = 1
  856. Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  857. Bar.Parent = Character
  858. local Weld = Instance.new("Weld")
  859. Weld.Part0 = Torso
  860. Weld.Part1 = Bar
  861. Weld.C0 = CFrame.new(0, 0.5, 0)
  862. Weld.Parent = Torso
  863. dd={"Wasn't good enough...","How could this happen?","Lost to a weakling like you...","Is this the end?"}
  864. game:GetService("Chat"):Chat(script.Parent,dd[math.random(1,#dd)],1)
  865. v=Instance.new("BodyVelocity")
  866. v.P=10000
  867. v.maxForce=Vector3.new(500000,500000,500000)
  868. v.velocity=Torso.Velocity/30
  869. v.Parent=Torso
  870. game:GetService("Debris"):AddItem(v,.5)
  871. --]]
  872. end
  873. end
  874.  
  875.  
  876. Deathwish = function()
  877. attack = true
  878. CreateSound("http://www.roblox.com/asset/?id=231917970", RootPart, 1, 1)
  879. for i = 0, 1, 0.05 do
  880. swait()
  881. WaveEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, -2.5, 0), 5, 2, 5, 1, 0.1, 1, 0.09)
  882. BlockEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, -1, 0), 5, 5, 5, 0.5, 0.5, 0.5, 0.08, 1)
  883. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  884. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(2 * math.cos(sine / 5)), math.rad(-4 * math.cos(sine / 25)), math.rad(80)), 0.3)
  885. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 * math.cos(sine / 25)), math.rad(0), math.rad(190)), 0.3)
  886. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  887. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  888. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  889. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2)
  890. end
  891. MagniDamage(RootPart, 5599, 1099, 1599, 0, "DarkUp")
  892. CreateSound("http://www.roblox.com/asset/?id=192410089", RootPart, 1, 1)
  893. BlockEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, -1, 0), 5, 5, 5, 5, 5, 5, 0.06, 1)
  894. WaveEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, -2.5, 0), 5, 2, 5, 2, 0.1, 2, 0.07)
  895. for i = 0, 1, 0.05 do
  896. swait()
  897. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  898. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(2 * math.cos(sine / 5)), math.rad(-4 * math.cos(sine / 25)), math.rad(80)), 0.3)
  899. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 * math.cos(sine / 25)), math.rad(0), math.rad(190)), 0.3)
  900. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-190)), 0.3)
  901. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  902. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  903. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2)
  904. end
  905. for i = 0, 1, 0.1 do
  906. swait()
  907. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-110)), 0.3)
  908. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(2 * math.cos(sine / 5)), math.rad(-4 * math.cos(sine / 25)), math.rad(100)), 0.3)
  909. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 * math.cos(sine / 25)), math.rad(0), math.rad(190)), 0.3)
  910. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-80), math.rad(-90)), 0.3)
  911. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  912. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  913. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2)
  914. end
  915. MagniDamage(RootPart, 55, 5, 10, -70, "Knockdown")
  916. CreateSound("http://www.roblox.com/asset/?id=192410089", RootPart, 1, 1.2)
  917. SphereEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, -1, 0), 5, 5, 5, 10, 10, 10, 0.06)
  918. BlockEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, -1, 0), 5, 5, 5, 5, 5, 5, 0.06, 1)
  919. WaveEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, -2.5, 0), 5, 2, 5, 0.5, 1, 0.5, 0.07)
  920. for i = 0, 1, 0.1 do
  921. swait()
  922. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3)
  923. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(2 * math.cos(sine / 5)), math.rad(-4 * math.cos(sine / 25)), math.rad(50)), 0.3)
  924. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 * math.cos(sine / 25)), math.rad(0), math.rad(190)), 0.3)
  925. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  926. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  927. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  928. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2)
  929. end
  930. attack = false
  931. end
  932.  
  933. ChaosDriver = function()
  934. attack = true
  935. for i = 0, 1, 0.05 do
  936. swait()
  937. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  938. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  939. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-50), math.rad(90)), 0.3)
  940. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  941. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  942. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  943. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2)
  944. end
  945. CreateSound("http://www.roblox.com/asset/?id=234365549", Torso, 1, 1)
  946. coroutine.resume(coroutine.create(function()
  947. for i = 1, 5 do
  948. swait()
  949. local ef = CreatePart(workspace, "Marble", 0, 1, BrickColor.new("Black"), "Effect", vt())
  950. ef.Anchored = true
  951. ef.CFrame = RootPart.CFrame * cf(0, 0, -10 * i)
  952. MagniDamage(ef, 17, 10, 15, 1, "DarkUp")
  953. game:GetService("Debris"):AddItem(ef, 0.5)
  954. CreateSound("http://www.roblox.com/asset/?id=231917784", ef, 1, 0.7)
  955. DragonEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, -10 * i) * angles(math.rad(math.random(50, 90)), 0, math.rad(math.random(50, 90))), 5, 170, 5, 0, -10, 0, 0.07)
  956. DragonEffect(BrickColor.new("Crimson"), RootPart.CFrame * cf(0, 0, -10 * i) * angles(math.rad(math.random(50, 90)), 0, math.rad(math.random(50, 90))), 5, 150, 5, 0, -10, 0, 0.07)
  957. SpecialEffect(BrickColor.new("Crimson"), Torso.CFrame, 5, 5, 5, 3, 3, 3, 0.08)
  958. SpecialEffect(BrickColor.new("Crimson"), Torso.CFrame, 2, 2, 2, 3, 3, 3, 0.07)
  959. SpecialEffect(BrickColor.new("Crimson"), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08)
  960. SpecialEffect(BrickColor.new("Crimson"), Hitbox.CFrame, 2, 2, 2, 3, 3, 3, 0.07)
  961. end
  962. end
  963. ))
  964. for i = 0, 1, 0.1 do
  965. swait()
  966. BlockEffect(BrickColor.new("Crimson"), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08, 1)
  967. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(100)), 0.3)
  968. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  969. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3)
  970. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(-80)), 0.3)
  971. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  972. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  973. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-150)), 0.2)
  974. end
  975. attack = false
  976. end
  977.  
  978.  
  979. ThanatosDriver = function()
  980. attack = true
  981. for i = 0, 1, 0.1 do
  982. swait()
  983. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3)
  984. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3)
  985. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(180)), 0.3)
  986. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(-100)), 0.3)
  987. RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(-10), math.rad(-50), math.rad(0)), 0.3)
  988. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  989. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(200), math.rad(-100), math.rad(0)), 0.2)
  990. end
  991. local con = Hitbox.Touched:connect(function(hit)
  992. Damagefunc(Hitbox, hit, 30, 30, 50, "Knockdown", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  993. end
  994. )
  995. CreateSound("http://www.roblox.com/asset/?id=231917871", Torso, 1, 0.7)
  996. for i = 0, 1, 0.1 do
  997. swait()
  998. BlockEffect(BrickColor.new("Crimson"), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08, 1)
  999. BlockEffect(BrickColor.new("Crimson"), Hitbox.CFrame, 3, 3, 3, 3, 3, 3, 0.08, 2)
  1000. DragonEffect(BrickColor.new("Crimson"), Hitbox.CFrame * cf(0, 0, -2) * angles(math.rad(90), math.rad(-90), math.rad(90)), 1, 1, 1, 0.2, 0.5, 0.2, 0.08)
  1001. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3)
  1002. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3)
  1003. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(30)), 0.3)
  1004. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.3)
  1005. RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(-10), math.rad(-50), math.rad(0)), 0.3)
  1006. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1007. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(200), math.rad(-100), math.rad(170)), 0.2)
  1008. end
  1009. con:disconnect()
  1010. attack = false
  1011. end
  1012.  
  1013.  
  1014. Handle = CreatePart(m, Enum.Material.Neon, 0, 1, "Crimson", "FakeHandle", Vector3.new(0.209999964, 2.47000051, 0.210000098))
  1015. HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.954962969, 0.124997139, 0.0483036041, 3.26636873e-005, -1, -9.29513355e-010, -4.31581502e-005, -4.80190998e-010, -1, 1, 3.26636873e-005, -4.31581502e-005))
  1016. FakeHandle = CreatePart(m, Enum.Material.Neon, 0, 1, "Crimson", "FakeHandle", Vector3.new(0.209999964, 2.47000051, 0.210000098))
  1017. 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, 0, 0, 0, 1, 0, 0, 0, 1))
  1018. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Crimson", "Part", Vector3.new(0.209999964, 0.210000575, 0.210000098))
  1019. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.07000017, -1.51000023, -0.000101089478, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1020. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.10000002, 1, 1.10000002))
  1021. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(0.269999892, 0.250000685, 0.200000092))
  1022. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.69141531, -0.351466775, 0.00504875183, -6.73336942e-011, 1, 1.26396408e-005, 1, 4.80150808e-010, -3.2662756e-005, -3.2662756e-005, 1.26396408e-005, -1))
  1023. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
  1024. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(6.36999989, 0.350000679, 0.200000092))
  1025. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.94141245, 0.298535109, 0.00514984131, -6.73336942e-011, 1, 1.26396408e-005, 1, 4.80150808e-010, -3.2662756e-005, -3.2662756e-005, 1.26396408e-005, -1))
  1026. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
  1027. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(0.680000305, 0.350000679, 0.200000092))
  1028. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.73901224, 5.92544556, 0.00482368469, 0.707070887, 0.70714277, 3.77016768e-005, 0.70714277, -0.707070827, -5.3613112e-005, -1.12543603e-005, 6.45687396e-005, -1))
  1029. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
  1030. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Crimson", "Part", Vector3.new(0.209999964, 0.240000725, 0.210000098))
  1031. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.873248935, 1.15607548, 0.0299739838, 0.707070887, 0.70714277, 3.77016768e-005, 0.70714277, -0.707070827, -5.3613112e-005, -1.12543603e-005, 6.45687396e-005, -1))
  1032. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
  1033. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(6.36999989, 0.350000679, 0.200000092))
  1034. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.94141197, 0.296805978, -0.00483131409, 1.92629956e-009, 1, 7.3674797e-005, -1, 4.0164414e-009, -2.8368675e-005, -2.8368675e-005, -7.3674797e-005, 1))
  1035. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
  1036. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(0.680000305, 0.200000003, 0.200000092))
  1037. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.73998213, 4.31269073, 4.30618477, -0.707100451, 0.707113087, 8.41308211e-005, -0.500024736, -0.499931633, -0.707137764, -0.499984294, -0.500059485, 0.707075953))
  1038. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.349999994, 0.349999994))
  1039. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Crimson", "Part", Vector3.new(0.209999964, 0.210000575, 0.210000098))
  1040. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.00999749, -1.51000023, -3.24249268e-005, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1041. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.10000002, 1, 1.10000002))
  1042. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Crimson", "Part", Vector3.new(0.209999964, 0.820000708, 0.210000098))
  1043. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.51000023, 0.635001779, 8.39233398e-005, 1.92629956e-009, 1, 7.3674797e-005, -1, 4.0164414e-009, -2.8368675e-005, -2.8368675e-005, -7.3674797e-005, 1))
  1044. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Crimson", "Part", Vector3.new(0.339999974, 0.310000002, 0.230000019))
  1045. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.46499395, 0.00499796867, -0.00513267517, 3.91968946e-009, 1, 0.00013470251, 1, 4.79829343e-010, -3.26553054e-005, -3.26553054e-005, 0.00013470251, -1))
  1046. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 3))
  1047. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Crimson", "Part", Vector3.new(0.209999964, 2.47000051, 0.210000098))
  1048. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  1049. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1050. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Crimson", "Part", Vector3.new(0.209999964, 0.810000658, 0.210000098))
  1051. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.51000023, -0.640000105, 5.7220459e-006, 1.92629956e-009, 1, 7.3674797e-005, -1, 4.0164414e-009, -2.8368675e-005, -2.8368675e-005, -7.3674797e-005, 1))
  1052. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(6.67000008, 0.200000003, 0.200000092))
  1053. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.79141092, 0.327487946, 0.335111618, -1.75938719e-009, 1, -3.91626454e-005, 0.707132816, 2.76923965e-005, 0.707080722, 0.707080781, -2.76919527e-005, -0.707132816))
  1054. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.349999994, 0.349999994))
  1055. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Crimson", "Part", Vector3.new(0.209999964, 0.640000582, 0.210000098))
  1056. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.914999723, 0, -2.86102295e-005, 1.92629956e-009, 1, 7.3674797e-005, -1, 4.0164414e-009, -2.8368675e-005, -2.8368675e-005, -7.3674797e-005, 1))
  1057. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1058. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Crimson", "Part", Vector3.new(0.209999964, 0.290000588, 0.210000098))
  1059. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.914999962, -0.00496864319, -2.38418579e-007, 1.99638395e-009, 1, 7.5820426e-005, 1.04939791e-005, 7.5820426e-005, -1, -1, 2.79204171e-009, -1.04939791e-005))
  1060. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1061. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(0.21999979, 0.340000689, 0.200000092))
  1062. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.37641573, 0.00353312492, 0.00506973267, -6.73336942e-011, 1, 1.26396408e-005, 1, 4.80150808e-010, -3.2662756e-005, -3.2662756e-005, 1.26396408e-005, -1))
  1063. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
  1064. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(0.21999979, 0.340000689, 0.200000092))
  1065. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.36640215, 0.00353312492, 0.00522232056, -6.73336942e-011, 1, 1.26396408e-005, 1, 4.80150808e-010, -3.2662756e-005, -3.2662756e-005, 1.26396408e-005, -1))
  1066. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
  1067. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(0.680000305, 0.200000003, 0.200000092))
  1068. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.73857307, 4.30648804, 4.31436348, 0.707122087, 0.70709157, -4.6048066e-005, 0.500017762, -0.499993294, 0.707098961, 0.499960661, -0.500028312, -0.707114577))
  1069. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.349999994, 0.349999994))
  1070. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(0.269999892, 0.250000685, 0.200000092))
  1071. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.69141531, 0.348534107, 0.00504875183, -6.73336942e-011, 1, 1.26396408e-005, 1, 4.80150808e-010, -3.2662756e-005, -3.2662756e-005, 1.26396408e-005, -1))
  1072. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
  1073. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(0.229999989, 0.359999806, 0.230000019))
  1074. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00505638123, 1.69396782, -0.185147405, 6.31807998e-005, -1.26401064e-005, 1, 3.05181093e-005, -1, -1.26420346e-005, 1, 3.05189096e-005, -6.31804141e-005))
  1075. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.449999988, 0.400000006, 0.550000012))
  1076. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(0.21999979, 0.340000689, 0.200000092))
  1077. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.88641405, 0.00353312492, 0.00508499146, -6.73336942e-011, 1, 1.26396408e-005, 1, 4.80150808e-010, -3.2662756e-005, -3.2662756e-005, 1.26396408e-005, -1))
  1078. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
  1079. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(0.21999979, 0.340000689, 0.200000092))
  1080. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.85640955, 0.00353312492, 0.00520706177, -6.73336942e-011, 1, 1.26396408e-005, 1, 4.80150808e-010, -3.2662756e-005, -3.2662756e-005, 1.26396408e-005, -1))
  1081. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
  1082. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(0.680000305, 0.350000679, 0.200000092))
  1083. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.74009323, 5.92436028, -0.00534820557, -0.707087398, 0.70712626, 5.08724588e-005, -0.7071262, -0.707087338, 4.88799087e-005, 7.05355342e-005, -1.4108773e-006, 1))
  1084. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
  1085. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(0.21999979, 0.340000689, 0.200000092))
  1086. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.83641577, 0.00353312492, 0.00511360168, -6.73336942e-011, 1, 1.26396408e-005, 1, 4.80150808e-010, -3.2662756e-005, -3.2662756e-005, 1.26396408e-005, -1))
  1087. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
  1088. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(0.21999979, 0.340000689, 0.200000092))
  1089. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.86641836, 0.00353312492, 0.00505447388, -6.73336942e-011, 1, 1.26396408e-005, 1, 4.80150808e-010, -3.2662756e-005, -3.2662756e-005, 1.26396408e-005, -1))
  1090. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
  1091. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(6.67000008, 0.200000003, 0.200000092))
  1092. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.79139757, 0.333590508, 0.326548576, 8.39953052e-010, 0.999997258, 4.04162165e-005, -0.707107663, 3.32596901e-005, -0.70710218, -0.707099378, -3.05167996e-005, 0.707107663))
  1093. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.349999994, 0.349999994))
  1094. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(0.21999979, 0.340000689, 0.200000092))
  1095. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.34641123, 0.00353312492, 0.00513076782, -6.73336942e-011, 1, 1.26396408e-005, 1, 4.80150808e-010, -3.2662756e-005, -3.2662756e-005, 1.26396408e-005, -1))
  1096. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
  1097. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(0.21999979, 0.340000689, 0.200000092))
  1098. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.78640413, 0.00353312492, 0.005235672, -6.73336942e-011, 1, 1.26396408e-005, 1, 4.80150808e-010, -3.2662756e-005, -3.2662756e-005, 1.26396408e-005, -1))
  1099. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
  1100. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(0.229999989, 0.359999806, 0.230000019))
  1101. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0049533844, 1.69397926, -0.18485117, -2.14657484e-006, 7.3676194e-005, -1, 3.05161175e-005, -1, -7.36762595e-005, -1, -3.05162757e-005, 2.14432657e-006))
  1102. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.449999988, 0.400000006, 0.550000012))
  1103. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(0.21999979, 0.340000689, 0.200000092))
  1104. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.34641123, 0.00353312492, 0.00519180298, -6.73336942e-011, 1, 1.26396408e-005, 1, 4.80150808e-010, -3.2662756e-005, -3.2662756e-005, 1.26396408e-005, -1))
  1105. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
  1106. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(0.21999979, 0.340000689, 0.200000092))
  1107. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.39641333, 0.00353312492, 0.00510025024, -6.73336942e-011, 1, 1.26396408e-005, 1, 4.80150808e-010, -3.2662756e-005, -3.2662756e-005, 1.26396408e-005, -1))
  1108. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
  1109. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(0.21999979, 0.340000689, 0.200000092))
  1110. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.83641291, 0.00353312492, 0.00517463684, -6.73336942e-011, 1, 1.26396408e-005, 1, 4.80150808e-010, -3.2662756e-005, -3.2662756e-005, 1.26396408e-005, -1))
  1111. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
  1112. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Crimson", "Part", Vector3.new(0.209999964, 0.240000725, 0.210000098))
  1113. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.21970224, -0.965162754, -0.0300598145, 0.707087398, 0.70712626, 4.68029612e-006, -0.70712626, 0.707087398, -2.68303847e-006, -5.20662797e-006, -1.41241617e-006, 1))
  1114. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
  1115. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Crimson", "Part", Vector3.new(0.209999964, 0.240000725, 0.210000098))
  1116. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.23390102, -0.950969219, 0.0301017761, -0.707103848, 0.707109749, -2.87066287e-005, 0.707109749, 0.707103908, 7.42527664e-006, 2.55490522e-005, -1.50483029e-005, -1))
  1117. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
  1118. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(0.21999979, 0.340000689, 0.200000092))
  1119. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.33641291, 0.00353312492, 0.00515937805, -6.73336942e-011, 1, 1.26396408e-005, 1, 4.80150808e-010, -3.2662756e-005, -3.2662756e-005, 1.26396408e-005, -1))
  1120. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
  1121. Part = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 0, "Crimson", "Part", Vector3.new(0.21999979, 0.340000689, 0.200000092))
  1122. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.82641077, 0.00353312492, 0.00514411926, -6.73336942e-011, 1, 1.26396408e-005, 1, 4.80150808e-010, -3.2662756e-005, -3.2662756e-005, 1.26396408e-005, -1))
  1123. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.5))
  1124. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Crimson", "Part", Vector3.new(0.209999964, 0.240000725, 0.210000098))
  1125. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.887447834, 1.14186776, -0.0300674438, -0.707087398, 0.70712626, 5.08724588e-005, -0.7071262, -0.707087338, 4.88799087e-005, 7.05355342e-005, -1.4108773e-006, 1))
  1126. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1, 0.5))
  1127. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Crimson", "Part", Vector3.new(0.209999964, 0.200000733, 0.210000098))
  1128. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.04292846, -1.0653758, -0.0300636292, 0.707087398, 0.70712626, 4.68029612e-006, -0.70712626, 0.707087398, -2.68303847e-006, -5.20662797e-006, -1.41241617e-006, 1))
  1129. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 0.5))
  1130. Hitbox = CreatePart(m, Enum.Material.Neon, 0.10000000149012, 1, "Crimson", "Hitbox", Vector3.new(6.97999954, 0.960000634, 0.200000092))
  1131. HitboxWeld = CreateWeld(m, FakeHandle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.05641317, 0.0435330868, 0.0051612854, -6.73336942e-011, 1, 1.26396408e-005, 1, 4.80150808e-010, -3.2662756e-005, -3.2662756e-005, 1.26396408e-005, -1))
  1132. IceMortar = function()
  1133. local dacf = Handle.CFrame * angles(-1.57 + math.random(40, 80) / 100, 0, math.random(-80, 80) / 100)
  1134. local icepart1 = CreatePart(effect, "Neon", 0, 1, BrickColor.new("Cyan"), "Ice", vt())
  1135. icepart1.Anchored = true
  1136. i1msh = CreateMesh("SpecialMesh", icepart1, "Sphere", "", vt(0, 0, 0), vt(5, 5, 5))
  1137. icepart1.CFrame = dacf
  1138. for i = 0, 1, 0.1 do
  1139. swait()
  1140. icepart1.CFrame = dacf
  1141. end
  1142. local cfinc = 99999
  1143. icepart1.Transparency = 1
  1144. CreateSound("rbxassetid://334325056", icepart1, 1, 1)
  1145. game:GetService("Debris"):AddItem(icepart1, 1)
  1146. local spread = vt(0, 0, 0) * (Part.Position - (Part.Position + vt(0, -1, 0))).magnitude / 100
  1147. local TheHit = mouse.Hit.p
  1148. local MouseLook = cf((icepart1.Position + TheHit) / 2, TheHit + spread)
  1149. local hit, pos = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  1150. local target1, distance1 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  1151. local test1, dist1 = mouse.Hit.p, nil
  1152. if target1 ~= nil then
  1153. cfda = target1.Position + vt(math.random(-3000, 3000) / 100, 20, math.random(-3000, 3000) / 100)
  1154. local hit2, pos2 = rayCast(icepart1.Position, MouseLook.lookVector, 999, Character)
  1155. local d1 = CreatePart(effect, "Neon", 0, 0.5, BrickColor.new("Crimson"), "Effect", vt())
  1156. d1.Anchored = true
  1157. d1.CFrame = cf(pos2)
  1158. MagniDamage(d1, 10, 2, 5, -10, "Normal")
  1159. SphereEffect(BrickColor.new("Crimson"), cf(pos2), 100, 100, 100, 10, 10, 10, 0.07)
  1160. msh = CreateMesh("SpecialMesh", d1, "Sphere", "", vt(0, 0, 0), vt(80, 80, 80))
  1161. d2 = d1:Clone()
  1162. d2.Parent = d1
  1163. d2.CFrame = cf(d1.Position)
  1164. d2.BrickColor = BrickColor.new("Crimson")
  1165. d2.Mesh.Scale = vt(0, 5, 0)
  1166. table.insert(Effects, {d1, "SatelliteStrike", d2, d2.Mesh, 0})
  1167. end
  1168. end
  1169.  
  1170. attackone = function()
  1171. attack = true
  1172. local con = Hitbox.Touched:connect(function(hit)
  1173. Damagefunc(Hitbox, hit, 8, 14, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1174. end
  1175. )
  1176. for i = 0, 1, 0.5 do
  1177. swait()
  1178. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1179. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  1180. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.2, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  1181. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1182. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1183. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1184. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(30), math.rad(100), math.rad(-80)), 0.3)
  1185. end
  1186. for i = 0, 1, 0.2 do
  1187. swait()
  1188. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(100)), 0.3)
  1189. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-100)), 0.3)
  1190. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.2, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  1191. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1192. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1193. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1194. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(30), math.rad(100), math.rad(-80)), 0.3)
  1195. end
  1196. for i = 0, 1, 0.5 do
  1197. swait()
  1198. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.3)
  1199. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-70)), 0.3)
  1200. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.2, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  1201. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1202. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), 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. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(-80)), 0.3)
  1205. end
  1206. CreateSound("rbxassetid://231917950", Torso, 1, 2)
  1207. SpecialEffect(BrickColor.new("Crimson"), RootPart.CFrame * cf(0, 0.5, -5) * angles(math.rad(90), 1.2, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07)
  1208. SlashEffect(BrickColor.new("Crimson"), RootPart.CFrame * cf(0, 0.5, -5) * angles(math.rad(90), 1.2, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07)
  1209. for i = 0, 1, 0.1 do
  1210. swait()
  1211. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.7)
  1212. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(30)), 0.3)
  1213. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.2, -0.5) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.3)
  1214. LW.C0 = clerp(LW.C0, CFrame.new(0, 0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1215. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1216. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1217. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(-80)), 0.3)
  1218. end
  1219. con:disconnect()
  1220. attack = false
  1221. end
  1222.  
  1223. local huphup = false
  1224. Counter = function()
  1225. attack = true
  1226. Humanoid.WalkSpeed = 5
  1227. for i = 0, 1, 0.2 do
  1228. swait()
  1229. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  1230. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-10), math.rad(30)), 0.3)
  1231. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  1232. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -1) * angles(math.rad(80), math.rad(0), math.rad(0)), 0.3)
  1233. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1234. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1235. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(60), math.rad(70), math.rad(20)), 0.3)
  1236. end
  1237. for i = 0, 1, 0.05 do
  1238. swait()
  1239. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1240. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(-10), math.rad(0)), 0.3)
  1241. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  1242. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  1243. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1244. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1245. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(60), math.rad(80), math.rad(-150)), 0.3)
  1246. end
  1247. ripostestance = true
  1248. con1 = Torso.Touched:connect(function(hit)
  1249. if hit.Parent.Parent:findFirstChild("Torso") ~= nil then
  1250. hit = hit.Parent.Parent.Torso
  1251. end
  1252. if hit.Parent:findFirstChild("Torso") ~= nil and hit ~= Character and ripostestance == true then
  1253. RiposteAttack(hit)
  1254. end
  1255. end
  1256. )
  1257. coroutine.resume(coroutine.create(function()
  1258. while 1 do
  1259. while 1 do
  1260. if ripostestance == true then
  1261. swait()
  1262. if Humanoid:findFirstChild("creator") ~= nil then
  1263. Targ = Humanoid.creator.Value
  1264. if Targ.Character ~= nil then
  1265. RiposteAttack(Targ.Character.Torso)
  1266. ripostestance = false
  1267. attack = false
  1268. -- DECOMPILER ERROR at PC28: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1269.  
  1270. -- DECOMPILER ERROR at PC28: LeaveBlock: unexpected jumping out IF_STMT
  1271.  
  1272. -- DECOMPILER ERROR at PC28: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1273.  
  1274. -- DECOMPILER ERROR at PC28: LeaveBlock: unexpected jumping out IF_STMT
  1275.  
  1276. -- DECOMPILER ERROR at PC28: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1277.  
  1278. -- DECOMPILER ERROR at PC28: LeaveBlock: unexpected jumping out IF_STMT
  1279.  
  1280. end
  1281. end
  1282. end
  1283. end
  1284. if Targ:findFirstChild("Torso") ~= nil then
  1285. RiposteAttack(Targ.Torso)
  1286. ripostestance = false
  1287. attack = false
  1288. end
  1289. end
  1290. end
  1291. ))
  1292. huphup = true
  1293. end
  1294.  
  1295. RiposteAttack = function(hit)
  1296. ripostestance = false
  1297. attack = true
  1298. Humanoid.WalkSpeed = 0
  1299. Tors = hit.Parent.Torso
  1300. coroutine.resume(coroutine.create(function()
  1301. for i = 1, 0, -0.0005 do
  1302. swait()
  1303. fenframe4a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  1304. end
  1305. venabled = true
  1306. fenframe4a.Size = UDim2.new(0, 0, 0.1, 0)
  1307. end
  1308. ))
  1309. print("boop")
  1310. for i = 0, 1, 0.1 do
  1311. swait()
  1312. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1313. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1314. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -1) * angles(math.rad(170), math.rad(0), math.rad(-30)), 0.3)
  1315. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -1) * angles(math.rad(170), math.rad(0), math.rad(30)), 0.3)
  1316. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  1317. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1318. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-30), math.rad(-80)), 0.3)
  1319. end
  1320. BlockEffect(BrickColor.new("Crimson"), Torso.CFrame * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 3, 3, 3, 1, 1, 1, 0.02, 1)
  1321. local LastPoint = Torso.CFrame
  1322. local Point = Torso.CFrame
  1323. Torso.CFrame = Tors.CFrame * cf(0, 0, 5)
  1324. BlockEffect(BrickColor.new("Crimson"), Torso.CFrame * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 3, 3, 3, 1, 1, 1, 0.02, 1)
  1325. CreateSound("http://roblox.com/asset/?id=2767090", Torso, 1, 1.5)
  1326. swait(10)
  1327. SpecialEffect(BrickColor.new("Crimson"), RootPart.CFrame * cf(0, 0.5, -5) * angles(math.rad(90), 0, 0), 0.001, 0.1, 0.1, 0, 0.002, 0.002, 0.07)
  1328. SlashEffect(BrickColor.new("Crimson"), RootPart.CFrame * cf(0, 0.5, -5) * angles(math.rad(90), 0, 0), 0.001, 0.1, 0.1, 0, 0.002, 0.002, 0.07)
  1329. if Character.Humanoid == nil then
  1330. MagniDamage(Tors, 10, 30, 50, "Knockdown")
  1331. else
  1332. MagniDamage(Tors, 10, 30, 50, "Knockdown")
  1333. end
  1334. for i = 0, 1, 0.1 do
  1335. swait()
  1336. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.7)
  1337. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.7)
  1338. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.3, -1) * angles(math.rad(20), math.rad(0), math.rad(-30)), 0.7)
  1339. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, -1) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.7)
  1340. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.7)
  1341. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.7)
  1342. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-30), math.rad(-80)), 0.3)
  1343. end
  1344. CreateSound("http://www.roblox.com/asset/?id=161006195", Torso, 1, 1)
  1345. CreateSound("rbxasset://sounds\\unsheath.wav", Torso, 1, 1.5)
  1346. CreateSound("http://www.roblox.com/asset/?id=28144425", Tors, 1, 1)
  1347. CreateSound("http://www.roblox.com/asset/?id=28144425", Tors, 1, 0.7)
  1348. swait(10)
  1349. attack = false
  1350. huphup = false
  1351. Humanoid.WalkSpeed = 16
  1352. end
  1353.  
  1354. attacktwo = function()
  1355. attack = true
  1356. local con = Hitbox.Touched:connect(function(hit)
  1357. Damagefunc(Hitbox, hit, 8, 13, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1358. end
  1359. )
  1360. for i = 0, 1, 0.1 do
  1361. swait()
  1362. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  1363. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(30)), 0.3)
  1364. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.2, -0.5) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.3)
  1365. LW.C0 = clerp(LW.C0, CFrame.new(0, 0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1366. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 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) * angles(math.rad(90), math.rad(0), math.rad(-80)), 0.3)
  1369. end
  1370. CreateSound("rbxassetid://231917950", Torso, 1, 2.3)
  1371. SlashEffect(BrickColor.new("Crimson"), RootPart.CFrame * cf(0, 0.5, -5) * angles(math.rad(90), 1.47, 0), 0.001, 0.1, 0.1, 0, 0.002, 0.002, 0.07)
  1372. for i = 0, 1, 0.1 do
  1373. swait()
  1374. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(100)), 0.7)
  1375. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-100)), 0.3)
  1376. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.2, -0.5) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  1377. LW.C0 = clerp(LW.C0, CFrame.new(0, 0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1378. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1379. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1380. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(-80)), 0.3)
  1381. end
  1382. con:disconnect()
  1383. attack = false
  1384. end
  1385.  
  1386. PurityStorm = function()
  1387. attack = true
  1388. local con = Hitbox.Touched:connect(function(hit)
  1389. Damagefunc(Hitbox, hit, 8, 13, math.random(10, 15), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.5)
  1390. end
  1391. )
  1392. for i = 1, 5 do
  1393. swait()
  1394. CreateSound("rbxassetid://231917950", Torso, 1, 2.5)
  1395. SlashEffect(BrickColor.new("Crimson"), RootPart.CFrame * cf(0, 0.5, -5) * angles(math.rad(90), 1.47, 0), 0.001, 0.1, 0.1, 0, 0.002, 0.002, 0.07)
  1396. for i = 0, 1, 0.1 do
  1397. swait()
  1398. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(100)), 0.7)
  1399. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-100)), 0.7)
  1400. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.2, -0.5) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  1401. LW.C0 = clerp(LW.C0, CFrame.new(0, 0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1402. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1403. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1404. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(-80)), 0.3)
  1405. end
  1406. CreateSound("rbxassetid://231917950", Torso, 1, 2.7)
  1407. SlashEffect(BrickColor.new("Crimson"), RootPart.CFrame * cf(0, 0.5, -5) * angles(math.rad(90), 1.2, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07)
  1408. for i = 0, 1, 0.1 do
  1409. swait()
  1410. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.7)
  1411. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(30)), 0.7)
  1412. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.2, -0.5) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.3)
  1413. LW.C0 = clerp(LW.C0, CFrame.new(0, 0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1414. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1415. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1416. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(-80)), 0.3)
  1417. end
  1418. end
  1419. con:disconnect()
  1420. attack = false
  1421. end
  1422.  
  1423. TakeDown = function()
  1424. attack = true
  1425. for i = 0, 1, 0.05 do
  1426. swait()
  1427. if i <= 0.5 then
  1428. WaveEffect(BrickColor.new("Crimson"), RootPart.CFrame, 20, 5, 20, -1, 0, -1, 0.07)
  1429. end
  1430. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  1431. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1432. RW.C0 = clerp(RW.C0, CFrame.new(0.8, 0.5, -1) * angles(math.rad(170), math.rad(0), math.rad(0)), 0.3)
  1433. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -1) * angles(math.rad(170), math.rad(0), math.rad(70)), 0.3)
  1434. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1435. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1436. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
  1437. end
  1438. local con = Hitbox.Touched:connect(function(hit)
  1439. Damagefunc(Hitbox, hit, 30, 30, math.random(1, 5), "Knockdown", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1440. end
  1441. )
  1442. CreateSound("rbxassetid://231917950", Torso, 1, 1.3)
  1443. SlashEffect(BrickColor.new("Crimson"), RootPart.CFrame * cf(0, 0.5, -5) * angles(math.rad(90), -0.5, 0), 0.002, 0.15, 0.15, 0, 0.002, 0.002, 0.07)
  1444. SlashEffect(BrickColor.new("Crimson"), RootPart.CFrame * cf(0, 0.5, -5) * angles(math.rad(90), -0.5, 0), 0.002, 0.15, 0.15, 0, 0.005, 0.002, 0.07)
  1445. for i = 0, 1, 0.1 do
  1446. swait()
  1447. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1448. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  1449. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.4, -0.5) * angles(math.rad(20), math.rad(0), math.rad(-50)), 0.3)
  1450. LW.C0 = clerp(LW.C0, CFrame.new(-0.8, 0.4, -0.5) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1451. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1452. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1453. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-30), math.rad(-80)), 0.3)
  1454. end
  1455. con:disconnect()
  1456. attack = false
  1457. end
  1458.  
  1459. attackthree = function()
  1460. attack = true
  1461. local con = Hitbox.Touched:connect(function(hit)
  1462. Damagefunc(Hitbox, hit, 8, 13, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1463. end
  1464. )
  1465. for i = 0, 1, 0.1 do
  1466. swait()
  1467. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1468. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1469. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -1) * angles(math.rad(170), math.rad(0), math.rad(-30)), 0.3)
  1470. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -1) * angles(math.rad(170), math.rad(0), math.rad(30)), 0.3)
  1471. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  1472. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1473. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-30), math.rad(-80)), 0.3)
  1474. end
  1475. CreateSound("rbxassetid://231917950", Torso, 1, 1.5)
  1476. SlashEffect(BrickColor.new("Crimson"), RootPart.CFrame * cf(0, 0.5, -5) * angles(math.rad(90), 0, 0), 0.001, 0.1, 0.1, 0, 0.002, 0.002, 0.07)
  1477. for i = 0, 1, 0.1 do
  1478. swait()
  1479. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.7)
  1480. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.7)
  1481. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.3, -1) * angles(math.rad(20), math.rad(0), math.rad(-30)), 0.7)
  1482. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, -1) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.7)
  1483. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.7)
  1484. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.7)
  1485. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-30), math.rad(-80)), 0.3)
  1486. end
  1487. con:disconnect()
  1488. attack = false
  1489. end
  1490.  
  1491. ob1u = function()
  1492. end
  1493.  
  1494. ob1d = function()
  1495. if attack == false and attacktype == 1 then
  1496. attacktype = 2
  1497. attackone()
  1498. else
  1499. if attack == false and attacktype == 2 then
  1500. attacktype = 3
  1501. attacktwo()
  1502. else
  1503. if attack == false and attacktype == 3 then
  1504. attacktype = 1
  1505. attackthree()
  1506. end
  1507. end
  1508. end
  1509. end
  1510.  
  1511. key = function(k)
  1512. k = k:lower()
  1513. if attack == false and k == "z" and zenabled == true then
  1514. zenabled = false
  1515. coroutine.resume(coroutine.create(function()
  1516. for i = 1, 0, -0.03 do
  1517. swait()
  1518. fenframe1a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  1519. end
  1520. zenabled = true
  1521. fenframe1a.Size = UDim2.new(0, 0, 0.1, 0)
  1522. end
  1523. ))
  1524. ThanatosDriver()
  1525. else
  1526. if attack == false and k == "x" and xenabled == true then
  1527. xenabled = false
  1528. coroutine.resume(coroutine.create(function()
  1529. for i = 1, 0, -0.0055 do
  1530. swait()
  1531. fenframe2a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  1532. end
  1533. xenabled = true
  1534. fenframe2a.Size = UDim2.new(0, 0, 0.1, 0)
  1535. end
  1536. ))
  1537. PurityStorm()
  1538. else
  1539. if attack == false and k == "c" and cenabled == true then
  1540. cenabled = false
  1541. coroutine.resume(coroutine.create(function()
  1542. for i = 1, 0, -0.0025 do
  1543. swait()
  1544. fenframe3a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  1545. end
  1546. cenabled = true
  1547. fenframe3a.Size = UDim2.new(0, 0, 0.1, 0)
  1548. end
  1549. ))
  1550. TakeDown()
  1551.  
  1552. else
  1553. if attack == false and k == "v" and venabled == true then
  1554. venabled = false
  1555. coroutine.resume(coroutine.create(function()
  1556. for i = 1, 0, -0.00025 do
  1557. swait()
  1558. fenframe4a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  1559. end
  1560. venabled = true
  1561. fenframe4a.Size = UDim2.new(0, 0, 0.1, 0)
  1562. end
  1563. ))
  1564. ChaosDriver()
  1565. Deathwish()
  1566. end
  1567. end
  1568. end
  1569. end
  1570. end
  1571.  
  1572.  
  1573. s = function(mouse)
  1574. print("Selected")
  1575. mouse.Button1Down:connect(function()
  1576. ob1d(mouse)
  1577. end
  1578. )
  1579. mouse.Button1Up:connect(function()
  1580. ob1u(mouse)
  1581. end
  1582. )
  1583. mouse.KeyDown:connect(key)
  1584. end
  1585.  
  1586. s(mouse)
  1587.  
  1588. local sine = 0
  1589. local change = 1
  1590. local val = 0
  1591.  
  1592. while 1 do
  1593. swait()
  1594. Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  1595. velocity = RootPart.Velocity.y
  1596. sine = sine + change
  1597. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1598. if equipped == true or equipped == false then
  1599. if 1 < RootPart.Velocity.y and hit == nil then
  1600. Anim = "Jump"
  1601. if attack == false then
  1602. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1603. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-4 * math.cos((sine) / 25)), math.rad(-30)), 0.3)
  1604. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 * math.cos((sine) / 25)), math.rad(0), math.rad(190)), 0.3)
  1605. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1606. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1607. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1608. end
  1609. else
  1610. if RootPart.Velocity.y < -1 and hit == nil then
  1611. Anim = "Fall"
  1612. if attack == false then
  1613. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1614. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(30), math.rad(-4 * math.cos((sine) / 25)), math.rad(-30)), 0.3)
  1615. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 * math.cos((sine) / 25)), math.rad(0), math.rad(190)), 0.3)
  1616. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1617. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1618. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1619. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2)
  1620. end
  1621. else
  1622. if Torsovelocity.x < 1 and Torsovelocity.z < 1 and hit ~= nil then
  1623. Anim = "Idle"
  1624. if attack == false then
  1625. change = 1
  1626. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2 - 0.1 * math.cos((sine) / 9)) * angles(math.rad(20), math.rad(-20), math.rad(-80)), 0.3)
  1627. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10 + 1 * math.cos((sine) / 9)), math.rad(-10 + 1 * math.cos((sine) / 9)), math.rad(80)), 0.3)
  1628. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.2, -0.5) * angles(math.rad(50), math.rad(0), math.rad(-30)), 0.3)
  1629. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3)
  1630. RH.C0 = clerp(RH.C0, cf(1, -1.2 + 0.1 * math.cos((sine) / 9), 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(20)), 0.3)
  1631. LH.C0 = clerp(LH.C0, cf(-1.3, -1 + 0.1 * math.cos((sine) / 9), 0) * LHCF * angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3)
  1632. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(60), math.rad(70 - 1 * math.cos((sine) / 9)), math.rad(70)), 0.3)
  1633. end
  1634. else
  1635. if Torsovelocity.x > 2 and Torsovelocity.z > 2 and hit ~= nil then
  1636. Anim = "Walk"
  1637. if attack == false then
  1638. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2 - 0.1 * math.cos((sine) / 9)) * angles(math.rad(10), math.rad(-5), math.rad(-30)), 0.3)
  1639. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-5 + 1 * math.cos((sine) / 9)), math.rad(-10 + 1 * math.cos((sine) / 9)), math.rad(30)), 0.3)
  1640. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.2, 0) * angles(math.rad(50), math.rad(0), math.rad(-10)), 0.3)
  1641. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3)
  1642. RH.C0 = clerp(RH.C0, cf(1, -1, 0 + 0.5 * math.cos((sine) / 5)) * RHCF * angles(math.rad(0), math.rad(0), math.rad(10 - 50 * math.cos((sine) / 5))), 0.3)
  1643. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.5 - 0.5 * math.cos((sine) / 5)) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-10 - 50 * math.cos((sine) / 5))), 0.3)
  1644. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(60), math.rad(50 - 1 * math.cos((sine) / 9)), math.rad(120)), 0.3)
  1645. end
  1646. end
  1647. end
  1648. end
  1649. end
  1650. end
  1651. if 0 < #Effects then
  1652. for e = 1, #Effects do
  1653. if Effects[e] ~= nil then
  1654. local Thing = Effects[e]
  1655. if Thing ~= nil then
  1656. local Part = Thing[1]
  1657. local Mode = Thing[2]
  1658. local Delay = Thing[3]
  1659. local IncX = Thing[4]
  1660. local IncY = Thing[5]
  1661. local IncZ = Thing[6]
  1662. if Thing[1].Transparency <= 1 then
  1663. if Thing[2] == "Block1" then
  1664. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1665. Mesh = Thing[1].Mesh
  1666. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1667. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1668. else
  1669. if Thing[2] == "Block2" then
  1670. Thing[1].CFrame = Thing[1].CFrame
  1671. Mesh = Thing[7]
  1672. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1673. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1674. else
  1675. if Thing[2] == "Cylinder" then
  1676. Mesh = Thing[1].Mesh
  1677. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1678. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1679. else
  1680. if Thing[2] == "Blood" then
  1681. Mesh = Thing[7]
  1682. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1683. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1684. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1685. else
  1686. if Thing[2] == "Elec" then
  1687. Mesh = Thing[1].Mesh
  1688. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1689. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1690. else
  1691. if Thing[2] == "Disappear" then
  1692. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1693. else
  1694. if Thing[2] == "Shatter" then
  1695. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1696. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1697. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1698. Thing[6] = Thing[6] + Thing[5]
  1699. end
  1700. end
  1701. end
  1702. end
  1703. end
  1704. end
  1705. end
  1706. else
  1707. Part.Parent = nil
  1708. table.remove(Effects, e)
  1709. end
  1710. end
  1711. end
  1712. end
  1713. end
  1714. end
  1715.  
  1716.  
  1717. --Credit to the original maker.
  1718. --I have no idea who it is though.
  1719.  
  1720. --turdulator
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement