Advertisement
Christoffer07700Extr

idk

Oct 6th, 2019
357
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 59.16 KB | None | 0 0
  1. wait(0.2)
  2. Player = game:GetService("Players").LocalPlayer
  3. PlayerGui = Player.PlayerGui
  4. Cam = workspace.CurrentCamera
  5. Backpack = Player.Backpack
  6. Character = Player.Character
  7. Humanoid = Character.Humanoid
  8. Mouse = Player:GetMouse()
  9. RootPart = Character["HumanoidRootPart"]
  10. Torso = Character["Torso"]
  11. Head = Character["Head"]
  12. RightArm = Character["Right Arm"]
  13. LeftArm = Character["Left Arm"]
  14. RightLeg = Character["Right Leg"]
  15. LeftLeg = Character["Left Leg"]
  16. RootJoint = RootPart["RootJoint"]
  17. Neck = Torso["Neck"]
  18. RightShoulder = Torso["Right Shoulder"]
  19. LeftShoulder = Torso["Left Shoulder"]
  20. RightHip = Torso["Right Hip"]
  21. LeftHip = Torso["Left Hip"]
  22. local sick = Instance.new("Sound",Character)
  23. sick.SoundId = "rbxassetid://727237039"
  24. sick.Looped = true
  25. sick.Pitch = 1
  26. sick.Volume = 2
  27. sick:Play()
  28.  
  29. IT = Instance.new
  30. CF = CFrame.new
  31. VT = Vector3.new
  32. RAD = math.rad
  33. C3 = Color3.new
  34. UD2 = UDim2.new
  35. BRICKC = BrickColor.new
  36. ANGLES = CFrame.Angles
  37. EULER = CFrame.fromEulerAnglesXYZ
  38. COS = math.cos
  39. ACOS = math.acos
  40. SIN = math.sin
  41. ASIN = math.asin
  42. ABS = math.abs
  43. MRANDOM = math.random
  44. FLOOR = math.floor
  45.  
  46. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  47. local NEWMESH = IT(MESH)
  48. if MESH == "SpecialMesh" then
  49. NEWMESH.MeshType = MESHTYPE
  50. if MESHID ~= "nil" and MESHID ~= "" then
  51. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  52. end
  53. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  54. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  55. end
  56. end
  57. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  58. NEWMESH.Scale = SCALE
  59. NEWMESH.Parent = PARENT
  60. return NEWMESH
  61. end
  62.  
  63. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  64. local NEWPART = IT("Part")
  65. NEWPART.formFactor = FORMFACTOR
  66. NEWPART.Reflectance = REFLECTANCE
  67. NEWPART.Transparency = TRANSPARENCY
  68. NEWPART.CanCollide = false
  69. NEWPART.Locked = true
  70. NEWPART.Anchored = true
  71. if ANCHOR == false then
  72. NEWPART.Anchored = false
  73. end
  74. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  75. NEWPART.Name = NAME
  76. NEWPART.Size = SIZE
  77. NEWPART.Position = Torso.Position
  78. NEWPART.Material = MATERIAL
  79. NEWPART:BreakJoints()
  80. NEWPART.Parent = PARENT
  81. return NEWPART
  82. end
  83.  
  84. Class_Name = "Void Face"
  85. Weapon_Name = "Add-ons"
  86.  
  87. Player_Size = 1 --Size of the player.
  88. Animation_Speed = 3
  89. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  90.  
  91. local Speed = 16
  92. local Effects2 = {}
  93.  
  94. local function weldBetween(a, b)
  95. local weldd = Instance.new("ManualWeld")
  96. weldd.Part0 = a
  97. weldd.Part1 = b
  98. weldd.C0 = CFrame.new()
  99. weldd.C1 = b.CFrame:inverse() * a.CFrame
  100. weldd.Parent = a
  101. return weldd
  102. end
  103.  
  104. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  105. local acs = Instance.new("Part")
  106. acs.CanCollide = false
  107. acs.Anchored = false
  108. acs.Size = Vector3.new(0,0,0)
  109. acs.CFrame = attachmentpart.CFrame
  110. acs.Parent = Character
  111. acs.BrickColor = color
  112. local meshs = Instance.new("SpecialMesh")
  113. meshs.MeshId = mesh
  114. meshs.TextureId = texture
  115. meshs.Parent = acs
  116. meshs.Scale = scale
  117. meshs.Offset = offset
  118. weldBetween(attachmentpart,acs)
  119. end
  120.  
  121. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  122. if TYPE == "Gem" then
  123. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  124. acs.Anchored = false
  125. acs.CanCollide = false
  126. acs.CFrame = PART.CFrame
  127. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  128. weldBetween(PART,acs)
  129. elseif TYPE == "Skull" then
  130. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  131. acs.Anchored = false
  132. acs.CanCollide = false
  133. acs.CFrame = PART.CFrame
  134. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  135. weldBetween(PART,acs)
  136. elseif TYPE == "Eye" then
  137. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  138. acs.Anchored = false
  139. acs.CanCollide = false
  140. acs.CFrame = PART.CFrame
  141. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  142. weldBetween(PART,acs)
  143. end
  144. end
  145.  
  146. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  147. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  148. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  149. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  150. local CHANGEDEFENSE = 0
  151. local CHANGEDAMAGE = 0
  152. local CHANGEMOVEMENT = 0
  153. local ANIM = "Idle"
  154. local ATTACK = false
  155. local EQUIPPED = false
  156. local HOLD = false
  157. local COMBO = 1
  158. local Rooted = false
  159. local SINE = 0
  160. local KEYHOLD = false
  161. local CHANGE = 2 / Animation_Speed
  162. local WALKINGANIM = false
  163. local WALK = 0
  164. local VALUE1 = false
  165. local VALUE2 = false
  166. local ROBLOXIDLEANIMATION = IT("Animation")
  167. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  168. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  169. --ROBLOXIDLEANIMATION.Parent = Humanoid
  170. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  171. WEAPONGUI.Name = "Weapon GUI"
  172. local Weapon = IT("Model")
  173. Weapon.Name = Weapon_Name
  174. local Effects = IT("Folder", Weapon)
  175. Effects.Name = "Effects"
  176. local ANIMATOR = Humanoid.Animator
  177. local ANIMATE = Character.Animate
  178. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  179. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  180. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  181. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  182. local TAUNTS = {"368794227","368794903","368794985"}
  183. local UNANCHOR = true
  184.  
  185. ArtificialHB = Instance.new("BindableEvent", script)
  186. ArtificialHB.Name = "ArtificialHB"
  187.  
  188. script:WaitForChild("ArtificialHB")
  189.  
  190. frame = Frame_Speed
  191. tf = 0
  192. allowframeloss = false
  193. tossremainder = false
  194. lastframe = tick()
  195. script.ArtificialHB:Fire()
  196.  
  197. game:GetService("RunService").Heartbeat:connect(function(s, p)
  198. tf = tf + s
  199. if tf >= frame then
  200. if allowframeloss then
  201. script.ArtificialHB:Fire()
  202. lastframe = tick()
  203. else
  204. for i = 1, math.floor(tf / frame) do
  205. script.ArtificialHB:Fire()
  206. end
  207. lastframe = tick()
  208. end
  209. if tossremainder then
  210. tf = 0
  211. else
  212. tf = tf - frame * math.floor(tf / frame)
  213. end
  214. end
  215. end)
  216.  
  217. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  218. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  219. end
  220.  
  221. function PositiveAngle(NUMBER)
  222. if NUMBER >= 0 then
  223. NUMBER = 0
  224. end
  225. return NUMBER
  226. end
  227.  
  228. function NegativeAngle(NUMBER)
  229. if NUMBER <= 0 then
  230. NUMBER = 0
  231. end
  232. return NUMBER
  233. end
  234.  
  235. function Swait(NUMBER)
  236. if NUMBER == 0 or NUMBER == nil then
  237. ArtificialHB.Event:wait()
  238. else
  239. for i = 1, NUMBER do
  240. ArtificialHB.Event:wait()
  241. end
  242. end
  243. end
  244.  
  245. function QuaternionFromCFrame(cf)
  246. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  247. local trace = m00 + m11 + m22
  248. if trace > 0 then
  249. local s = math.sqrt(1 + trace)
  250. local recip = 0.5 / s
  251. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  252. else
  253. local i = 0
  254. if m11 > m00 then
  255. i = 1
  256. end
  257. if m22 > (i == 0 and m00 or m11) then
  258. i = 2
  259. end
  260. if i == 0 then
  261. local s = math.sqrt(m00 - m11 - m22 + 1)
  262. local recip = 0.5 / s
  263. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  264. elseif i == 1 then
  265. local s = math.sqrt(m11 - m22 - m00 + 1)
  266. local recip = 0.5 / s
  267. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  268. elseif i == 2 then
  269. local s = math.sqrt(m22 - m00 - m11 + 1)
  270. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  271. end
  272. end
  273. end
  274.  
  275. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  276. local xs, ys, zs = x + x, y + y, z + z
  277. local wx, wy, wz = w * xs, w * ys, w * zs
  278. local xx = x * xs
  279. local xy = x * ys
  280. local xz = x * zs
  281. local yy = y * ys
  282. local yz = y * zs
  283. local zz = z * zs
  284. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  285. end
  286.  
  287. function QuaternionSlerp(a, b, t)
  288. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  289. local startInterp, finishInterp;
  290. if cosTheta >= 0.0001 then
  291. if (1 - cosTheta) > 0.0001 then
  292. local theta = ACOS(cosTheta)
  293. local invSinTheta = 1 / SIN(theta)
  294. startInterp = SIN((1 - t) * theta) * invSinTheta
  295. finishInterp = SIN(t * theta) * invSinTheta
  296. else
  297. startInterp = 1 - t
  298. finishInterp = t
  299. end
  300. else
  301. if (1 + cosTheta) > 0.0001 then
  302. local theta = ACOS(-cosTheta)
  303. local invSinTheta = 1 / SIN(theta)
  304. startInterp = SIN((t - 1) * theta) * invSinTheta
  305. finishInterp = SIN(t * theta) * invSinTheta
  306. else
  307. startInterp = t - 1
  308. finishInterp = t
  309. end
  310. end
  311. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  312. end
  313.  
  314. function Clerp(a, b, t)
  315. local qa = {QuaternionFromCFrame(a)}
  316. local qb = {QuaternionFromCFrame(b)}
  317. local ax, ay, az = a.x, a.y, a.z
  318. local bx, by, bz = b.x, b.y, b.z
  319. local _t = 1 - t
  320. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  321. end
  322.  
  323. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  324. local frame = IT("Frame")
  325. frame.BackgroundTransparency = TRANSPARENCY
  326. frame.BorderSizePixel = BORDERSIZEPIXEL
  327. frame.Position = POSITION
  328. frame.Size = SIZE
  329. frame.BackgroundColor3 = COLOR
  330. frame.BorderColor3 = BORDERCOLOR
  331. frame.Name = NAME
  332. frame.Parent = PARENT
  333. return frame
  334. end
  335.  
  336. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  337. local label = IT("TextLabel")
  338. label.BackgroundTransparency = 1
  339. label.Size = UD2(1, 0, 1, 0)
  340. label.Position = UD2(0, 0, 0, 0)
  341. label.TextColor3 = TEXTCOLOR
  342. label.TextStrokeTransparency = STROKETRANSPARENCY
  343. label.TextTransparency = TRANSPARENCY
  344. label.FontSize = TEXTFONTSIZE
  345. label.Font = TEXTFONT
  346. label.BorderSizePixel = BORDERSIZEPIXEL
  347. label.TextScaled = false
  348. label.Text = TEXT
  349. label.Name = NAME
  350. label.Parent = PARENT
  351. return label
  352. end
  353.  
  354. function NoOutlines(PART)
  355. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  356. end
  357.  
  358.  
  359. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  360. local NEWWELD = IT(TYPE)
  361. NEWWELD.Part0 = PART0
  362. NEWWELD.Part1 = PART1
  363. NEWWELD.C0 = C0
  364. NEWWELD.C1 = C1
  365. NEWWELD.Parent = PARENT
  366. return NEWWELD
  367. end
  368.  
  369. local sound = IT("Sound",nil)
  370.  
  371. function CreateSound(ID, PARENT, VOLUME, PITCH)
  372. local NEWSOUND = nil
  373. coroutine.resume(coroutine.create(function()
  374. NEWSOUND = sound:Clone()
  375. NEWSOUND.Parent = PARENT
  376. NEWSOUND.Volume = VOLUME
  377. NEWSOUND.Pitch = PITCH
  378. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  379. Swait()
  380. NEWSOUND:play()
  381. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  382. end))
  383. return NEWSOUND
  384. end
  385.  
  386. function CFrameFromTopBack(at, top, back)
  387. local right = top:Cross(back)
  388. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  389. end
  390.  
  391. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  392. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  393. local mesh = IT("SpecialMesh",wave)
  394. mesh.MeshType = "FileMesh"
  395. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  396. mesh.Scale = SIZE
  397. mesh.Offset = VT(0,0,-SIZE.X/8)
  398. wave.CFrame = CFRAME
  399. coroutine.resume(coroutine.create(function(PART)
  400. for i = 1, WAIT do
  401. Swait()
  402. mesh.Scale = mesh.Scale + GROW
  403. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  404. if DOESROT == true then
  405. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  406. end
  407. wave.Transparency = wave.Transparency + (0.5/WAIT)
  408. if wave.Transparency > 0.99 then
  409. wave:remove()
  410. end
  411. end
  412. end))
  413. end
  414.  
  415. function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  416. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  417. local mesh = IT("SpecialMesh",wave)
  418. mesh.MeshType = "FileMesh"
  419. mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
  420. mesh.Scale = SIZE
  421. mesh.Offset = VT(0,0,-SIZE.X/8)
  422. wave.CFrame = CFRAME
  423. coroutine.resume(coroutine.create(function(PART)
  424. for i = 1, WAIT do
  425. Swait()
  426. mesh.Scale = mesh.Scale + GROW
  427. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  428. if DOESROT == true then
  429. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  430. end
  431. wave.Transparency = wave.Transparency + (0.5/WAIT)
  432. if wave.Transparency > 0.99 then
  433. wave:remove()
  434. end
  435. end
  436. end))
  437. end
  438.  
  439. function CreateIceCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  440. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  441. local mesh = IT("SpecialMesh",wave)
  442. mesh.MeshType = "FileMesh"
  443. mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  444. mesh.Scale = SIZE
  445. mesh.Offset = VT(0,0,-SIZE.X/8)
  446. wave.CFrame = CFRAME
  447. coroutine.resume(coroutine.create(function(PART)
  448. for i = 1, WAIT do
  449. Swait()
  450. mesh.Scale = mesh.Scale + GROW
  451. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  452. if DOESROT == true then
  453. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  454. end
  455. wave.Transparency = wave.Transparency + (0.5/WAIT)
  456. if wave.Transparency > 0.99 then
  457. wave:remove()
  458. end
  459. end
  460. end))
  461. end
  462.  
  463. function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  464. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  465. local mesh = IT("SpecialMesh",wave)
  466. mesh.MeshType = "FileMesh"
  467. mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  468. mesh.Scale = SIZE
  469. mesh.Offset = VT(0,0,-SIZE.X/8)
  470. wave.CFrame = CFRAME
  471. coroutine.resume(coroutine.create(function(PART)
  472. for i = 1, WAIT do
  473. Swait()
  474. mesh.Scale = mesh.Scale + GROW
  475. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  476. if DOESROT == true then
  477. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  478. end
  479. wave.Transparency = wave.Transparency + (0.5/WAIT)
  480. if wave.Transparency > 0.99 then
  481. wave:remove()
  482. end
  483. end
  484. end))
  485. end
  486.  
  487. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  488. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  489. local mesh = IT("SpecialMesh",wave)
  490. mesh.MeshType = "FileMesh"
  491. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  492. mesh.Scale = SIZE
  493. wave.CFrame = CFRAME
  494. coroutine.resume(coroutine.create(function(PART)
  495. for i = 1, WAIT do
  496. Swait()
  497. mesh.Scale = mesh.Scale + GROW
  498. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  499. if DOESROT == true then
  500. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  501. end
  502. wave.Transparency = wave.Transparency + (0.5/WAIT)
  503. if wave.Transparency > 0.99 then
  504. wave:remove()
  505. end
  506. end
  507. end))
  508. end
  509.  
  510. function CreateTornado(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  511. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  512. local mesh = IT("SpecialMesh",wave)
  513. mesh.MeshType = "FileMesh"
  514. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  515. mesh.Scale = SIZE
  516. wave.CFrame = CFRAME
  517. coroutine.resume(coroutine.create(function(PART)
  518. for i = 1, WAIT do
  519. Swait()
  520. mesh.Scale = mesh.Scale + GROW
  521. if DOESROT == true then
  522. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  523. end
  524. wave.Transparency = wave.Transparency + (0.5/WAIT)
  525. if wave.Transparency > 0.99 then
  526. wave:remove()
  527. end
  528. end
  529. end))
  530. end
  531.  
  532. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  533. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  534. local mesh = IT("SpecialMesh",wave)
  535. mesh.MeshType = "FileMesh"
  536. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  537. mesh.Scale = SIZE
  538. mesh.Offset = VT(0,0,0)
  539. wave.CFrame = CFRAME
  540. coroutine.resume(coroutine.create(function(PART)
  541. for i = 1, WAIT do
  542. Swait()
  543. mesh.Scale = mesh.Scale + GROW
  544. if DOESROT == true then
  545. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  546. end
  547. wave.Transparency = wave.Transparency + (0.5/WAIT)
  548. if wave.Transparency > 0.99 then
  549. wave:remove()
  550. end
  551. end
  552. end))
  553. end
  554.  
  555. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  556. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  557. local mesh = IT("SpecialMesh",wave)
  558. mesh.MeshType = "Sphere"
  559. mesh.Scale = SIZE
  560. mesh.Offset = VT(0,0,0)
  561. wave.CFrame = CFRAME
  562. coroutine.resume(coroutine.create(function(PART)
  563. for i = 1, WAIT do
  564. Swait()
  565. mesh.Scale = mesh.Scale + GROW
  566. wave.Transparency = wave.Transparency + (1/WAIT)
  567. if wave.Transparency > 0.99 then
  568. wave:remove()
  569. end
  570. end
  571. end))
  572. end
  573.  
  574. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  575. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  576. local mesh = IT("BlockMesh",wave)
  577. wave.CFrame = CFRAME
  578. coroutine.resume(coroutine.create(function(PART)
  579. for i = 1, WAIT do
  580. Swait()
  581. mesh.Scale = mesh.Scale + GROW
  582. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  583. wave.Transparency = wave.Transparency + (1/WAIT)
  584. if wave.Transparency > 0.99 then
  585. wave:remove()
  586. end
  587. end
  588. end))
  589. end
  590.  
  591. function MakeForm(PART,TYPE)
  592. if TYPE == "Cyl" then
  593. local MSH = IT("CylinderMesh",PART)
  594. elseif TYPE == "Ball" then
  595. local MSH = IT("SpecialMesh",PART)
  596. MSH.MeshType = "Sphere"
  597. elseif TYPE == "Wedge" then
  598. local MSH = IT("SpecialMesh",PART)
  599. MSH.MeshType = "Wedge"
  600. elseif TYPE == "Head" then
  601. local MSH = IT("SpecialMesh",PART)
  602. MSH.Scale = VT(1.25,1.25,1.25)
  603. end
  604. end
  605.  
  606. function CheckTableForString(Table, String)
  607. for i, v in pairs(Table) do
  608. if string.find(string.lower(String), string.lower(v)) then
  609. return true
  610. end
  611. end
  612. return false
  613. end
  614.  
  615. function CheckIntangible(Hit)
  616. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  617. if Hit and Hit.Parent then
  618. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  619. return true
  620. end
  621. end
  622. return false
  623. end
  624.  
  625. Debris = game:GetService("Debris")
  626.  
  627. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  628. local Direction = CFrame.new(StartPos, Vec).lookVector
  629. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  630. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  631. if RayHit and CheckIntangible(RayHit) then
  632. if DelayIfHit then
  633. wait()
  634. end
  635. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  636. end
  637. return RayHit, RayPos, RayNormal
  638. end
  639.  
  640. function CreateMagicCircle()
  641. local sinkhole = IT("Part")
  642. sinkhole.Size = VT(0,0,0)
  643. sinkhole.Parent = Effects
  644. sinkhole.Material = "Neon"
  645. sinkhole.Color = C3(0,0,0)
  646. sinkhole.Anchored = true
  647. sinkhole.CanCollide = false
  648. sinkhole.Transparency = 1
  649. local decal = IT("Decal",sinkhole)
  650. decal.Face = "Top"
  651. decal.Texture = "http://www.roblox.com/asset/?id=1260793696"
  652. local decal2 = IT("Decal",sinkhole)
  653. decal2.Face = "Bottom"
  654. decal2.Texture = "http://www.roblox.com/asset/?id=1260793696"
  655. return sinkhole
  656. end
  657.  
  658. function CreateGUICircle(TARGET)
  659. local GUI = Instance.new("BillboardGui",Character)
  660. GUI.Size = UDim2.new(0,0,0,0)
  661. GUI.Adornee = TARGET
  662. local GUI2 = IT("ImageLabel",GUI)
  663. GUI2.BackgroundTransparency = 1
  664. GUI2.BorderSizePixel = 0
  665. GUI2.Size = UDim2.new(1,0,1,0)
  666. GUI2.SizeConstraint = "RelativeYY"
  667. GUI.AlwaysOnTop = true
  668. GUI2.Image = "http://www.roblox.com/asset/?id=1260793696"
  669. return GUI,GUI2
  670. end
  671.  
  672. function CastWarpOutlines(TARGET)
  673. coroutine.resume(coroutine.create(function()
  674. local T = TARGET:GetChildren()
  675. for i = 1, # T do
  676. local child = T[i]
  677. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  678. local clone = child:Clone()
  679. clone.Parent = Effects
  680. clone.Anchored = true
  681. clone.CanCollide = false
  682. clone:ClearAllChildren()
  683. clone.CFrame = child.CFrame
  684. if clone.Name == "Head" then
  685. clone.Size = VT(clone.Size.Y,clone.Size.Y,clone.Size.Y)
  686. end
  687. if clone.ClassName == "MeshPart" then
  688. clone.TextureID = ""
  689. end
  690. clone.BrickColor = BRICKC"Black"
  691. clone.Material = "Neon"
  692. coroutine.resume(coroutine.create(function()
  693. for i = 1, 200 do
  694. Swait()
  695. clone.Transparency = clone.Transparency + 0.005
  696. clone.Size = clone.Size + VT(0.001,0.001,0.001)
  697. end
  698. clone:remove()
  699. end))
  700. end
  701. end
  702. end))
  703. end
  704.  
  705. function turnto(position)
  706. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  707. end
  708.  
  709. local face = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Face mask", VT(1.001,1.001,1.001),false)
  710. local weld = CreateWeldOrSnapOrMotor("Weld", face, Head, face, CF(0.02,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  711. MakeForm(face,"Head")
  712. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Eye", VT(0.4,0.25,0.2),false)
  713. local weld = CreateWeldOrSnapOrMotor("Weld", part, Head, part, CF(0.15,0.28,-0.53) * ANGLES(RAD(15), RAD(0), RAD(25)), CF(0, 0, 0))
  714. MakeForm(part,"Ball")
  715. local Eye = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Eye", VT(0.1,0.1,0.15),false)
  716. local PupilWeld = CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  717. MakeForm(Eye,"Ball")
  718.  
  719. local Gun1 = CreatePart(3, Weapon, "Marble", 0, 0, "Royal purple", "Right Gun", VT(2.05, 1.05, 0.2),false)
  720. local Gun1Weld = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Gun1, CF(0, -1.9, -0.3) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
  721. CreateMesh("SpecialMesh", Gun1, "FileMesh", "430286482", "", VT(1,1,1)/20, VT(0,0,0))
  722.  
  723. local Gun2 = CreatePart(3, Weapon, "Marble", 0, 0, "Royal purple", "Left Gun", VT(2.05, 1.05, 0.2),false)
  724. local Gun2Weld = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Gun2, CF(0, -1.9, -0.3) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
  725. CreateMesh("SpecialMesh", Gun2, "FileMesh", "430286482", "", VT(1,1,1)/20, VT(0,0,0))
  726.  
  727.  
  728. for _, c in pairs(Weapon:GetChildren()) do
  729. if c.ClassName == "Part" then
  730. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  731. end
  732. end
  733.  
  734. Weapon.Parent = Character
  735.  
  736. Humanoid.Died:connect(function()
  737. ATTACK = true
  738. end)
  739.  
  740. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  741. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  742. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  743. local BODYGYRO = IT("BodyGyro", STATPART)
  744. local BODYPOSITION = IT("BodyPosition", STATPART)
  745. BODYPOSITION.P = 2000
  746. BODYPOSITION.D = 100
  747. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  748. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  749. game:GetService("Debris"):AddItem(STATPART ,5)
  750. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  751. BILLBOARDGUI.Adornee = STATPART
  752. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  753. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  754. BILLBOARDGUI.AlwaysOnTop = false
  755. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  756. TEXTLABEL.BackgroundTransparency = 1
  757. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  758. TEXTLABEL.Text = TEXT
  759. TEXTLABEL.Font = "SciFi"
  760. TEXTLABEL.FontSize="Size42"
  761. TEXTLABEL.TextColor3 = COLOR
  762. TEXTLABEL.TextStrokeTransparency = 1
  763. TEXTLABEL.TextScaled = true
  764. TEXTLABEL.TextWrapped = true
  765. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  766. if LABELTYPE == "Normal" then
  767. for i = 1, 20 do
  768. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  769. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  770. end
  771. elseif LABELTYPE == "Debuff" then
  772. for i = 1, 20 do
  773. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  774. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  775. end
  776. elseif LABELTYPE == "Shock" then
  777. local ORIGIN = STATPART.Position
  778. for i = 1, 20 do
  779. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  780. TEXTLABEL.Transparency = TEXTLABEL.Transparency + (1/20)
  781. end
  782. end
  783. THEPART.Parent = nil
  784. end),STATPART, BODYPOSITION, TEXTLABEL)
  785. end
  786.  
  787. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping,DoesWarp,Instakill,HasChain)
  788. local dmg = math.random(min,max)
  789. for i,v in ipairs(workspace:GetChildren()) do
  790. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  791. local body = v:GetChildren()
  792. for part = 1, #body do
  793. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  794. if(body[part].Position - position).Magnitude < radius then
  795. if v.ClassName == "Model" then
  796. if v:FindFirstChildOfClass("Humanoid") then
  797. local HUMAN = v:FindFirstChildOfClass("Humanoid")
  798. if HUMAN.Health ~= 0 then
  799. if HasChain == true then
  800. local defence = Instance.new("BoolValue",v)
  801. defence.Name = ("HitBy"..Player.Name)
  802. game:GetService("Debris"):AddItem(defence, 1)
  803. coroutine.resume(coroutine.create(function()
  804. local TORSO = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  805. if TORSO then
  806. --print("Found "..v.Name.."'s Torso")
  807. local PART = IT("Part",Effects)
  808. PART.Anchored = true
  809. PART.CanCollide = false
  810. PART.Transparency = 1
  811. PART.CFrame = CF(position)
  812. Debris:AddItem(PART,15)
  813. local A = IT("Attachment",PART)
  814. --TORSO.Anchored = true
  815. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  816. --print("Chain start")
  817. Front.CFrame = CF(position)
  818. Front.CanCollide = true
  819. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 10, 1)
  820. local B = IT("Attachment",Front)
  821. local ChainLink = IT("Beam",Effects)
  822. ChainLink.Texture = "rbxassetid://1262544869"
  823. ChainLink.TextureSpeed = 0
  824. ChainLink.FaceCamera = true
  825. ChainLink.Width0 = 3
  826. ChainLink.Attachment0 = A
  827. ChainLink.Attachment1 = B
  828. ChainLink.TextureMode = "Static"
  829. local bv = Instance.new("BodyVelocity")
  830. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  831. bv.velocity = CF(Front.Position,TORSO.Position).lookVector*500
  832. bv.Parent = Front
  833. bv.Name = "MOVE"
  834. --print("Chain made")
  835. coroutine.resume(coroutine.create(function()
  836. Swait(30)
  837. bv:remove()
  838. local POS = Front.Position
  839. Front.CanCollide = false
  840. local onefourth = POS:Lerp(position, 0.25) + Vector3.new(0,0,0)
  841. local threefourths = POS:Lerp(position, 0.75) + Vector3.new(0,0,0)
  842. for i = 0, 1, 0.07 do
  843. Swait()
  844. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, position, i))
  845. end
  846. Front:remove()
  847. ChainLink:remove()
  848. end))
  849. local harm = Front.Touched:Connect(function(hit)
  850. impale(Front,hit)
  851. end)
  852. end
  853. end))
  854. elseif DoesWarp == true then
  855. local defence = Instance.new("BoolValue",v)
  856. defence.Name = ("HitBy"..Player.Name)
  857. game:GetService("Debris"):AddItem(defence, 0.001)
  858. local TORSO = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  859. Warp(TORSO,Instakill)
  860. else
  861. if CanBeDodgedByJumping == true then
  862. if body[part].Position.Y < position.Y+5 then
  863. if math.random(1,100) < critrate+1 then
  864. HUMAN.Health = HUMAN.Health - dmg*critmultiplier
  865. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  866. else
  867. HUMAN.Health = HUMAN.Health - dmg
  868. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  869. end
  870. local defence = Instance.new("BoolValue",v)
  871. defence.Name = ("HitBy"..Player.Name)
  872. game:GetService("Debris"):AddItem(defence, 0.01)
  873. end
  874. else
  875. if beserk == true then
  876. HUMAN.Health = 0
  877. end
  878. if math.random(1,100) < critrate+1 then
  879. HUMAN.Health = HUMAN.Health - dmg*critmultiplier
  880. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  881. else
  882. HUMAN.Health = HUMAN.Health - dmg
  883. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  884. end
  885. local defence = Instance.new("BoolValue",v)
  886. defence.Name = ("HitBy"..Player.Name)
  887. game:GetService("Debris"):AddItem(defence, 0.01)
  888. end
  889. end
  890. end
  891. end
  892. end
  893. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  894. end
  895. end
  896. end
  897. if v.ClassName == "Part" then
  898. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  899. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  900. end
  901. end
  902. end
  903. end
  904. end
  905.  
  906. function Warp(Victim,WarpToVoid)
  907. print("Warping "..Victim.Name.."...")
  908. Victim.Anchored = true
  909. coroutine.resume(coroutine.create(function()
  910. local GUI,GUI2 = CreateGUICircle(Victim)
  911. CreateSound("1208650519", Victim, 10, 1)
  912. for i = 1, 100 do
  913. Swait()
  914. GUI.Size = GUI.Size + UDim2.new(0.2,0,0.2,0)
  915. GUI2.Rotation = GUI2.Rotation + 4
  916. end
  917. CastWarpOutlines(Victim.Parent)
  918. if WarpToVoid == false then
  919. Victim.CFrame = Victim.CFrame * CF(MRANDOM(-65,65),0,MRANDOM(-65,65))
  920. CreateSound("1177785010", Victim, 10, 1)
  921. local HUMANOID = Victim.Parent:FindFirstChildOfClass("Humanoid")
  922. if HUMANOID ~= nil then
  923. local dmg = MRANDOM(75,95)
  924. HUMANOID.Health = HUMANOID.Health - dmg
  925. StatLabel("Normal", Victim.CFrame * CF(0, 0 + (Victim.Size.z - 1), 0), "WARPED/"..dmg, C3(0.3, 0, 0.3))
  926. end
  927. for i = 1, 50 do
  928. Swait()
  929. GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  930. GUI2.Rotation = GUI2.Rotation - 8
  931. end
  932. Victim.Anchored = false
  933. GUI:remove()
  934. elseif WarpToVoid == true then
  935. CastWarpOutlines(Victim.Parent)
  936. q = Victim.Parent:GetChildren()
  937. for i = 1, #q do
  938. if q[i] ~= Victim then
  939. q[i]:remove()
  940. end
  941. end
  942. CreateSound("1177785010", Victim, 10, 1)
  943. Victim.Transparency = 1
  944. for i = 1, 50 do
  945. Swait()
  946. GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  947. GUI2.Rotation = GUI2.Rotation - 8
  948. end
  949. Victim.Parent:remove()
  950. end
  951. end))
  952. end
  953.  
  954. function killnearest(position,range,maxstrength)
  955. for i,v in ipairs(workspace:GetChildren()) do
  956. local body = v:GetChildren()
  957. for part = 1, #body do
  958. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  959. if(body[part].Position - position).Magnitude < range then
  960. if v.ClassName == "Model" then
  961. v:BreakJoints()
  962. end
  963. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  964. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  965. end
  966. end
  967. end
  968. if v.ClassName == "Part" then
  969. if v.Anchored == false and (v.Position - position).Magnitude < range then
  970. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  971. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  972. end
  973. end
  974. end
  975. end
  976.  
  977. function AttackTemplate()
  978. ATTACK = true
  979. Rooted = false
  980. for i=0, 1, 0.1 / Animation_Speed do
  981. Swait()
  982. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  983. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  984. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  985. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  986. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  987. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  988. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  989. end
  990. ATTACK = false
  991. Rooted = false
  992. end
  993.  
  994. function VoidWarp()
  995. ATTACK = true
  996. Rooted = false
  997. for i=0, 0.2, 0.1 / Animation_Speed do
  998. Swait()
  999. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1000. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1001. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1002. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1003. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1004. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1005. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1006. end
  1007. AoEDamage(Torso.Position,15,0,0,0,false,0,0,false,true,false)
  1008. CreateSound("1208650519", Torso, 10, 2.5)
  1009. local GUI,GUI2 = CreateGUICircle(Torso)
  1010. for i = 1, 50 do
  1011. Swait()
  1012. GUI.Size = GUI.Size + UDim2.new(i/60,0,i/60,0)
  1013. GUI2.Rotation = GUI2.Rotation + i/10
  1014. end
  1015. CastWarpOutlines(Character)
  1016. local POS = Torso.Position
  1017. RootPart.CFrame = CF(CF(Mouse.Hit.p)*CF(0,2,0).p,POS)
  1018. Swait()
  1019. CreateSound("1177785010", Torso, 10, 1)
  1020. coroutine.resume(coroutine.create(function()
  1021. for i = 1, 50 do
  1022. Swait()
  1023. GUI.Size = GUI.Size - UDim2.new(i/60,0,i/60,0)
  1024. GUI2.Rotation = GUI2.Rotation - i/10
  1025. end
  1026. end))
  1027. ATTACK = false
  1028. Rooted = false
  1029. end
  1030.  
  1031. local asd = Instance.new("ParticleEmitter")
  1032. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1033. asd.LightEmission = .1
  1034. asd.Size = NumberSequence.new(0.2)
  1035. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1036. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1037. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1038. asd.Transparency = bbb
  1039. asd.Size = aaa
  1040. asd.ZOffset = .9
  1041. asd.Acceleration = Vector3.new(0, -15, 0)
  1042. asd.LockedToPart = false
  1043. asd.EmissionDirection = "Back"
  1044. asd.Lifetime = NumberRange.new(1, 2)
  1045. asd.Rotation = NumberRange.new(-100, 100)
  1046. asd.RotSpeed = NumberRange.new(-100, 100)
  1047. asd.Speed = NumberRange.new(25,35)
  1048. asd.Enabled = false
  1049. asd.VelocitySpread = 5
  1050.  
  1051. function getbloody(victim,amount)
  1052. local PART = IT("Part",Effects)
  1053. PART.Transparency = 1
  1054. PART.Size = victim.Size
  1055. PART.Anchored = true
  1056. PART.CanCollide = false
  1057. PART.CFrame = CF(victim.Position,Torso.Position)
  1058. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1059. Debris:AddItem(PART,5)
  1060. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1061. local prtcl = asd:Clone()
  1062. prtcl.Parent = PART
  1063. prtcl:Emit(amount*10)
  1064. end
  1065.  
  1066. function impale(chain,hit)
  1067. if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") then
  1068. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  1069. if humanoid.Health ~= 0 then
  1070. hit.Parent:BreakJoints()
  1071. getbloody(hit,15)
  1072. local prtcl = asd:Clone()
  1073. prtcl.Parent = chain
  1074. prtcl.Enabled = true
  1075. prtcl.Speed = NumberRange.new(0)
  1076. prtcl.Size = NumberSequence.new(0.2)
  1077. end
  1078. end
  1079. end
  1080.  
  1081. function clerp(a, b, t)
  1082. return a:lerp(b, t)
  1083. end
  1084.  
  1085. function newBezier(startpos, pos2, pos3, endpos, t)
  1086. local A = clerp(startpos, pos2, t)
  1087. local B = clerp(pos2, pos3, t)
  1088. local C = clerp(pos3, endpos, t)
  1089. local lerp1 = clerp(A, B, t)
  1090. local lerp2 = clerp(B, C, t)
  1091. local cubic = clerp(lerp1, lerp2, t)
  1092. return cubic
  1093. end
  1094.  
  1095.  
  1096. function VoidChain()
  1097. ATTACK = true
  1098. Rooted = false
  1099. for i=0, 2, 0.1 / Animation_Speed do
  1100. turnto(Mouse.Hit.p)
  1101. Swait()
  1102. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1103. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1104. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.2,0.30,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1105. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1106. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-180)) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1107. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1108. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1109. end
  1110. CreateSound("1208650519", RightArm, 10, 2)
  1111. local RING = CreateMagicCircle()
  1112. RING.CFrame = RightArm.CFrame * CF(0,-1.1,0)
  1113. for i = 1, 5 do
  1114. turnto(Mouse.Hit.p)
  1115. Swait()
  1116. local FRAME = CF(RightArm.CFrame * CF(MRANDOM(-5,5),MRANDOM(0,7.5),MRANDOM(-5,5)).p,RightArm.Position)
  1117. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1118. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1119. RING.CFrame = RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(0),RAD(i*2),RAD(0))
  1120. RING.Size = RING.Size + VT(1,0,1)
  1121. end
  1122. coroutine.resume(coroutine.create(function()
  1123. local POS = Mouse.Hit.p
  1124. local A = IT("Attachment",RING)
  1125. for i = 1, 15 do
  1126. Swait(MRANDOM(0,5))
  1127. coroutine.resume(coroutine.create(function()
  1128. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  1129. --print("Chain start")
  1130. Front.CFrame = RING.CFrame*CF(MRANDOM(-3,3),0,MRANDOM(-3,3))
  1131. Front.CanCollide = true
  1132. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 10, 1)
  1133. local B = IT("Attachment",Front)
  1134. local ChainLink = IT("Beam",RING)
  1135. ChainLink.Texture = "rbxassetid://1262544869"
  1136. ChainLink.TextureSpeed = 0
  1137. ChainLink.FaceCamera = true
  1138. ChainLink.Width0 = 3
  1139. ChainLink.Attachment0 = A
  1140. ChainLink.Attachment1 = B
  1141. ChainLink.CurveSize0 = MRANDOM(-5,5)
  1142. ChainLink.CurveSize1 = MRANDOM(-5,5)
  1143. ChainLink.TextureMode = "Static"
  1144. local bv = Instance.new("BodyVelocity")
  1145. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1146. bv.velocity = CF(Front.Position,VT(POS.X+MRANDOM(-3,3),POS.Y+MRANDOM(-3,3),POS.Z+MRANDOM(-3,3))).lookVector*500
  1147. bv.Parent = Front
  1148. bv.Name = "MOVE"
  1149. --print("Chain made")
  1150. coroutine.resume(coroutine.create(function()
  1151. Swait(50)
  1152. bv:remove()
  1153. local POS = Front.Position
  1154. Front.CanCollide = false
  1155. local onefourth = POS:Lerp(RING.Position, 0.25) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  1156. local threefourths = POS:Lerp(RING.Position, 0.75) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  1157. for i = 0, 1, 0.07 do
  1158. Swait()
  1159. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, RING.Position, i))
  1160. end
  1161. Front:remove()
  1162. ChainLink:remove()
  1163. end))
  1164. local harm = Front.Touched:Connect(function(hit)
  1165. impale(Front,hit)
  1166. end)
  1167. end))
  1168. end
  1169. Swait(60)
  1170. for i = 1, 5 do
  1171. Swait()
  1172. RING.Size = RING.Size - VT(1,0,1)
  1173. end
  1174. RING:remove()
  1175. end))
  1176. ATTACK = false
  1177. Rooted = false
  1178. end
  1179.  
  1180. function VortexLeash()
  1181. ATTACK = true
  1182. Rooted = true
  1183. for i=0, 1, 0.1 / Animation_Speed do
  1184. Swait()
  1185. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1186. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1187. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.2,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1188. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -1) * ANGLES(RAD(60), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1189. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 , 0) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed/8)
  1190. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 * Player_Size, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.5 / Animation_Speed/8)
  1191. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, 0) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.5 / Animation_Speed/8)
  1192. end
  1193. local RING = CreateMagicCircle()
  1194. CreateSound("1208650519", RING, 10, 1.5)
  1195. RING.CFrame = RootPart.CFrame * CF(0,-2.8,0)
  1196. local FRAME = RootPart.CFrame * CF(0,-2.8,0)
  1197. for i = 1, 75 do
  1198. Swait()
  1199. local FRAME = CF(RightArm.CFrame * CF(MRANDOM(-5,5),MRANDOM(0,7.5),MRANDOM(-5,5)).p,RightArm.Position)
  1200. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1201. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1202. RING.CFrame = RING.CFrame * ANGLES(RAD(0),RAD(i/5),RAD(0))
  1203. RING.Size = RING.Size + VT(1,0,1)
  1204. end
  1205. coroutine.resume(coroutine.create(function()
  1206. for i = 1, 450 do
  1207. Swait(2)
  1208. local FRAME = CF(RING.CFrame * CF(MRANDOM(-25,25),MRANDOM(0,35),MRANDOM(-25,25)).p,RING.Position)
  1209. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1210. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1211. MagicSphere(VT(0,0,0),10,RING.CFrame,"Royal purple",VT(2,4,2))
  1212. MagicSphere(VT(0,0,0),10,RING.CFrame,"Really black",VT(1.8,3.8,1.8))
  1213. local A = IT("Attachment",RING)
  1214. local POS = RING.CFrame * CF(MRANDOM(-150,150),MRANDOM(5,50),MRANDOM(-150,150)).p
  1215. coroutine.resume(coroutine.create(function()
  1216. local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  1217. --print("Chain start")
  1218. Front.CFrame = RING.CFrame*CF(MRANDOM(-3,3),0,MRANDOM(-3,3))
  1219. Front.CanCollide = false
  1220. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 2, 1)
  1221. local B = IT("Attachment",Front)
  1222. local ChainLink = IT("Beam",RING)
  1223. ChainLink.Texture = "rbxassetid://1262544869"
  1224. ChainLink.TextureSpeed = 0
  1225. ChainLink.FaceCamera = true
  1226. ChainLink.Width0 = 3
  1227. ChainLink.Attachment0 = A
  1228. ChainLink.Attachment1 = B
  1229. ChainLink.CurveSize0 = MRANDOM(-5,5)
  1230. ChainLink.CurveSize1 = MRANDOM(-5,5)
  1231. ChainLink.TextureMode = "Static"
  1232. local bv = Instance.new("BodyVelocity")
  1233. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1234. bv.velocity = CF(Front.Position,VT(POS.X+MRANDOM(-3,3),POS.Y+MRANDOM(-3,3),POS.Z+MRANDOM(-3,3))).lookVector*500
  1235. bv.Parent = Front
  1236. bv.Name = "MOVE"
  1237. --print("Chain made")
  1238. coroutine.resume(coroutine.create(function()
  1239. Swait(50)
  1240. bv:remove()
  1241. local POS = Front.Position
  1242. Front.CanCollide = false
  1243. local onefourth = POS:Lerp(RING.Position, 0.25) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  1244. local threefourths = POS:Lerp(RING.Position, 0.75) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  1245. for i = 0, 1, 0.07 do
  1246. Swait()
  1247. Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, RING.Position, i))
  1248. end
  1249. Front:remove()
  1250. ChainLink:remove()
  1251. end))
  1252. local harm = Front.Touched:Connect(function(hit)
  1253. impale(Front,hit)
  1254. end)
  1255. end))
  1256. AoEDamage(RING.Position,75,0,0,0,0,0,0,0,0,0,true)
  1257. RING.CFrame = RING.CFrame* ANGLES(RAD(0),RAD(5),RAD(0))
  1258. end
  1259. Swait(65)
  1260. for i = 1, 75 do
  1261. Swait()
  1262. RING.CFrame = RING.CFrame* ANGLES(RAD(0),RAD(-i/5),RAD(0))
  1263. RING.Size = RING.Size - VT(1,0,1)
  1264. end
  1265. RING:remove()
  1266. end))
  1267. ATTACK = false
  1268. Rooted = false
  1269. end
  1270.  
  1271. function VortexBarrier()
  1272. ATTACK = true
  1273. Rooted = true
  1274. for i=0, 2, 0.1 / Animation_Speed do
  1275. Swait()
  1276. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1277. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1278. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1279. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1280. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1281. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1282. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1283. end
  1284. for i=0, 0.5, 0.1 / Animation_Speed do
  1285. Swait()
  1286. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1287. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1288. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.27,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1289. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75,0) * ANGLES(RAD(0), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1290. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1291. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  1292. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1293. end
  1294. CreateSound("1208650519", Effects, 10, 1)
  1295. local GUI,GUI2 = CreateGUICircle(Torso)
  1296. local GUI3,GUI4 = CreateGUICircle(Torso)
  1297. for i = 1, 200 do
  1298. Swait()
  1299. local FRAME = CF(Torso.CFrame * CF(MRANDOM(-35,35),MRANDOM(-35,35),MRANDOM(-35,35)).p,Torso.Position)
  1300. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1301. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1302. local FRAME = CF(Torso.CFrame * CF(MRANDOM(-35,35),MRANDOM(-35,35),MRANDOM(-35,35)).p,Torso.Position)
  1303. MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1304. MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1305. GUI.Size = GUI.Size + UDim2.new(i/60,0,i/60,0)
  1306. GUI2.Rotation = GUI2.Rotation + i/10
  1307. GUI3.Size = GUI3.Size + UDim2.new(i/120,0,i/120,0)
  1308. GUI4.Rotation = GUI4.Rotation - i/10
  1309. end
  1310. AoEDamage(Torso.Position,150,0,0,0,false,0,0,false,true,true)
  1311. Swait(25)
  1312. for i = 1, 100 do
  1313. Swait()
  1314. GUI.Size = GUI.Size - UDim2.new(i/15,0,i/15,0)
  1315. GUI2.Rotation = GUI2.Rotation - i/5
  1316. GUI3.Size = GUI3.Size - UDim2.new(i/30,0,i/30,0)
  1317. GUI4.Rotation = GUI4.Rotation + i/5
  1318. end
  1319. GUI:remove()
  1320. GUI3:remove()
  1321. ATTACK = false
  1322. Rooted = false
  1323. end
  1324.  
  1325. function MouseDown(Mouse)
  1326. if ATTACK == false then
  1327. end
  1328. end
  1329.  
  1330. function MouseUp(Mouse)
  1331. HOLD = false
  1332. end
  1333.  
  1334. function KeyDown(Key)
  1335. KEYHOLD = true
  1336. if Key == "z" and ATTACK == false then
  1337. VoidWarp()
  1338. end
  1339.  
  1340. if Key == "b" and ATTACK == false then
  1341. VoidChain()
  1342. end
  1343.  
  1344. if Key == "c" and ATTACK == false then
  1345. VortexLeash()
  1346. end
  1347.  
  1348. if Key == "v" and ATTACK == false then
  1349. VortexBarrier()
  1350. end
  1351.  
  1352. if Key == "x" and ATTACK == false then
  1353. end
  1354.  
  1355. if Key == "t" and ATTACK == false then
  1356. CreateSound(TAUNTS[MRANDOM(1,#TAUNTS)], Head, 10, 1)
  1357. end
  1358. end
  1359.  
  1360. function KeyUp(Key)
  1361. KEYHOLD = false
  1362. end
  1363.  
  1364. Mouse.Button1Down:connect(function(NEWKEY)
  1365. MouseDown(NEWKEY)
  1366. end)
  1367. Mouse.Button1Up:connect(function(NEWKEY)
  1368. MouseUp(NEWKEY)
  1369. end)
  1370. Mouse.KeyDown:connect(function(NEWKEY)
  1371. KeyDown(NEWKEY)
  1372. end)
  1373. Mouse.KeyUp:connect(function(NEWKEY)
  1374. KeyUp(NEWKEY)
  1375. end)
  1376.  
  1377. function unanchor()
  1378. if UNANCHOR == true then
  1379. g = Character:GetChildren()
  1380. for i = 1, #g do
  1381. if g[i].ClassName == "Part" then
  1382. g[i].Anchored = false
  1383. end
  1384. end
  1385. end
  1386. end
  1387.  
  1388. local FF = IT("ForceField",Character)
  1389. FF.Visible = false
  1390.  
  1391. Humanoid.Changed:connect(function(Jump)
  1392. if Jump == "Jump" and (Disable_Jump == true) then
  1393. Humanoid.Jump = false
  1394. end
  1395. end)
  1396.  
  1397. Speed = 45
  1398.  
  1399. while true do
  1400. Swait()
  1401. ANIMATE.Parent = nil
  1402. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1403. IDLEANIMATION:Play()
  1404. SINE = SINE + CHANGE
  1405. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1406. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1407. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1408. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1409. local WALKSPEEDVALUE = 3
  1410. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1411. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1412. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1413. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1414. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1415. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1416. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1417. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1418. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1419. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1420. end
  1421. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1422. ANIM = "Jump"
  1423. if ATTACK == false then
  1424. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1425. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1426. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.3,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1427. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1428. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1., 0.5, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1429. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1430. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1431. end
  1432. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1433. ANIM = "Fall"
  1434. if ATTACK == false then
  1435. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1436. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1437. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.22,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1438. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1439. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1440. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1441. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1442. end
  1443. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1444. ANIM = "Idle"
  1445. if ATTACK == false then
  1446. if ATTACK == false then
  1447. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.5 / Animation_Speed)
  1448. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.5 / Animation_Speed)
  1449. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1450. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1451. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1452. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1453. end
  1454. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1455. ANIM = "Walk"
  1456. WALK = WALK + 1 / Animation_Speed
  1457. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1458. WALK = 0
  1459. if WALKINGANIM == true then
  1460. WALKINGANIM = false
  1461. elseif WALKINGANIM == false then
  1462. WALKINGANIM = true
  1463. end
  1464. end
  1465. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1466. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1467. if ATTACK == false then
  1468. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1469. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1470. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.26,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1471. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1472. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-120 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1473. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1474. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1475. end
  1476. end
  1477. if #Effects2>0 then
  1478. for e=1,#Effects2 do
  1479. if Effects2[e]~=nil then
  1480. local Thing=Effects2[e]
  1481. if Thing~=nil then
  1482. local Part=Thing[1]
  1483. local Mode=Thing[2]
  1484. local Delay=Thing[3]
  1485. local IncX=Thing[4]
  1486. local IncY=Thing[5]
  1487. local IncZ=Thing[6]
  1488. local Part2=Thing[8]
  1489. if Thing[1].Transparency<=1 then
  1490. if Thing[2]=="Block1" then
  1491. Thing[1].CFrame=Thing[1].CFrame
  1492. Mesh=Thing[1].Mesh
  1493. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1494. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1495. elseif Thing[2]=="Cylinder" then
  1496. Mesh=Thing[1].Mesh
  1497. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1498. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1499. elseif Thing[2]=="Blood" then
  1500. Mesh=Thing[7]
  1501. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1502. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1503. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1504. elseif Thing[2]=="Elec" then
  1505. Mesh=Thing[1].Mesh
  1506. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1507. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1508. elseif Thing[2]=="Disappear" then
  1509. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1510. end
  1511. else
  1512. Part.Parent=nil
  1513. table.remove(Effects2,e)
  1514. end
  1515. end
  1516. end
  1517. end
  1518. end
  1519. unanchor()
  1520. Humanoid.MaxHealth = "inf"
  1521. Humanoid.Health = "inf"
  1522. if Rooted == false then
  1523. Disable_Jump = false
  1524. Humanoid.WalkSpeed = Speed
  1525. elseif Rooted == true then
  1526. Disable_Jump = true
  1527. Humanoid.WalkSpeed = 0
  1528. end
  1529. q = Character:GetChildren()
  1530. for u = 1, #q do
  1531. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1532. if q[u].Handle:FindFirstChild("FaceFrontAttachment") or q[u].Handle:FindFirstChild("HatAttachment") then
  1533. q[u].Handle.Transparency = 1
  1534. end
  1535. end
  1536. end
  1537. local MATHS = {"0","1"}
  1538. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  1539. Humanoid.PlatformStand = false
  1540. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement