Advertisement
memberhero

serae from black magic 600 special

Nov 9th, 2016
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 60.20 KB | None | 0 0
  1. -- basstracker1970 <3
  2. -- my god i never thaught i would get 600 views thank you guys heres a bm script for that much <33
  3. --------------------------------------------------
  4. z = Instance.new("Sound", torso)
  5. z.SoundId = "rbxassetid://405224723" -- Put Music ID Here.
  6. z.Looped = true
  7. z.Volume = 1
  8. wait(.1)
  9. z:Play()
  10. ---------------------------------------------------------------------------------
  11.  
  12. wait(0.016666666666667)
  13. Effects = {}
  14. local Player = game.Players.localPlayer
  15. local Character = Player.Character
  16. local Humanoid = Character.Humanoid
  17. local mouse = Player:GetMouse()
  18. local m = Instance.new("Model", Character)
  19. m.Name = "WeaponModel"
  20. local LeftArm = Character["Left Arm"]
  21. local RightArm = Character["Right Arm"]
  22. local LeftLeg = Character["Left Leg"]
  23. local RightLeg = Character["Right Leg"]
  24. local Head = Character.Head
  25. local Torso = Character.Torso
  26. local cam = game.Workspace.CurrentCamera
  27. local RootPart = Character.HumanoidRootPart
  28. local RootJoint = RootPart.RootJoint
  29. local equipped = false
  30. local attack = false
  31. local Anim = "Idle"
  32. local idle = 0
  33. local attacktype = 1
  34. local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  35. local velocity = RootPart.Velocity.y
  36. local sine = 0
  37. local change = 1
  38. local grabbed = false
  39. local cf = CFrame.new
  40. local mr = math.rad
  41. local angles = CFrame.Angles
  42. local ud = UDim2.new
  43. local vt = Vector3.new
  44. local c3 = Color3.new
  45. local mana = 0
  46. local mananum = 0
  47. local it = Instance.new
  48. local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  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. xenabled = true
  53. cenabled = true
  54. venabled = true
  55. zenabled = true
  56. RSH = nil
  57. RW = Instance.new("Weld")
  58. LW = Instance.new("Weld")
  59. RH = Torso["Right Hip"]
  60. LH = Torso["Left Hip"]
  61. RSH = Torso["Right Shoulder"]
  62. LSH = Torso["Left Shoulder"]
  63. RSH.Parent = nil
  64. LSH.Parent = nil
  65. RW.Name = "RW"
  66. RW.Part0 = Torso
  67. RW.C0 = cf(1.5, 0.5, 0)
  68. RW.C1 = cf(0, 0.5, 0)
  69. RW.Part1 = RightArm
  70. RW.Parent = Torso
  71. LW.Name = "LW"
  72. LW.Part0 = Torso
  73. LW.C0 = cf(-1.5, 0.5, 0)
  74. LW.C1 = cf(0, 0.5, 0)
  75. LW.Part1 = LeftArm
  76. LW.Parent = Torso
  77. clerp = function(a, b, t)
  78. return a:lerp(b, t)
  79. end
  80.  
  81. ArtificialHB = Instance.new("BindableEvent", script)
  82. ArtificialHB.Name = "Heartbeat"
  83. script:WaitForChild("Heartbeat")
  84. frame = 0.016666666666667
  85. tf = 0
  86. allowframeloss = false
  87. tossremainder = false
  88. lastframe = tick()
  89. script.Heartbeat:Fire()
  90. game:GetService("RunService").Heartbeat:connect(function(s, p)
  91. tf = tf + s
  92. if frame <= tf then
  93. if allowframeloss then
  94. script.Heartbeat:Fire()
  95. lastframe = tick()
  96. else
  97. for i = 1, math.floor(tf / frame) do
  98. script.Heartbeat:Fire()
  99. end
  100. lastframe = tick()
  101. end
  102. if tossremainder then
  103. tf = 0
  104. else
  105. tf = tf - frame * math.floor(tf / frame)
  106. end
  107. end
  108. end
  109. )
  110. swait = function(num)
  111. if num == 0 or num == nil then
  112. ArtificialHB.Event:wait()
  113. else
  114. for i = 0, num do
  115. ArtificialHB.Event:wait()
  116. end
  117. end
  118. end
  119.  
  120. local fengui = it("GuiMain")
  121. fengui.Parent = Player.PlayerGui
  122. fengui.Name = "WeaponGUI"
  123. local fenframe1 = it("TextLabel")
  124. fenframe1.Parent = fengui
  125. fenframe1.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  126. fenframe1.BackgroundTransparency = 0.3
  127. fenframe1.BorderSizePixel = 5
  128. fenframe1.BorderColor3 = Color3.new(1, 1, 1)
  129. fenframe1.Size = UDim2.new(0.05, 0, 0.1, 0)
  130. fenframe1.Position = UDim2.new(0.325, 0, 0.7, 0)
  131. fenframe1.Text = "Z"
  132. fenframe1.TextWrapped = true
  133. fenframe1.FontSize = 7
  134. fenframe1.TextColor3 = Color3.new(1, 1, 1)
  135. local fenframe1a = it("TextLabel")
  136. fenframe1a.Parent = fengui
  137. fenframe1a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  138. fenframe1a.BackgroundTransparency = 0.3
  139. fenframe1a.BorderSizePixel = 5
  140. fenframe1a.BorderColor3 = Color3.new(1, 1, 1)
  141. fenframe1a.Size = UDim2.new(0.05, 0, 0.1, 0)
  142. fenframe1a.Position = UDim2.new(0.325, 0, 0.7, 0)
  143. fenframe1a.Text = ""
  144. local fenframe2 = it("TextLabel")
  145. fenframe2.Parent = fengui
  146. fenframe2.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  147. fenframe2.BackgroundTransparency = 0.3
  148. fenframe2.BorderSizePixel = 5
  149. fenframe2.BorderColor3 = Color3.new(1, 1, 1)
  150. fenframe2.Size = UDim2.new(0.05, 0, 0.1, 0)
  151. fenframe2.Position = UDim2.new(0.425, 0, 0.7, 0)
  152. fenframe2.Text = "X"
  153. fenframe2.TextWrapped = true
  154. fenframe2.FontSize = 7
  155. fenframe2.TextColor3 = Color3.new(1, 1, 1)
  156. local fenframe2a = it("TextLabel")
  157. fenframe2a.Parent = fengui
  158. fenframe2a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  159. fenframe2a.BackgroundTransparency = 0.3
  160. fenframe2a.BorderSizePixel = 5
  161. fenframe2a.BorderColor3 = Color3.new(1, 1, 1)
  162. fenframe2a.Size = UDim2.new(0.05, 0, 0.1, 0)
  163. fenframe2a.Position = UDim2.new(0.425, 0, 0.7, 0)
  164. fenframe2a.Text = ""
  165. local fenframe3 = it("TextLabel")
  166. fenframe3.Parent = fengui
  167. fenframe3.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  168. fenframe3.BackgroundTransparency = 0.3
  169. fenframe3.BorderSizePixel = 5
  170. fenframe3.BorderColor3 = Color3.new(1, 1, 1)
  171. fenframe3.Size = UDim2.new(0.05, 0, 0.1, 0)
  172. fenframe3.Position = UDim2.new(0.525, 0, 0.7, 0)
  173. fenframe3.Text = "C"
  174. fenframe3.TextWrapped = true
  175. fenframe3.FontSize = 7
  176. fenframe3.TextColor3 = Color3.new(1, 1, 1)
  177. local fenframe3a = it("TextLabel")
  178. fenframe3a.Parent = fengui
  179. fenframe3a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  180. fenframe3a.BackgroundTransparency = 0.3
  181. fenframe3a.BorderSizePixel = 5
  182. fenframe3a.BorderColor3 = Color3.new(1, 1, 1)
  183. fenframe3a.Size = UDim2.new(0.05, 0, 0.1, 0)
  184. fenframe3a.Position = UDim2.new(0.525, 0, 0.7, 0)
  185. fenframe3a.Text = ""
  186. local fenframe4 = it("TextLabel")
  187. fenframe4.Parent = fengui
  188. fenframe4.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255)
  189. fenframe4.BackgroundTransparency = 0.3
  190. fenframe4.BorderSizePixel = 5
  191. fenframe4.BorderColor3 = Color3.new(1, 1, 1)
  192. fenframe4.Size = UDim2.new(0.05, 0, 0.1, 0)
  193. fenframe4.Position = UDim2.new(0.625, 0, 0.7, 0)
  194. fenframe4.Text = "V"
  195. fenframe4.TextWrapped = true
  196. fenframe4.FontSize = 7
  197. fenframe4.TextColor3 = Color3.new(1, 1, 1)
  198. local fenframe4a = it("TextLabel")
  199. fenframe4a.Parent = fengui
  200. fenframe4a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902)
  201. fenframe4a.BackgroundTransparency = 0.3
  202. fenframe4a.BorderSizePixel = 5
  203. fenframe4a.BorderColor3 = Color3.new(1, 1, 1)
  204. fenframe4a.Size = UDim2.new(0.05, 0, 0.1, 0)
  205. fenframe4a.Position = UDim2.new(0.625, 0, 0.7, 0)
  206. fenframe4a.Text = ""
  207. fenframe1a.Size = UDim2.new(0, 0, 0.1, 0)
  208. fenframe2a.Size = UDim2.new(0, 0, 0.1, 0)
  209. fenframe3a.Size = UDim2.new(0, 0, 0.1, 0)
  210. fenframe4a.Size = UDim2.new(0, 0, 0.1, 0)
  211. local RbxUtility = LoadLibrary("RbxUtility")
  212. local Create = RbxUtility.Create
  213. RemoveOutlines = function(part)
  214. part.TopSurface = 10
  215. end
  216.  
  217. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  218. 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})
  219. RemoveOutlines(Part)
  220. return Part
  221. end
  222.  
  223. CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  224. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  225. if Mesh == "SpecialMesh" then
  226. Msh.MeshType = MeshType
  227. Msh.MeshId = MeshId
  228. end
  229. return Msh
  230. end
  231.  
  232. CreateWeld = function(Parent, Part0, Part1, C0, C1)
  233. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  234. return Weld
  235. end
  236.  
  237. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  238. if hit.Parent == nil then
  239. return
  240. end
  241. local h = hit.Parent:FindFirstChild("Humanoid")
  242. for _,v in pairs(hit.Parent:children()) do
  243. if v:IsA("Humanoid") then
  244. h = v
  245. end
  246. end
  247. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  248. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  249. return
  250. end
  251. local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
  252. game:GetService("Debris"):AddItem(c, 0.5)
  253. if HitSound ~= nil and HitPitch ~= nil then
  254. CreateSound(HitSound, hit, 1, HitPitch)
  255. end
  256. local Damage = math.random(minim, maxim)
  257. local blocked = false
  258. local block = hit.Parent:findFirstChild("Block")
  259. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  260. blocked = true
  261. block.Value = block.Value - 1
  262. print(block.Value)
  263. end
  264. if blocked == false then
  265. HitHealth = h.Health
  266. h.Health = h.Health - Damage
  267. if mana < 100 then
  268. mana = mana + math.random(5, 10)
  269. end
  270. if mana > 100 then
  271. mana = 100
  272. end
  273. if HitHealth ~= h.Health and HitHealth ~= 0 and h.Health <= 0 and h.Parent.Name ~= "Lost Soul" then
  274. print("gained spree")
  275. game.Players.LocalPlayer:FindFirstChild("leaderstats").Spree.Value = game.Players.LocalPlayer.leaderstats.Spree.Value + 1
  276. end
  277. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  278. else
  279. h.Health = h.Health - Damage / 2
  280. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  281. end
  282. if Type == "Knockdown" then
  283. local hum = hit.Parent.Humanoid
  284. hum.PlatformStand = true
  285. coroutine.resume(coroutine.create(function(HHumanoid)
  286. swait(1)
  287. HHumanoid.PlatformStand = false
  288. end
  289. ), hum)
  290. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  291. local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  292. 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})
  293. game:GetService("Debris"):AddItem(bodvol, 0.5)
  294. game:GetService("Debris"):AddItem(rl, 0.5)
  295. else
  296. do
  297. if Type == "Normal" then
  298. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
  299. if knockback > 0 then
  300. vp.Parent = hit.Parent.Torso
  301. end
  302. game:GetService("Debris"):AddItem(vp, 0.5)
  303. else
  304. do
  305. if Type == "Up" then
  306. local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  307. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  308. else
  309. do
  310. if Type == "DarkUp" then
  311. coroutine.resume(coroutine.create(function()
  312. for i = 0, 1, 0.1 do
  313. swait()
  314. BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  315. end
  316. end
  317. ))
  318. local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  319. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  320. else
  321. do
  322. if Type == "Snare" then
  323. 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})
  324. game:GetService("Debris"):AddItem(bp, 1)
  325. else
  326. do
  327. if Type == "Freeze" then
  328. 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})
  329. local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
  330. hit.Parent.Torso.Anchored = true
  331. coroutine.resume(coroutine.create(function(Part)
  332. swait(1.5)
  333. Part.Anchored = false
  334. end
  335. ), hit.Parent.Torso)
  336. game:GetService("Debris"):AddItem(BodPos, 3)
  337. game:GetService("Debris"):AddItem(BodGy, 3)
  338. end
  339. do
  340. local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  341. game:GetService("Debris"):AddItem(debounce, Delay)
  342. c = Instance.new("ObjectValue")
  343. c.Name = "creator"
  344. c.Value = Player
  345. c.Parent = h
  346. game:GetService("Debris"):AddItem(c, 0.5)
  347. end
  348. end
  349. end
  350. end
  351. end
  352. end
  353. end
  354. end
  355. end
  356. end
  357. end
  358. end
  359. end
  360.  
  361. ShowDamage = function(Pos, Text, Time, Color)
  362. local Rate = 0.033333333333333
  363. if not Pos then
  364. local Pos = Vector3.new(0, 0, 0)
  365. end
  366. local Text = Text or ""
  367. local Time = Time or 2
  368. if not Color then
  369. local Color = Color3.new(1, 0, 1)
  370. end
  371. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
  372. EffectPart.Anchored = true
  373. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
  374. 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})
  375. game.Debris:AddItem(EffectPart, Time + 0.1)
  376. EffectPart.Parent = game:GetService("Workspace")
  377. delay(0, function()
  378. local Frames = Time / Rate
  379. for Frame = 1, Frames do
  380. wait(Rate)
  381. local Percent = Frame / Frames
  382. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  383. TextLabel.TextTransparency = Percent
  384. end
  385. if EffectPart and EffectPart.Parent then
  386. EffectPart:Destroy()
  387. end
  388. end
  389. )
  390. end
  391.  
  392. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  393. for _,c in pairs(workspace:children()) do
  394. local hum = c:findFirstChild("Humanoid")
  395. if hum ~= nil then
  396. local head = c:findFirstChild("Torso")
  397. if head ~= nil then
  398. local targ = head.Position - Part.Position
  399. local mag = targ.magnitude
  400. if mag <= magni and c.Name ~= Player.Name then
  401. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
  402. end
  403. end
  404. end
  405. end
  406. end
  407.  
  408. Handle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "Handle", Vector3.new(0.200000003, 1.57000017, 0.200000003))
  409. HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.982839942, 0.146006823, 0.234023571, 0.211453959, -0.977137685, 0.0221185088, -0.0402157828, -0.0313093588, -0.99870044, 0.976560295, 0.210289627, -0.0459168404))
  410. CreateMesh("CylinderMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.5))
  411. FakeHandle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "FakeHandle", Vector3.new(0.200000003, 1.57000017, 0.200000003))
  412. 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, 3.7252903e-009, 6.4028427e-009, 3.7252903e-009, 1.00000012, 0, 6.4028427e-009, 0, 1.00000012))
  413. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 1, 0.200000003))
  414. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.07288361e-006, 0.683865368, -4.76837158e-007, 1, 3.7252903e-009, 6.4028427e-009, 3.7252903e-009, 1.00000012, 0, 6.4028427e-009, 0, 1.00000012))
  415. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(2, 0.5, 2))
  416. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Cone", Vector3.new(1, 1.01999998, 1))
  417. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.31791997, -0.975689411, 2.925138, 3.06405127e-006, 0.707111418, 0.707102299, -0.999756992, 0.0155918654, -0.0155877285, -0.0220473036, -0.706930399, 0.706939638))
  418. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  419. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1, 0.729999959, 1))
  420. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.4692868, -3.70743895, -1.52587891e-005, 0.916809797, -0.399324507, 1.15483999e-006, 0.399324447, 0.916809678, -4.00096178e-006, 5.56348823e-007, 4.12762165e-006, 1))
  421. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.200000003))
  422. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Cone", Vector3.new(1, 1.01999998, 1))
  423. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.31796861, -0.99111104, 3.62495184, 3.06405127e-006, 0.707111418, 0.707102299, -0.999756992, 0.0155918654, -0.0155877285, -0.0220473036, -0.706930399, 0.706939638))
  424. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  425. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Cone", Vector3.new(1, 1.01999998, 1))
  426. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.64674854, -0.903340101, -0.354405403, -1.83284283e-006, -1.00000012, 3.39746475e-006, -0.999756992, 1.90362334e-006, 0.0220472421, -0.0220472496, -3.36021185e-006, -0.999756992))
  427. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  428. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Cone", Vector3.new(1, 1.01999998, 1))
  429. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0155968666, -0.981806874, 5.01632404, 4.59002331e-006, 1.38655305e-005, 1, -0.999757051, 0.0220471006, 4.27453779e-006, -0.0220471006, -0.999757051, 1.39661133e-005))
  430. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  431. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Cone", Vector3.new(1, 1.01999998, 1))
  432. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.015683651, -0.99636519, 4.31590414, 4.59002331e-006, 1.38655305e-005, 1, -0.999757051, 0.0220471006, 4.27453779e-006, -0.0220471006, -0.999757051, 1.39661133e-005))
  433. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  434. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Cone", Vector3.new(1, 1.01999998, 1))
  435. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.2746892, -0.975648642, 2.9260354, 2.64961272e-006, -0.707099259, 0.707114458, -0.999756992, 0.0155881718, 0.0155915832, -0.0220474396, -0.706942558, -0.706927299))
  436. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  437. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Cone", Vector3.new(1, 1.01999998, 1))
  438. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.27468133, -0.991158009, 3.62575912, 2.64961272e-006, -0.707099259, 0.707114458, -0.999756992, 0.0155881718, 0.0155915832, -0.0220474396, -0.706942558, -0.706927299))
  439. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  440. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Cone", Vector3.new(1, 1.01999998, 1))
  441. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0155587196, -1.11407149, 4.663311, 4.59002331e-006, 1.38655305e-005, 1, -0.999757051, 0.0220471006, 4.27453779e-006, -0.0220471006, -0.999757051, 1.39661133e-005))
  442. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.550000012, 1, 0.550000012))
  443. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Cone", Vector3.new(1, 1.01999998, 1))
  444. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0131573677, 0.00466442108, 4.61167336, -1.74657907e-006, -1.09747052e-005, -1.00000012, 0.764525652, -0.644593418, 5.77419996e-006, -0.644593358, -0.764525771, 9.49576497e-006))
  445. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.550000012, 1, 0.550000012))
  446. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Cone", Vector3.new(1, 1.01999998, 1))
  447. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.6467495, -0.918762922, 0.345379829, -1.83284283e-006, -1.00000012, 3.39746475e-006, -0.999756992, 1.90362334e-006, 0.0220472421, -0.0220472496, -3.36021185e-006, -0.999756992))
  448. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
  449. Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  450. ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00376915932, -3.44346094, -0.00172424316, -1.00000012, -1.70432031e-006, 1.69267878e-007, 1.70432031e-006, -1.00000012, -2.12341547e-007, 1.75088644e-007, -2.12341547e-007, 1.00000012))
  451. CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.300000012, 0.200000003))
  452. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1, 1, 1))
  453. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.31130219e-006, -3.5749507, 0, 1, 3.7252903e-009, 6.4028427e-009, 3.7252903e-009, 1.00000012, 0, 6.4028427e-009, 0, 1.00000012))
  454. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 0.400000006))
  455. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.10000000149012, 0, "Really black", "Part", Vector3.new(0.200000003, 4.57000017, 0.200000003))
  456. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.96046448e-007, -1.50000107, 9.53674316e-007, 1, 3.7252903e-009, 6.4028427e-009, 3.7252903e-009, 1.00000012, 0, 6.4028427e-009, 0, 1.00000012))
  457. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.5))
  458. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(1, 1.16999996, 1))
  459. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.68149614, -0.0198745728, -1.09672546e-005, 0.0220478568, 0.999756992, -2.0749867e-006, -0.999756932, 0.0220478605, -1.48452818e-006, -1.42678618e-006, 2.10851431e-006, 1.00000012))
  460. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  461. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(1, 0.870000005, 1))
  462. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.71543217, -0.0690839291, -9.53674316e-006, 0.19052954, 0.981681645, -1.97067857e-006, -0.981681526, 0.190529525, -1.91386789e-006, -1.49046537e-006, 2.29105353e-006, 1.00000012))
  463. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.899999976))
  464. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1, 0.729999959, 1))
  465. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.51120782, -3.69066477, -7.15255737e-006, 0.911903143, 0.410405785, -3.35276127e-007, -0.410405725, 0.911903143, -1.79186463e-006, -4.35044058e-007, 1.76206231e-006, 1.00000012))
  466. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.200000003))
  467. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(1, 0.870000005, 1))
  468. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.71087646, -0.0231897831, -6.19888306e-006, 0.318961442, 0.947767794, -1.48266554e-006, -0.947767675, 0.318961442, -2.70921737e-006, -2.10118014e-006, 2.26870179e-006, 1.00000012))
  469. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.850000024))
  470. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 0, "Black", "Part", Vector3.new(1, 0.769999981, 1))
  471. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.68154573, -0.4009372, -5.7220459e-006, 0.516243339, 0.856442034, -8.04662704e-007, -0.856442034, 0.516243339, -4.18536365e-006, -3.15741636e-006, 2.8423965e-006, 1.00000012))
  472. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000012))
  473. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.10000000149012, 0, "Really black", "Part", Vector3.new(0.200000003, 2.57999992, 0.200000003))
  474. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.4570694e-006, 1.91385686, 4.76837158e-007, 1, 3.7252903e-009, 6.4028427e-009, 3.7252903e-009, 1.00000012, 0, 6.4028427e-009, 0, 1.00000012))
  475. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  476. Hitbox = CreatePart(m, Enum.Material.SmoothPlastic, 0.25, 1, "Black", "Hitbox", Vector3.new(2.4000001, 3.67000008, 0.399999976))
  477. HitboxWeld = CreateWeld(m, FakeHandle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.76720476, 3.04898357, 0.00860214233, -0.699169815, 0.713988841, 0.0371726528, -0.713755548, -0.700063348, 0.0215496495, 0.0414094217, -0.0114653222, 0.999076545))
  478. rayCast = function(Position, Direction, Range, Ignore)
  479. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  480. end
  481.  
  482. CreateSound = function(id, par, vol, pit)
  483. coroutine.resume(coroutine.create(function()
  484. local sou = Instance.new("Sound", par or workspace)
  485. sou.Volume = vol
  486. sou.Pitch = pit or 1
  487. sou.SoundId = id
  488. swait()
  489. sou:play()
  490. game:GetService("Debris"):AddItem(sou, 6)
  491. end
  492. ))
  493. end
  494.  
  495. local getclosest = function(obj, distance)
  496. local last, lastx = distance + 1, nil
  497. for i,v in pairs(workspace:GetChildren()) do
  498. if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  499. local t = v.Torso
  500. local dist = t.Position - obj.Position.magnitude
  501. if dist <= distance and dist < last then
  502. last = dist
  503. lastx = v
  504. end
  505. end
  506. end
  507. return lastx
  508. end
  509.  
  510. BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  511. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  512. prt.Anchored = true
  513. prt.CFrame = cframe
  514. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  515. game:GetService("Debris"):AddItem(prt, 10)
  516. if Type == 1 or Type == nil then
  517. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  518. else
  519. if Type == 2 then
  520. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  521. end
  522. end
  523. end
  524.  
  525. SphereEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  526. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  527. prt.Anchored = true
  528. prt.CFrame = cframe
  529. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  530. game:GetService("Debris"):AddItem(prt, 10)
  531. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  532. end
  533.  
  534. RingEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  535. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  536. prt.Anchored = true
  537. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  538. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  539. game:GetService("Debris"):AddItem(prt, 10)
  540. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  541. end
  542.  
  543. CylinderEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  544. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  545. prt.Anchored = true
  546. prt.CFrame = cframe
  547. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  548. game:GetService("Debris"):AddItem(prt, 10)
  549. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  550. end
  551.  
  552. WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  553. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  554. prt.Anchored = true
  555. prt.CFrame = cframe
  556. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  557. game:GetService("Debris"):AddItem(prt, 10)
  558. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  559. end
  560.  
  561. SpecialEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  562. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  563. prt.Anchored = true
  564. prt.CFrame = cframe
  565. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  566. game:GetService("Debris"):AddItem(prt, 10)
  567. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  568. end
  569.  
  570. DragonEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  571. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  572. prt.Anchored = true
  573. prt.CFrame = cframe
  574. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://51177741", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  575. game:GetService("Debris"):AddItem(prt, 10)
  576. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  577. end
  578.  
  579. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  580. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  581. prt.Anchored = true
  582. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  583. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  584. local num = math.random(10, 50) / 1000
  585. game:GetService("Debris"):AddItem(prt, 10)
  586. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  587. end
  588.  
  589. attackone = function()
  590. attack = true
  591. for i = 0, 1, 0.1 do
  592. swait()
  593. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  594. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  595. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-50), math.rad(90)), 0.3)
  596. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  597. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  598. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  599. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2)
  600. end
  601. local con = Hitbox.Touched:connect(function(hit)
  602. Damagefunc(Hitbox, hit, 10, 15, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  603. end
  604. )
  605. CreateSound("http://www.roblox.com/asset/?id=234365549", Torso, 1, 1)
  606. for i = 0, 1, 0.1 do
  607. swait()
  608. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(100)), 0.3)
  609. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  610. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3)
  611. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(-80)), 0.3)
  612. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  613. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  614. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-150)), 0.2)
  615. end
  616. con:disconnect()
  617. attack = false
  618. end
  619.  
  620. Deathwish = function()
  621. attack = true
  622. CreateSound("http://www.roblox.com/asset/?id=231917970", RootPart, 1, 1)
  623. for i = 0, 1, 0.05 do
  624. swait()
  625. WaveEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, -2.5, 0), 5, 2, 5, 1, 0.1, 1, 0.09)
  626. BlockEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, -1, 0), 5, 5, 5, 0.5, 0.5, 0.5, 0.08, 1)
  627. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  628. 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)
  629. 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)
  630. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  631. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  632. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  633. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2)
  634. end
  635. MagniDamage(RootPart, 55, 10, 15, 0, "DarkUp")
  636. CreateSound("http://www.roblox.com/asset/?id=192410089", RootPart, 1, 1)
  637. BlockEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, -1, 0), 5, 5, 5, 5, 5, 5, 0.06, 1)
  638. WaveEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, -2.5, 0), 5, 2, 5, 2, 0.1, 2, 0.07)
  639. for i = 0, 1, 0.05 do
  640. swait()
  641. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  642. 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)
  643. 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)
  644. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-190)), 0.3)
  645. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  646. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  647. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2)
  648. end
  649. for i = 0, 1, 0.1 do
  650. swait()
  651. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-110)), 0.3)
  652. 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)
  653. 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)
  654. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-80), math.rad(-90)), 0.3)
  655. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  656. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  657. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2)
  658. end
  659. MagniDamage(RootPart, 55, 5, 10, -70, "Knockdown")
  660. CreateSound("http://www.roblox.com/asset/?id=192410089", RootPart, 1, 1.2)
  661. SphereEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, -1, 0), 5, 5, 5, 10, 10, 10, 0.06)
  662. BlockEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, -1, 0), 5, 5, 5, 5, 5, 5, 0.06, 1)
  663. WaveEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, -2.5, 0), 5, 2, 5, 0.5, 1, 0.5, 0.07)
  664. for i = 0, 1, 0.1 do
  665. swait()
  666. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3)
  667. 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)
  668. 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)
  669. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  670. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  671. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  672. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2)
  673. end
  674. attack = false
  675. end
  676.  
  677. ChaosDriver = function()
  678. attack = true
  679. for i = 0, 1, 0.05 do
  680. swait()
  681. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  682. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  683. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-50), math.rad(90)), 0.3)
  684. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  685. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  686. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  687. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2)
  688. end
  689. CreateSound("http://www.roblox.com/asset/?id=234365549", Torso, 1, 1)
  690. coroutine.resume(coroutine.create(function()
  691. for i = 1, 5 do
  692. swait()
  693. local ef = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Effect", vt())
  694. ef.Anchored = true
  695. ef.CFrame = RootPart.CFrame * cf(0, 0, -10 * i)
  696. MagniDamage(ef, 17, 10, 15, 1, "DarkUp")
  697. game:GetService("Debris"):AddItem(ef, 0.5)
  698. CreateSound("http://www.roblox.com/asset/?id=231917784", ef, 1, 0.7)
  699. 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)
  700. DragonEffect(BrickColor.new("Magenta"), 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)
  701. end
  702. end
  703. ))
  704. for i = 0, 1, 0.1 do
  705. swait()
  706. BlockEffect(BrickColor.new("Really black"), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08, 1)
  707. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(100)), 0.3)
  708. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  709. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3)
  710. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(-80)), 0.3)
  711. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  712. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  713. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-150)), 0.2)
  714. end
  715. attack = false
  716. end
  717.  
  718. attacktwo = function()
  719. attack = true
  720. for i = 0, 1, 0.1 do
  721. swait()
  722. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(100)), 0.3)
  723. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  724. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3)
  725. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(-30)), 0.3)
  726. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  727. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  728. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2)
  729. end
  730. local con = Hitbox.Touched:connect(function(hit)
  731. Damagefunc(Hitbox, hit, 10, 15, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  732. end
  733. )
  734. CreateSound("http://www.roblox.com/asset/?id=234365573", Torso, 1, 1)
  735. for i = 0, 1, 0.1 do
  736. swait()
  737. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  738. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  739. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-50), math.rad(90)), 0.3)
  740. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  741. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  742. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  743. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2)
  744. end
  745. con:disconnect()
  746. attack = false
  747. end
  748.  
  749. local soundn = false
  750. attackthree = function()
  751. attack = true
  752. soundn = true
  753. for i = 0, 1, 0.1 do
  754. swait()
  755. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3)
  756. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3)
  757. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-50), math.rad(180)), 0.3)
  758. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  759. RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(-10), math.rad(-50), math.rad(0)), 0.3)
  760. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  761. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(200), math.rad(-100), math.rad(0)), 0.2)
  762. end
  763. local con = Hitbox.Touched:connect(function(hit)
  764. Damagefunc(Hitbox, hit, 10, 15, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  765. end
  766. )
  767. CreateSound("http://www.roblox.com/asset/?id=234365573", Torso, 1, 1)
  768. coroutine.resume(coroutine.create(function()
  769. while soundn do
  770. wait(0.3)
  771. CreateSound("http://www.roblox.com/asset/?id=234365573", Torso, 1, 1)
  772. end
  773. end
  774. ))
  775. for i = 0, 1, 0.1 do
  776. swait()
  777. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * i)), 0.3)
  778. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  779. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3)
  780. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(-30)), 0.3)
  781. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  782. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  783. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2)
  784. end
  785. con:disconnect()
  786. soundn = false
  787. attack = false
  788. end
  789.  
  790. ThanatosDriver = function()
  791. attack = true
  792. for i = 0, 1, 0.1 do
  793. swait()
  794. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3)
  795. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3)
  796. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(180)), 0.3)
  797. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(-100)), 0.3)
  798. RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(-10), math.rad(-50), math.rad(0)), 0.3)
  799. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  800. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(200), math.rad(-100), math.rad(0)), 0.2)
  801. end
  802. local con = Hitbox.Touched:connect(function(hit)
  803. Damagefunc(Hitbox, hit, 30, 30, 50, "Knockdown", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  804. end
  805. )
  806. CreateSound("http://www.roblox.com/asset/?id=231917871", Torso, 1, 0.7)
  807. for i = 0, 1, 0.1 do
  808. swait()
  809. BlockEffect(BrickColor.new("Really black"), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08, 1)
  810. BlockEffect(BrickColor.new("Magenta"), Hitbox.CFrame, 3, 3, 3, 3, 3, 3, 0.08, 2)
  811. DragonEffect(BrickColor.new("Black"), 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)
  812. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3)
  813. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3)
  814. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(30)), 0.3)
  815. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.3)
  816. RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(-10), math.rad(-50), math.rad(0)), 0.3)
  817. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  818. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(200), math.rad(-100), math.rad(170)), 0.2)
  819. end
  820. con:disconnect()
  821. attack = false
  822. end
  823.  
  824. LastResort = function()
  825. attack = true
  826. soundn = true
  827. CreateSound("http://www.roblox.com/asset/?id=233096557", Torso, 1, 1)
  828. MagniDamage(RootPart, 10, 5, 10, 0, "Knockdown")
  829. SpecialEffect(BrickColor.new("Really black"), Torso.CFrame, 5, 5, 5, 3, 3, 3, 0.08)
  830. SpecialEffect(BrickColor.new("Magenta"), Torso.CFrame, 2, 2, 2, 3, 3, 3, 0.07)
  831. RootPart.CFrame = RootPart.CFrame * cf(0, 0, 20)
  832. for i = 0, 1, 0.1 do
  833. swait()
  834. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3)
  835. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3)
  836. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(180)), 0.3)
  837. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(-100)), 0.3)
  838. RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(-10), math.rad(-50), math.rad(0)), 0.3)
  839. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  840. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(200), math.rad(-100), math.rad(0)), 0.2)
  841. end
  842. CreateSound("http://www.roblox.com/asset/?id=231917871", Torso, 1, 1)
  843. coroutine.resume(coroutine.create(function()
  844. while soundn do
  845. wait(0.5)
  846. CreateSound("http://www.roblox.com/asset/?id=231917871", Torso, 1, 1)
  847. end
  848. end
  849. ))
  850. for i = 0, 1, 0.1 do
  851. swait()
  852. MagniDamage(RootPart, 10, 5, 10, 0, "Normal")
  853. Torso.Velocity = RootPart.CFrame.lookVector * 100
  854. BlockEffect(BrickColor.new("Really black"), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08, 1)
  855. BlockEffect(BrickColor.new("Magenta"), Hitbox.CFrame, 3, 3, 3, 3, 3, 3, 0.08, 2)
  856. DragonEffect(BrickColor.new("Black"), 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)
  857. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * i)), 0.3)
  858. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  859. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3)
  860. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(-30)), 0.3)
  861. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  862. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  863. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2)
  864. end
  865. for i = 0, 1, 0.1 do
  866. swait()
  867. MagniDamage(RootPart, 10, 3, 3, 0, "Normal")
  868. Torso.Velocity = RootPart.CFrame.lookVector * 100
  869. BlockEffect(BrickColor.new("Really black"), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08, 1)
  870. BlockEffect(BrickColor.new("Magenta"), Hitbox.CFrame, 3, 3, 3, 3, 3, 3, 0.08, 2)
  871. DragonEffect(BrickColor.new("Black"), 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)
  872. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * i)), 0.3)
  873. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3)
  874. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3)
  875. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(-30)), 0.3)
  876. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  877. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  878. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2)
  879. end
  880. soundn = false
  881. attack = false
  882. end
  883.  
  884. ob1u = function()
  885. end
  886.  
  887. ob1d = function()
  888. if attack == false and attacktype == 1 then
  889. attacktype = 2
  890. attackone()
  891. else
  892. if attack == false and attacktype == 2 then
  893. attacktype = 3
  894. attacktwo()
  895. else
  896. if attack == false and attacktype == 3 then
  897. attacktype = 1
  898. attackthree()
  899. end
  900. end
  901. end
  902. end
  903.  
  904. key = function(k)
  905. k = k:lower()
  906. if attack == false and k == "z" and zenabled == true then
  907. zenabled = false
  908. coroutine.resume(coroutine.create(function()
  909. for i = 1, 0, -0.02 do
  910. swait()
  911. fenframe1a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  912. end
  913. zenabled = true
  914. fenframe1a.Size = UDim2.new(0, 0, 0.1, 0)
  915. end
  916. ))
  917. ThanatosDriver()
  918. else
  919. if attack == false and k == "x" and xenabled == true then
  920. xenabled = false
  921. coroutine.resume(coroutine.create(function()
  922. for i = 1, 0, -0.005 do
  923. swait()
  924. fenframe2a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  925. end
  926. xenabled = true
  927. fenframe2a.Size = UDim2.new(0, 0, 0.1, 0)
  928. end
  929. ))
  930. LastResort()
  931. else
  932. if attack == false and k == "c" and cenabled == true then
  933. cenabled = false
  934. coroutine.resume(coroutine.create(function()
  935. for i = 1, 0, -0.0025 do
  936. swait()
  937. fenframe3a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  938. end
  939. cenabled = true
  940. fenframe3a.Size = UDim2.new(0, 0, 0.1, 0)
  941. end
  942. ))
  943. ChaosDriver()
  944. else
  945. if attack == false and k == "v" and venabled == true then
  946. venabled = false
  947. coroutine.resume(coroutine.create(function()
  948. for i = 1, 0, -0.0005 do
  949. swait()
  950. fenframe4a.Size = UDim2.new(0.05 * i, 0, 0.1, 0)
  951. end
  952. venabled = true
  953. fenframe4a.Size = UDim2.new(0, 0, 0.1, 0)
  954. end
  955. ))
  956. Deathwish()
  957. end
  958. end
  959. end
  960. end
  961. end
  962.  
  963. Bin = Instance.new("HopperBin", Player.Backpack)
  964. ds = function(mouse)
  965. end
  966.  
  967. s = function(mouse)
  968. print("Selected")
  969. mouse.Button1Down:connect(function()
  970. ob1d(mouse)
  971. end
  972. )
  973. mouse.Button1Up:connect(function()
  974. ob1u(mouse)
  975. end
  976. )
  977. mouse.KeyDown:connect(key)
  978. end
  979.  
  980. Bin.Selected:connect(s)
  981. Bin.Deselected:connect(ds)
  982. while 1 do
  983. swait()
  984. Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  985. velocity = RootPart.Velocity.y
  986. sine = sine + change
  987. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  988. if equipped == true or equipped == false then
  989. if 1 < RootPart.Velocity.y and hit == nil then
  990. Anim = "Jump"
  991. if attack == false then
  992. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  993. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-4 * math.cos((sine) / 25)), math.rad(-30)), 0.3)
  994. 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)
  995. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  996. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  997. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  998. end
  999. else
  1000. if RootPart.Velocity.y < -1 and hit == nil then
  1001. Anim = "Fall"
  1002. if attack == false then
  1003. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1004. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(30), math.rad(-4 * math.cos((sine) / 25)), math.rad(-30)), 0.3)
  1005. 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)
  1006. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1007. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1008. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1009. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2)
  1010. end
  1011. else
  1012. if Torsovelocity.x < 1 and Torsovelocity.z < 1 and hit ~= nil then
  1013. Anim = "Idle"
  1014. if attack == false then
  1015. change = 1
  1016. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1017. 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(-30)), 0.3)
  1018. 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)
  1019. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1020. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1021. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1022. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2)
  1023. end
  1024. else
  1025. if Torsovelocity.x > 2 and Torsovelocity.z > 2 and hit ~= nil then
  1026. Anim = "Walk"
  1027. if attack == false then
  1028. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1029. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1030. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.3)
  1031. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1032. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1033. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  1034. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2)
  1035. end
  1036. end
  1037. end
  1038. end
  1039. end
  1040. end
  1041. if 0 < #Effects then
  1042. for e = 1, #Effects do
  1043. if Effects[e] ~= nil then
  1044. local Thing = Effects[e]
  1045. if Thing ~= nil then
  1046. local Part = Thing[1]
  1047. local Mode = Thing[2]
  1048. local Delay = Thing[3]
  1049. local IncX = Thing[4]
  1050. local IncY = Thing[5]
  1051. local IncZ = Thing[6]
  1052. if Thing[1].Transparency <= 1 then
  1053. if Thing[2] == "Block1" then
  1054. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1055. Mesh = Thing[1].Mesh
  1056. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1057. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1058. else
  1059. if Thing[2] == "Block2" then
  1060. Thing[1].CFrame = Thing[1].CFrame
  1061. Mesh = Thing[7]
  1062. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1063. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1064. else
  1065. if Thing[2] == "Cylinder" then
  1066. Mesh = Thing[1].Mesh
  1067. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1068. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1069. else
  1070. if Thing[2] == "Blood" then
  1071. Mesh = Thing[7]
  1072. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1073. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1074. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1075. else
  1076. if Thing[2] == "Elec" then
  1077. Mesh = Thing[1].Mesh
  1078. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1079. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1080. else
  1081. if Thing[2] == "Disappear" then
  1082. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1083. else
  1084. if Thing[2] == "Shatter" then
  1085. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1086. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1087. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1088. Thing[6] = Thing[6] + Thing[5]
  1089. end
  1090. end
  1091. end
  1092. end
  1093. end
  1094. end
  1095. end
  1096. else
  1097. Part.Parent = nil
  1098. table.remove(Effects, e)
  1099. end
  1100. end
  1101. end
  1102. end
  1103. end
  1104. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement