Advertisement
gecksad

Void Warden Require

Dec 18th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. wait(0.2)
  3.  
  4. Player = game:GetService("Players").LocalPlayer
  5. PlayerGui = Player.PlayerGui
  6. Cam = workspace.CurrentCamera
  7. Backpack = Player.Backpack
  8. Character = Player.Character
  9. Humanoid = Character.Humanoid
  10. Mouse = Player:GetMouse()
  11. RootPart = Character["HumanoidRootPart"]
  12. Torso = Character["Torso"]
  13. Head = Character["Head"]
  14. RightArm = Character["Right Arm"]
  15. LeftArm = Character["Left Arm"]
  16. RightLeg = Character["Right Leg"]
  17. LeftLeg = Character["Left Leg"]
  18. RootJoint = RootPart["RootJoint"]
  19. Neck = Torso["Neck"]
  20. RightShoulder = Torso["Right Shoulder"]
  21. LeftShoulder = Torso["Left Shoulder"]
  22. RightHip = Torso["Right Hip"]
  23. LeftHip = Torso["Left Hip"]
  24. local sick = Instance.new("Sound",Character)
  25. sick.SoundId = "rbxassetid://1427189017"
  26. sick.Looped = true
  27. sick.Pitch = 1
  28. sick.Volume = 1
  29. sick:Play()
  30.  
  31. IT = Instance.new
  32. CF = CFrame.new
  33. VT = Vector3.new
  34. RAD = math.rad
  35. C3 = Color3.new
  36. UD2 = UDim2.new
  37. BRICKC = BrickColor.new
  38. ANGLES = CFrame.Angles
  39. EULER = CFrame.fromEulerAnglesXYZ
  40. COS = math.cos
  41. ACOS = math.acos
  42. SIN = math.sin
  43. ASIN = math.asin
  44. ABS = math.abs
  45. MRANDOM = math.random
  46. FLOOR = math.floor
  47.  
  48. --//=================================\\
  49. --|| USEFUL VALUES
  50. --\\=================================//
  51.  
  52. Animation_Speed = 3
  53. Player_Size = 1 --Size of the player.
  54. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  55. local Speed = 25
  56. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  57. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  58. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  59. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  60. local DAMAGEMULTIPLIER = 1
  61. local ANIM = "Idle"
  62. local ATTACK = false
  63. local EQUIPPED = false
  64. local HOLD = false
  65. local COMBO = 1
  66. local Rooted = false
  67. local SINE = 0
  68. local KEYHOLD = false
  69. local CHANGE = 2 / Animation_Speed
  70. local WALKINGANIM = false
  71. local VALUE1 = false
  72. local VALUE2 = false
  73. local ROBLOXIDLEANIMATION = IT("Animation")
  74. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  75. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  76. --ROBLOXIDLEANIMATION.Parent = Humanoid
  77. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  78. WEAPONGUI.Name = "Weapon GUI"
  79. local Effects = IT("Folder", Character)
  80. Effects.Name = "Effects"
  81. local ANIMATOR = Humanoid.Animator
  82. local ANIMATE = Character.Animate
  83. local UNANCHOR = true
  84. local PLAYMAINANIM = true
  85. local BOLTSOUNDS = {419011101,305734380}
  86. local SIZE = 1
  87. local UNANCHOR = true
  88. local TRUEFORM = false
  89. local HITFLOOR, HITPOS = nil
  90. local FLIGHT = false
  91. --//=================================\\
  92. --\\=================================//
  93.  
  94.  
  95.  
  96. --//=================================\\
  97. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  98. --\\=================================//
  99.  
  100. ArtificialHB = Instance.new("BindableEvent", script)
  101. ArtificialHB.Name = "ArtificialHB"
  102.  
  103. script:WaitForChild("ArtificialHB")
  104.  
  105. frame = Frame_Speed
  106. tf = 0
  107. allowframeloss = false
  108. tossremainder = false
  109. lastframe = tick()
  110. script.ArtificialHB:Fire()
  111.  
  112. game:GetService("RunService").Heartbeat:connect(function(s, p)
  113. tf = tf + s
  114. if tf >= frame then
  115. if allowframeloss then
  116. script.ArtificialHB:Fire()
  117. lastframe = tick()
  118. else
  119. for i = 1, math.floor(tf / frame) do
  120. script.ArtificialHB:Fire()
  121. end
  122. lastframe = tick()
  123. end
  124. if tossremainder then
  125. tf = 0
  126. else
  127. tf = tf - frame * math.floor(tf / frame)
  128. end
  129. end
  130. end)
  131.  
  132. --//=================================\\
  133. --\\=================================//
  134.  
  135. --//=================================\\
  136. --|| SOME FUNCTIONS
  137. --\\=================================//
  138.  
  139. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  140. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  141. end
  142.  
  143. function PositiveAngle(NUMBER)
  144. if NUMBER >= 0 then
  145. NUMBER = 0
  146. end
  147. return NUMBER
  148. end
  149.  
  150. function NegativeAngle(NUMBER)
  151. if NUMBER <= 0 then
  152. NUMBER = 0
  153. end
  154. return NUMBER
  155. end
  156.  
  157. function Swait(NUMBER)
  158. if NUMBER == 0 or NUMBER == nil then
  159. ArtificialHB.Event:wait()
  160. else
  161. for i = 1, NUMBER do
  162. ArtificialHB.Event:wait()
  163. end
  164. end
  165. end
  166.  
  167. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  168. local NEWMESH = IT(MESH)
  169. if MESH == "SpecialMesh" then
  170. NEWMESH.MeshType = MESHTYPE
  171. if MESHID ~= "nil" and MESHID ~= "" then
  172. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  173. end
  174. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  175. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  176. end
  177. end
  178. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  179. NEWMESH.Scale = SCALE
  180. NEWMESH.Parent = PARENT
  181. return NEWMESH
  182. end
  183.  
  184. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  185. local NEWPART = IT("Part")
  186. NEWPART.formFactor = FORMFACTOR
  187. NEWPART.Reflectance = REFLECTANCE
  188. NEWPART.Transparency = TRANSPARENCY
  189. NEWPART.CanCollide = false
  190. NEWPART.Locked = true
  191. NEWPART.Anchored = true
  192. if ANCHOR == false then
  193. NEWPART.Anchored = false
  194. end
  195. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  196. NEWPART.Name = NAME
  197. NEWPART.Size = SIZE
  198. NEWPART.Position = Torso.Position
  199. NEWPART.Material = MATERIAL
  200. NEWPART:BreakJoints()
  201. NEWPART.Parent = PARENT
  202. return NEWPART
  203. end
  204.  
  205. local function weldBetween(a, b)
  206. local weldd = Instance.new("ManualWeld")
  207. weldd.Part0 = a
  208. weldd.Part1 = b
  209. weldd.C0 = CFrame.new()
  210. weldd.C1 = b.CFrame:inverse() * a.CFrame
  211. weldd.Parent = a
  212. return weldd
  213. end
  214.  
  215.  
  216. function QuaternionFromCFrame(cf)
  217. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  218. local trace = m00 + m11 + m22
  219. if trace > 0 then
  220. local s = math.sqrt(1 + trace)
  221. local recip = 0.5 / s
  222. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  223. else
  224. local i = 0
  225. if m11 > m00 then
  226. i = 1
  227. end
  228. if m22 > (i == 0 and m00 or m11) then
  229. i = 2
  230. end
  231. if i == 0 then
  232. local s = math.sqrt(m00 - m11 - m22 + 1)
  233. local recip = 0.5 / s
  234. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  235. elseif i == 1 then
  236. local s = math.sqrt(m11 - m22 - m00 + 1)
  237. local recip = 0.5 / s
  238. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  239. elseif i == 2 then
  240. local s = math.sqrt(m22 - m00 - m11 + 1)
  241. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  242. end
  243. end
  244. end
  245.  
  246. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  247. local xs, ys, zs = x + x, y + y, z + z
  248. local wx, wy, wz = w * xs, w * ys, w * zs
  249. local xx = x * xs
  250. local xy = x * ys
  251. local xz = x * zs
  252. local yy = y * ys
  253. local yz = y * zs
  254. local zz = z * zs
  255. 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))
  256. end
  257.  
  258. function QuaternionSlerp(a, b, t)
  259. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  260. local startInterp, finishInterp;
  261. if cosTheta >= 0.0001 then
  262. if (1 - cosTheta) > 0.0001 then
  263. local theta = ACOS(cosTheta)
  264. local invSinTheta = 1 / SIN(theta)
  265. startInterp = SIN((1 - t) * theta) * invSinTheta
  266. finishInterp = SIN(t * theta) * invSinTheta
  267. else
  268. startInterp = 1 - t
  269. finishInterp = t
  270. end
  271. else
  272. if (1 + cosTheta) > 0.0001 then
  273. local theta = ACOS(-cosTheta)
  274. local invSinTheta = 1 / SIN(theta)
  275. startInterp = SIN((t - 1) * theta) * invSinTheta
  276. finishInterp = SIN(t * theta) * invSinTheta
  277. else
  278. startInterp = t - 1
  279. finishInterp = t
  280. end
  281. end
  282. 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
  283. end
  284.  
  285. function Clerp(a, b, t)
  286. local qa = {QuaternionFromCFrame(a)}
  287. local qb = {QuaternionFromCFrame(b)}
  288. local ax, ay, az = a.x, a.y, a.z
  289. local bx, by, bz = b.x, b.y, b.z
  290. local _t = 1 - t
  291. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  292. end
  293.  
  294. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  295. local frame = IT("Frame")
  296. frame.BackgroundTransparency = TRANSPARENCY
  297. frame.BorderSizePixel = BORDERSIZEPIXEL
  298. frame.Position = POSITION
  299. frame.Size = SIZE
  300. frame.BackgroundColor3 = COLOR
  301. frame.BorderColor3 = BORDERCOLOR
  302. frame.Name = NAME
  303. frame.Parent = PARENT
  304. return frame
  305. end
  306.  
  307. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  308. local label = IT("TextLabel")
  309. label.BackgroundTransparency = 1
  310. label.Size = UD2(1, 0, 1, 0)
  311. label.Position = UD2(0, 0, 0, 0)
  312. label.TextColor3 = TEXTCOLOR
  313. label.TextStrokeTransparency = STROKETRANSPARENCY
  314. label.TextTransparency = TRANSPARENCY
  315. label.FontSize = TEXTFONTSIZE
  316. label.Font = TEXTFONT
  317. label.BorderSizePixel = BORDERSIZEPIXEL
  318. label.TextScaled = false
  319. label.Text = TEXT
  320. label.Name = NAME
  321. label.Parent = PARENT
  322. return label
  323. end
  324.  
  325. function NoOutlines(PART)
  326. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  327. end
  328.  
  329. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  330. local NEWWELD = IT(TYPE)
  331. NEWWELD.Part0 = PART0
  332. NEWWELD.Part1 = PART1
  333. NEWWELD.C0 = C0
  334. NEWWELD.C1 = C1
  335. NEWWELD.Parent = PARENT
  336. return NEWWELD
  337. end
  338.  
  339. local S = IT("Sound")
  340. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  341. local NEWSOUND = nil
  342. coroutine.resume(coroutine.create(function()
  343. NEWSOUND = S:Clone()
  344. NEWSOUND.Parent = PARENT
  345. NEWSOUND.Volume = VOLUME
  346. NEWSOUND.Pitch = PITCH
  347. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  348. NEWSOUND:play()
  349. if DOESLOOP == true then
  350. NEWSOUND.Looped = true
  351. else
  352. repeat wait(1) until NEWSOUND.Playing == false
  353. NEWSOUND:remove()
  354. end
  355. end))
  356. return NEWSOUND
  357. end
  358.  
  359. function CFrameFromTopBack(at, top, back)
  360. local right = top:Cross(back)
  361. 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)
  362. end
  363.  
  364. function CreateWave(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  365. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  366. local mesh = IT("SpecialMesh",wave)
  367. mesh.MeshType = "FileMesh"
  368. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  369. mesh.Scale = VT(size,size,size)
  370. mesh.Offset = VT(0,0,-size/8)
  371. wave.CFrame = cframe
  372. coroutine.resume(coroutine.create(function(PART)
  373. for i = 1, waitt do
  374. Swait()
  375. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  376. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  377. if doesrotate == true then
  378. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  379. end
  380. wave.Transparency = wave.Transparency + (0.5/waitt)
  381. if wave.Transparency > 0.99 then
  382. wave:remove()
  383. end
  384. end
  385. end))
  386. end
  387.  
  388. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  389. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  390. local mesh = IT("SpecialMesh",wave)
  391. mesh.MeshType = "FileMesh"
  392. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  393. mesh.Scale = VT(size,size,size)
  394. wave.CFrame = cframe
  395. coroutine.resume(coroutine.create(function(PART)
  396. for i = 1, waitt do
  397. Swait()
  398. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  399. if doesrotate == true then
  400. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  401. end
  402. wave.Transparency = wave.Transparency + (0.5/waitt)
  403. if wave.Transparency > 0.99 then
  404. wave:remove()
  405. end
  406. end
  407. end))
  408. end
  409.  
  410. function CreateTornado(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  411. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  412. local mesh = IT("SpecialMesh",wave)
  413. mesh.MeshType = "FileMesh"
  414. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  415. mesh.Scale = VT(size,size,size)
  416. wave.CFrame = cframe
  417. coroutine.resume(coroutine.create(function(PART)
  418. for i = 1, waitt do
  419. Swait()
  420. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  421. if doesrotate == true then
  422. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  423. end
  424. wave.Transparency = wave.Transparency + (0.5/waitt)
  425. if wave.Transparency > 0.99 then
  426. wave:remove()
  427. end
  428. end
  429. end))
  430. end
  431.  
  432. function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  433. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  434. local mesh = IT("SpecialMesh",wave)
  435. mesh.MeshType = "FileMesh"
  436. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  437. mesh.Scale = SIZE
  438. mesh.Offset = VT(0,0,-SIZE.X/8)
  439. wave.CFrame = CFRAME
  440. coroutine.resume(coroutine.create(function(PART)
  441. for i = 1, WAIT do
  442. Swait()
  443. mesh.Scale = mesh.Scale + GROW
  444. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  445. if DOESROT == true then
  446. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  447. end
  448. wave.Transparency = wave.Transparency + (0.5/WAIT)
  449. if wave.Transparency > 0.99 then
  450. wave:remove()
  451. end
  452. end
  453. end))
  454. end
  455.  
  456. function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  457. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  458. local mesh = IT("SpecialMesh",wave)
  459. mesh.MeshType = "FileMesh"
  460. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  461. mesh.Scale = SIZE
  462. mesh.Offset = VT(0,0,0)
  463. wave.CFrame = CFRAME
  464. coroutine.resume(coroutine.create(function(PART)
  465. for i = 1, WAIT do
  466. Swait()
  467. mesh.Scale = mesh.Scale + GROW
  468. if DOESROT == true then
  469. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  470. end
  471. wave.Transparency = wave.Transparency + (0.5/WAIT)
  472. if wave.Transparency > 0.99 then
  473. wave:remove()
  474. end
  475. end
  476. end))
  477. end
  478.  
  479. function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
  480. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  481. local mesh = IT("SpecialMesh",wave)
  482. mesh.MeshType = "Sphere"
  483. mesh.Scale = SIZE
  484. mesh.Offset = VT(0,0,0)
  485. wave.CFrame = CFRAME
  486. coroutine.resume(coroutine.create(function(PART)
  487. for i = 1, WAIT do
  488. Swait()
  489. mesh.Scale = mesh.Scale + GROW
  490. wave.Transparency = wave.Transparency + (1/WAIT)
  491. if wave.Transparency > 0.99 then
  492. wave:remove()
  493. end
  494. end
  495. end))
  496. end
  497.  
  498.  
  499. function CreateRing(inair,size,doesrotate,rotatedirection,waitt,cframe,spin1,spin2,color)
  500. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  501. local mesh = IT("SpecialMesh",wave)
  502. mesh.MeshType = "FileMesh"
  503. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  504. mesh.Scale = VT(size,size,size)
  505. mesh.Offset = VT(0,0,0)
  506. wave.CFrame = cframe
  507. coroutine.resume(coroutine.create(function(PART)
  508. for i = 1, waitt do
  509. Swait()
  510. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  511. if doesrotate == true then
  512. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1)
  513. end
  514. wave.Transparency = wave.Transparency + (0.5/waitt)
  515. if wave.Transparency > 0.99 then
  516. wave:remove()
  517. end
  518. end
  519. end))
  520. end
  521.  
  522. function MagicSphere(size,waitt,cframe,color)
  523. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  524. local mesh = IT("SpecialMesh",wave)
  525. mesh.MeshType = "Sphere"
  526. mesh.Scale = VT(size,size,size)
  527. mesh.Offset = VT(0,0,0)
  528. wave.CFrame = cframe
  529. coroutine.resume(coroutine.create(function(PART)
  530. for i = 1, waitt do
  531. Swait()
  532. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  533. wave.Transparency = wave.Transparency + (1/waitt)
  534. if wave.Transparency > 0.99 then
  535. wave:remove()
  536. end
  537. end
  538. end))
  539. end
  540.  
  541. function MagicSphere2(size,waitt,cframe,color)
  542. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  543. local mesh = IT("SpecialMesh",wave)
  544. mesh.MeshType = "Sphere"
  545. mesh.Scale = VT(size,size,size)
  546. mesh.Offset = VT(0,0,0)
  547. wave.CFrame = cframe
  548. coroutine.resume(coroutine.create(function(PART)
  549. for i = 1, waitt do
  550. Swait()
  551. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  552. wave.Transparency = wave.Transparency - (1/waitt)
  553. end
  554. wave:remove()
  555. end))
  556. end
  557.  
  558. function BreakEffect(brickcolor,cframe,x1,y1,z1,material)
  559. local prt=part("Custom",workspace,material,0,0,brickcolor,"Effect",VT(0.5,0.5,0.5))
  560. prt.Anchored=true
  561. prt.CFrame=cframe*EULER(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  562. local msh=mesh("SpecialMesh",prt,"Sphere","",VT(0,0,0),VT(x1,y1,z1))
  563. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  564. CF=Part.CFrame
  565. Numbb=0
  566. randnumb=math.random()-math.random()
  567. for i=0,1,0.05 do
  568. wait()
  569. CF=CF*CF(0,1,0)
  570. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  571. Part.CFrame=CF*EULER(Numbb,0,0)
  572. Part.Transparency=i
  573. Numbb=Numbb+randnumb
  574. end
  575. Part.Parent=nil
  576. end),prt)
  577. end
  578.  
  579. function MagicBlock(size,waitt,cframe,color)
  580. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size))
  581. local mesh = IT("BlockMesh",wave)
  582. wave.CFrame = cframe
  583. coroutine.resume(coroutine.create(function(PART)
  584. for i = 1, waitt do
  585. Swait()
  586. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  587. wave.CFrame = cframe * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  588. wave.Transparency = wave.Transparency + (1/waitt)
  589. if wave.Transparency > 0.99 then
  590. wave:remove()
  591. end
  592. end
  593. end))
  594. end
  595.  
  596. local EyeSizes={
  597. NumberSequenceKeypoint.new(0,2,0),
  598. NumberSequenceKeypoint.new(1,0,0)
  599. }
  600. local EyeTrans={
  601. NumberSequenceKeypoint.new(0,0.5,0),
  602. NumberSequenceKeypoint.new(1,1,0)
  603. }
  604. local PE=Instance.new("ParticleEmitter",nil)
  605. PE.LightEmission=.8
  606. PE.Color = ColorSequence.new(BRICKC("Alder").Color,BRICKC("Eggplant").Color)
  607. PE.Size=NumberSequence.new(EyeSizes)
  608. PE.Transparency=NumberSequence.new(EyeTrans)
  609. PE.Lifetime=NumberRange.new(0.35,1)
  610. PE.Rotation=NumberRange.new(0,360)
  611. PE.Rate=100
  612. PE.VelocitySpread = 10000
  613. PE.Acceleration = Vector3.new(0,85,0)
  614. PE.Drag = 5
  615. PE.Speed = NumberRange.new(0.1,5)
  616. PE.Texture="http://www.roblox.com/asset/?id=1460745664"
  617. PE.ZOffset = 0.5
  618. PE.Name = "PE"
  619. PE.Enabled = false
  620.  
  621. function Fire(art)
  622. local PARTICLES = PE:Clone()
  623. PARTICLES.Parent = art
  624. PARTICLES.Enabled = true
  625. return PARTICLES
  626. end
  627.  
  628. function CFrameFromTopBack(at, top, back)
  629. local right = top:Cross(back)
  630. 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)
  631. end
  632.  
  633. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  634. function WACKYEFFECT(Table)
  635. local TYPE = (Table.EffectType or "Sphere")
  636. local SIZE = (Table.Size or VT(1,1,1))
  637. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  638. local TRANSPARENCY = (Table.Transparency or 0)
  639. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  640. local CFRAME = (Table.CFrame or Torso.CFrame)
  641. local MOVEDIRECTION = (Table.MoveToPos or nil)
  642. local ROTATION1 = (Table.RotationX or 0)
  643. local ROTATION2 = (Table.RotationY or 0)
  644. local ROTATION3 = (Table.RotationZ or 0)
  645. local MATERIAL = (Table.Material or "Neon")
  646. local COLOR = (Table.Color or C3(1,1,1))
  647. local TIME = (Table.Time or 45)
  648. local SOUNDID = (Table.SoundID or nil)
  649. local SOUNDPITCH = (Table.SoundPitch or nil)
  650. local SOUNDVOLUME = (Table.SoundVolume or nil)
  651. coroutine.resume(coroutine.create(function()
  652. local PLAYSSOUND = false
  653. local SOUND = nil
  654. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  655. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  656. PLAYSSOUND = true
  657. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  658. end
  659. EFFECT.Color = COLOR
  660. local MSH = nil
  661. if TYPE == "Sphere" then
  662. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  663. elseif TYPE == "Block" or TYPE == "Box" then
  664. MSH = IT("BlockMesh",EFFECT)
  665. MSH.Scale = SIZE
  666. elseif TYPE == "Wave" then
  667. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  668. elseif TYPE == "Ring" then
  669. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  670. elseif TYPE == "Slash" then
  671. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  672. elseif TYPE == "Round Slash" then
  673. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  674. elseif TYPE == "Swirl" then
  675. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  676. elseif TYPE == "Skull" then
  677. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  678. elseif TYPE == "Crystal" then
  679. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  680. end
  681. if MSH ~= nil then
  682. local MOVESPEED = nil
  683. if MOVEDIRECTION ~= nil then
  684. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  685. end
  686. local GROWTH = SIZE - ENDSIZE
  687. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  688. if TYPE == "Block" then
  689. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  690. else
  691. EFFECT.CFrame = CFRAME
  692. end
  693. for LOOP = 1, TIME+1 do
  694. Swait()
  695. MSH.Scale = MSH.Scale - GROWTH/TIME
  696. if TYPE == "Wave" then
  697. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  698. end
  699. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  700. if TYPE == "Block" then
  701. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  702. else
  703. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  704. end
  705. if MOVEDIRECTION ~= nil then
  706. local ORI = EFFECT.Orientation
  707. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  708. EFFECT.Orientation = ORI
  709. end
  710. end
  711. if PLAYSSOUND == false then
  712. EFFECT:remove()
  713. else
  714. repeat wait(1) until SOUND.Playing == false
  715. EFFECT:remove()
  716. end
  717. else
  718. if PLAYSSOUND == false then
  719. EFFECT:remove()
  720. else
  721. repeat Swait() until SOUND.Playing == false
  722. EFFECT:remove()
  723. end
  724. end
  725. end))
  726. end
  727.  
  728. function MakeForm(PART,TYPE)
  729. if TYPE == "Cyl" then
  730. local MSH = IT("CylinderMesh",PART)
  731. elseif TYPE == "Ball" then
  732. local MSH = IT("SpecialMesh",PART)
  733. MSH.MeshType = "Sphere"
  734. elseif TYPE == "Wedge" then
  735. local MSH = IT("SpecialMesh",PART)
  736. MSH.MeshType = "Wedge"
  737. end
  738. end
  739.  
  740. function createaddongen(limb,position,size)
  741. local part = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Really black", limb.Name.." Gauntlet Part", VT(0.25*Player_Size, size*0.8*Player_Size,size*0.8*Player_Size),false)
  742. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0.45 * Player_Size, position * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, 0, 0))
  743. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", limb.Name.." Neon Gauntlet Part", VT(0.25*Player_Size,size*Player_Size,size*Player_Size),false)
  744. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0.425 * Player_Size, position * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, 0, 0))
  745. end
  746.  
  747. function creategauntlet(limb)
  748. --main--
  749. local part = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Really black", limb.Name.." Gauntlet Part", VT(1.07*Player_Size,0.75+0.07*Player_Size,1.07*Player_Size),false)
  750. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, -0.65 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  751. local part = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Really black", limb.Name.." Gauntlet Part", VT(1.07*Player_Size,0.25*Player_Size,1.07*Player_Size),false)
  752. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, -0.115 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  753. MakeForm(part,"Wedge")
  754. local part = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Really black", limb.Name.." Gauntlet Part", VT(1.07*Player_Size,0.25*Player_Size,1.07*Player_Size),false)
  755. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, 0.115 * Player_Size, 0 * Player_Size) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  756. MakeForm(part,"Wedge")
  757. local part = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Really black", limb.Name.." Gauntlet Part", VT(1.07*Player_Size,0.75+0.07*Player_Size,1.07*Player_Size),false)
  758. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, 0.65 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  759. --neon addons
  760. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", limb.Name.." Neon Gauntlet Part", VT(1.05*Player_Size,2.05*Player_Size,1.05*Player_Size),false)
  761. local weld = CreateWeldOrSnapOrMotor("Weld", part, limb, part, CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  762. --misc--
  763. createaddongen(limb,0.25,0.75)
  764. createaddongen(limb,-0.2,0.25)
  765. createaddongen(limb,-0.35,0.25)
  766. createaddongen(limb,-0.65,0.45)
  767. end
  768.  
  769.  
  770. Debris = game:GetService("Debris")
  771.  
  772. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  773. local DIRECTION = CF(StartPos,EndPos).lookVector
  774. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  775. end
  776.  
  777. local HATWELD = nil
  778. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  779. PLAYMAINANIM = false
  780. if WhichPose == "Cast1" then
  781. for i=0, Time, 0.1 / Animation_Speed do
  782. Swait()
  783. if Magic == true then
  784. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Eggplant".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  785. end
  786. if Gyro ~= nil and Gyro ~= false then
  787. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  788. end
  789. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  790. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  791. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  792. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  793. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  794. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  795. end
  796. elseif WhichPose == "Cast2" then
  797. for i=0, Time, 0.1 / Animation_Speed do
  798. Swait()
  799. if Magic == true then
  800. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Eggplant".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  801. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Eggplant".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  802. end
  803. if Gyro ~= nil and Gyro ~= false then
  804. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  805. end
  806. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  807. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  808. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  809. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  810. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  811. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  812. end
  813. elseif WhichPose == "RightArmUp" then
  814. for i=0, Time, 0.1 / Animation_Speed do
  815. Swait()
  816. if Magic == true then
  817. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Eggplant".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  818. end
  819. if Gyro ~= nil and Gyro ~= false then
  820. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  821. end
  822. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  823. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  824. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  825. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  826. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  827. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  828. end
  829. elseif WhichPose == "Taunt" then
  830. for i=0, Time, 0.1 / Animation_Speed do
  831. Swait()
  832. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  833. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  834. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  835. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  836. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  837. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  838. end
  839. HATWELD.Part0 = RightArm
  840. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  841. CreateSound(319332735,Torso,10,1,false)
  842. for i=0, Time*2, 0.1 / Animation_Speed do
  843. Swait()
  844. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  845. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  846. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  847. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  848. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  849. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  850. end
  851. for i=0, Time, 0.1 / Animation_Speed do
  852. Swait()
  853. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  854. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  855. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  856. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  857. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  858. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  859. HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  860. end
  861. HATWELD.Part0 = Head
  862. HATWELD.C0 = CF(0,0.35,0)
  863. elseif WhichPose == "Prepare key" then
  864. for i=0, Time, 0.1 / Animation_Speed do
  865. Swait()
  866. if Gyro ~= nil and Gyro ~= false then
  867. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  868. end
  869. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  870. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  871. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  872. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  873. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  874. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  875. end
  876. elseif WhichPose == "Turn key" then
  877. for i=0, Time, 0.1 / Animation_Speed do
  878. Swait()
  879. if Gyro ~= nil and Gyro ~= false then
  880. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  881. end
  882. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  883. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  884. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  885. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  886. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  887. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  888. end
  889. end
  890. PLAYMAINANIM = true
  891. end
  892.  
  893. --Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 9999, Branches = false})
  894. function Lightning(Table)
  895. local Color = Table.Color or C3(1,1,1)
  896. local StartPos = Table.Start or Torso.Position
  897. local EndPos = Table.End or Mouse.Hit.p
  898. local SegmentLength = Table.SegmentL or 2
  899. local Thickness = Table.Thickness or 0.1
  900. local Dissapear = Table.DoesFade or false
  901. local Parent = Table.Ignore or Character
  902. local MaxDist = Table.MaxDist or 400
  903. local Branches = Table.Branches or false
  904. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  905. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  906. local LIGHTNINGMODEL = IT("Model",Effects)
  907. LIGHTNINGMODEL.Name = "Lightning"
  908. local LastBolt = nil
  909. for E = 1, DISTANCE do
  910. local ExtraSize = (DISTANCE-E)/15
  911. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  912. PART.Color = Color
  913. MakeForm(PART,"Cyl")
  914. if LastBolt == nil then
  915. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  916. else
  917. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  918. end
  919. LastBolt = PART
  920. if Branches == true then
  921. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  922. if CHOICE == 1 then
  923. local LASTBRANCH = nil
  924. for i = 1, MRANDOM(2,5) do
  925. local ExtraSize2 = ((DISTANCE-E)/25)/i
  926. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  927. PART.Color = Color
  928. MakeForm(PART,"Cyl")
  929. if LASTBRANCH == nil then
  930. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  931. else
  932. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  933. end
  934. LASTBRANCH = PART
  935. end
  936. end
  937. end
  938. end
  939. if Dissapear == true then
  940. coroutine.resume(coroutine.create(function()
  941. for i = 1, 10 do
  942. Swait()
  943. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  944. if c.ClassName == "Part" then
  945. c.Transparency = i/10
  946. end
  947. end
  948. end
  949. LIGHTNINGMODEL:remove()
  950. end))
  951. elseif Dissapear == false then
  952. Debris:AddItem(LIGHTNINGMODEL,0.1)
  953. end
  954. return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  955. end
  956.  
  957. --//=================================\\
  958. --|| WEAPON CREATION
  959. --\\=================================//
  960. for i = 1, 15 do
  961. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/15.2, "Dark stone grey", "FaceGradient", VT(1.01,0.58,1.01),false)
  962. FACE.Color = C3(0,0,0)
  963. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  964. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
  965. end
  966. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2,0.2,2),false)
  967. MakeForm(HAT1,"Cyl")
  968. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  969. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(2.01,0.15,2.01),false)
  970. BELT.Color = C3(15/255,15/255,15/255)
  971. MakeForm(BELT,"Cyl")
  972. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  973. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,2.2,1.3),false)
  974. MakeForm(HAT2,"Cyl")
  975. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  976. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.2,1.31),false)
  977. BELT.Color = C3(15/255,15/255,15/255)
  978. MakeForm(BELT,"Cyl")
  979. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  980. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Magenta", "Gem", VT(0.25,0.25,0.1),false)
  981. MakeForm(GEM,"Ball")
  982. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  983. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Magenta", "Gem", VT(0.25,0.25,0.1),false)
  984. MakeForm(GEM,"Ball")
  985. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  986. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Magenta", "Gem", VT(0.1,0.25,0.25),false)
  987. MakeForm(GEM,"Ball")
  988. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  989. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Magenta", "Gem", VT(0.1,0.25,0.25),false)
  990. MakeForm(GEM,"Ball")
  991. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  992. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  993. BELT.Color = C3(15/255,15/255,15/255)
  994. MakeForm(BELT,"Cyl")
  995. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  996. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  997. BELT.Color = C3(15/255,15/255,15/255)
  998. MakeForm(BELT,"Cyl")
  999. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  1000. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1001. BELT.Color = C3(15/255,15/255,15/255)
  1002. MakeForm(BELT,"Cyl")
  1003. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  1004. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1005. BELT.Color = C3(15/255,15/255,15/255)
  1006. MakeForm(BELT,"Cyl")
  1007. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  1008. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,0.5,1.3),false)
  1009. MakeForm(BELT,"Ball")
  1010. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  1011.  
  1012. local lightning = Instance.new("ParticleEmitter",Torso)
  1013. lightning.Texture = "http://www.roblox.com/asset/?id=348321827"
  1014. lightning.LightEmission = 0
  1015. lightning.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
  1016. lightning.LockedToPart = true
  1017. lightning.Rate = 20
  1018. lightning.Lifetime = NumberRange.new(0.1,0.10)
  1019. lightning.Rotation = NumberRange.new(0,360)
  1020. lightning.Size = NumberSequence.new(3,3,3)
  1021. lightning.Transparency = NumberSequence.new(0,0)
  1022. lightning.Speed = NumberRange.new(0,0)
  1023. lightning.RotSpeed = NumberRange.new(0,0)
  1024. lightning.ZOffset = 5
  1025. lightning.Parent = Character.Torso
  1026. lightning.Enabled = false
  1027.  
  1028. local eeeffecto = Instance.new("ParticleEmitter",Torso)
  1029. eeeffecto.Texture = "http://www.roblox.com/asset/?id=305943367"
  1030. eeeffecto.LightEmission = 0
  1031. eeeffecto.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1))
  1032. eeeffecto.LockedToPart = true
  1033. eeeffecto.Rate = 10
  1034. eeeffecto.Lifetime = NumberRange.new(0.1,0.1)
  1035. eeeffecto.Rotation = NumberRange.new(0,0)
  1036. eeeffecto.Size = NumberSequence.new(9,9,9)
  1037. eeeffecto.Transparency = NumberSequence.new(0,0)
  1038. eeeffecto.Speed = NumberRange.new(0,0)
  1039. eeeffecto.RotSpeed = NumberRange.new(0,0)
  1040. eeeffecto.Parent = Character.Torso
  1041. eeeffecto.Enabled = false
  1042.  
  1043. Humanoid.DisplayDistanceType = "None"
  1044. local naeeym2 = IT("BillboardGui",Character)
  1045. naeeym2.AlwaysOnTop = true
  1046. naeeym2.Size = UDim2.new(6,40,3,20)
  1047. naeeym2.StudsOffset = Vector3.new(0,3,0)
  1048. naeeym2.MaxDistance = 200
  1049. naeeym2.Adornee = Character.Head
  1050. naeeym2.Name = "Name"
  1051. local tecks2 = IT("TextLabel",naeeym2)
  1052. tecks2.BackgroundTransparency = 1
  1053. tecks2.TextScaled = true
  1054. tecks2.BorderSizePixel = 0
  1055. tecks2.Text = "Warden of the Void"
  1056. tecks2.Font = "Antique"
  1057. tecks2.TextSize = 40
  1058. tecks2.TextStrokeTransparency = 0.5
  1059. tecks2.TextColor3 = Color3.new(0,0,0)
  1060. tecks2.TextStrokeColor3 = BRICKC"Eggplant".Color
  1061. tecks2.Size = UDim2.new(1,0,0.5,0)
  1062. tecks2.Parent = naeeym2
  1063. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Magenta", "FaceGradient", VT(0.15,0.15,0.15),false)
  1064. MakeForm(EYE,"Ball")
  1065. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.22,-0.55), CF(0, 0, 0))
  1066. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Magenta", "FaceGradient", VT(0.05,0.14,0.05),false)
  1067. EYE.Color = C3(0,0,0)
  1068. MakeForm(EYE,"Ball")
  1069. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.22,-0.6), CF(0, 0, 0))
  1070. local top = Instance.new("Shirt")
  1071. top.ShirtTemplate = "rbxassetid://476542397"
  1072. top.Parent = Character
  1073. top.Name = "Cloth"
  1074. local bottom = Instance.new("Pants")
  1075. bottom.PantsTemplate = "rbxassetid://476542637"
  1076. bottom.Parent = Character
  1077. bottom.Name = "Cloth"
  1078. for _, c in pairs(Character:GetChildren()) do
  1079. if c.ClassName == "Part" and c.Name ~= "FaceGradient" and c.Name ~= "Hat" and c.Name ~= "Gem" then
  1080. c.Material = "Neon"
  1081. if c:FindFirstChildOfClass("ParticleEmitter") then
  1082. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1083. end
  1084. c.Color = C3(1,1,1)
  1085. if c == Head then
  1086. if c:FindFirstChild("face") then
  1087. c.face:remove()
  1088. end
  1089. end
  1090. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  1091. c:remove()
  1092. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1093. c:remove()
  1094. end
  1095. end
  1096. local BODY = {}
  1097. for _, c in pairs(Character:GetDescendants()) do
  1098. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1099. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1100. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1101. end
  1102. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1103. elseif c:IsA("JointInstance") then
  1104. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1105. end
  1106. end
  1107. for e = 1, #BODY do
  1108. if BODY[e] ~= nil then
  1109. local STUFF = BODY[e]
  1110. local PART = STUFF[1]
  1111. local PARENT = STUFF[2]
  1112. local MATERIAL = STUFF[3]
  1113. local COLOR = STUFF[4]
  1114. local TRANSPARENCY = STUFF[5]
  1115. if PART.ClassName == "Part" and PART ~= RootPart then
  1116. PART.Material = MATERIAL
  1117. PART.Color = COLOR
  1118. PART.Transparency = TRANSPARENCY
  1119. end
  1120. PART.AncestryChanged:Connect(function()
  1121. PART.Parent = PARENT
  1122. end)
  1123. end
  1124. end
  1125. function refit()
  1126. Character.Parent = workspace
  1127. for e = 1, #BODY do
  1128. if BODY[e] ~= nil then
  1129. local STUFF = BODY[e]
  1130. local PART = STUFF[1]
  1131. local PARENT = STUFF[2]
  1132. local MATERIAL = STUFF[3]
  1133. local COLOR = STUFF[4]
  1134. local TRANSPARENCY = STUFF[5]
  1135. if PART.ClassName == "Part" and PART ~= RootPart then
  1136. PART.Material = MATERIAL
  1137. PART.Color = COLOR
  1138. PART.Transparency = TRANSPARENCY
  1139. end
  1140. if PART.Parent ~= PARENT then
  1141. Humanoid:remove()
  1142. PART.Parent = PARENT
  1143. Humanoid = IT("Humanoid",Character)
  1144. end
  1145. end
  1146. end
  1147. end
  1148. local SKILLTEXTCOLOR = BRICKC"Eggplant".Color
  1149. local SKILLFONT = "Bodoni"
  1150. local SKILLTEXTSIZE = 7
  1151.  
  1152. local SKILLTEXTCOLOR2 = BRICKC"Royal purple".Color
  1153. local SKILLFONT = "Bodoni"
  1154. local SKILLTEXTSIZE = 7
  1155.  
  1156. Humanoid.Died:connect(function()
  1157. refit()
  1158. end)
  1159.  
  1160. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1161. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1162. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1163. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1164. local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.365, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1165. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.15, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  1166. local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.05, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  1167. local SKILL8FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.10, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 8 Frame")
  1168. local SKILL9FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.10, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 9 Frame")
  1169. local SKILL10FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.10, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 10 Frame")
  1170. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Void Zap", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  1171. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Void Thunder", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  1172. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Void Ring", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  1173. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Warden Wall", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  1174. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Void Beam", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  1175. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[F] Void Hop", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
  1176. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[G] Trap into the Void", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
  1177. local SKILL8TEXT = CreateLabel(SKILL8FRAME, "[P] Rift World", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 8")
  1178. local SKILL9TEXT = CreateLabel(SKILL9FRAME, "[E] Void Star", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 9")
  1179. local SKILL10TEXT = CreateLabel(SKILL10FRAME, "[Q] Void Box", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 10")
  1180.  
  1181. --//=================================\\
  1182. --|| DAMAGING
  1183. --\\=================================//
  1184.  
  1185. function ApplyAoE(POSITION,RANGE,FLING,BURN)
  1186. local CHILDREN = workspace:GetDescendants()
  1187. for index, CHILD in pairs(CHILDREN) do
  1188. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1189. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1190. if HUM then
  1191. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1192. if TORSO then
  1193. if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
  1194. CHILD:BreakJoints()
  1195. if FLING ~= 0 then
  1196. for _, c in pairs(CHILD:GetChildren()) do
  1197. if c:IsA("BasePart") and c.Transparency == 0 then
  1198. if BURN == true then
  1199. Fire(c)
  1200. end
  1201. local bv = Instance.new("BodyVelocity")
  1202. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1203. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1204. bv.Parent = c
  1205. Debris:AddItem(bv,0.05)
  1206. end
  1207. end
  1208. end
  1209. end
  1210. end
  1211. end
  1212. end
  1213. end
  1214. end
  1215.  
  1216. --//=================================\\
  1217. --|| text above head lel
  1218. --\\=================================//
  1219.  
  1220. function chatfunc(text)
  1221. local chat = coroutine.wrap(function()
  1222. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1223. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1224. end
  1225. local Bill = Instance.new("BillboardGui",Character)
  1226. Bill.Size = UDim2.new(0,100,0,40)
  1227. Bill.StudsOffset = Vector3.new(0,5.5,0)
  1228. Bill.Adornee = Character.Head
  1229. Bill.Name = "TalkingBillBoard"
  1230. local Hehe = Instance.new("TextLabel",Bill)
  1231. Hehe.BackgroundTransparency = 1
  1232. Hehe.BorderSizePixel = 0
  1233. Hehe.Text = ""
  1234. Hehe.Font = "Antique"
  1235. Hehe.TextSize = 50
  1236. Hehe.TextStrokeTransparency = 0
  1237. Hehe.Size = UDim2.new(1,0,0.5,0)
  1238. coroutine.resume(coroutine.create(function()
  1239. while Hehe ~= nil do
  1240. Swait()
  1241. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1242. Hehe.Rotation = math.random(-5,5)
  1243. Hehe.TextColor3 = Color3.new(0,0,0)
  1244. Hehe.TextStrokeColor3 = BRICKC"Eggplant".Color
  1245. end
  1246. end))
  1247. for i = 1,string.len(text),1 do
  1248. Swait()
  1249. Hehe.Text = string.sub(text,1,i)
  1250. end
  1251. Swait(90)--Re[math.random(1, 93)]
  1252. for i = 0, 1, .025 do
  1253. Swait()
  1254. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1255. Hehe.TextStrokeTransparency = i
  1256. Hehe.TextTransparency = i
  1257. end
  1258. Bill:Destroy()
  1259. end)
  1260. chat()
  1261. end
  1262.  
  1263. function onChatted(msg)
  1264. chatfunc(msg)
  1265. end
  1266.  
  1267. Player.Chatted:connect(onChatted)
  1268.  
  1269.  
  1270. --//=================================\\
  1271. --|| ATTACK FUNCTIONS AND STUFF
  1272. --\\=================================//
  1273.  
  1274. --------------VOID BOX-------------------
  1275.  
  1276. function VoidBox()
  1277. local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1278. if HITFLOOR ~= nil then
  1279. ATTACK = false
  1280. Rooted = false
  1281. local RINGSPIN = true
  1282. local CONSTRUCTING = true
  1283. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Eggplant", "Ring", VT(0,0,0))
  1284. RING.Color = C3(0,0,0)
  1285. MakeForm(RING,"Cyl")
  1286. RING.CFrame = CF(HITPOS)
  1287. CreateSound(402981977, RING, 5, 1.2, false)
  1288. coroutine.resume(coroutine.create(function()
  1289. repeat
  1290. Swait()
  1291. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1292. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1293. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1294. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1295. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1296. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1297. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1298. until CONSTRUCTING == false
  1299. repeat
  1300. Swait()
  1301. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1302. until RINGSPIN == false
  1303. for i = 1, 25 do
  1304. Swait()
  1305. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1306. RING.Size = RING.Size - VT(0.15,0,0.15)
  1307. --DECAL.Transparency = DECAL.Transparency + 1/25
  1308. RING.Transparency = RING.Transparency + 1/25
  1309. end
  1310. RING:remove()
  1311. end))
  1312. for i = 1, 15 do
  1313. Swait()
  1314. RING.Size = RING.Size + VT(0.75,0,0.75)
  1315. RING.Transparency = RING.Transparency - 1/15
  1316. end
  1317. local BOXSPIN = true
  1318. local PANDORASBOX = IT("Model",Effects2)
  1319. PANDORASBOX.Name = "Pandora's Box"
  1320. local BOX = IT("Model",PANDORASBOX)
  1321. BOX.Name = "Body"
  1322. local LID = IT("Model",PANDORASBOX)
  1323. LID.Name = "Lid"
  1324. --BUILDING THE BOX--
  1325. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Eggplant", "Black", VT(2,1.8,2))
  1326. BASE.Color = C3(0,0,0)
  1327. PANDORASBOX.PrimaryPart = BASE
  1328. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  1329. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Magenta", "Marble", VT(0.2,1.9,0.2))
  1330. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  1331. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Magenta", "Marble", VT(0.2,1.9,0.2))
  1332. WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  1333. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Magenta", "Marble", VT(0.2,1.9,0.2))
  1334. WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  1335. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Magenta", "Marble", VT(0.2,1.9,0.2))
  1336. WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  1337. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Magenta", "Marble", VT(2.1,0.2,0.2))
  1338. WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  1339. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Magenta", "Marble", VT(2.1,0.2,0.2))
  1340. WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  1341. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Magenta", "Marble", VT(0.2,0.2,2.1))
  1342. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  1343. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Magenta", "Marble", VT(0.2,0.2,2.1))
  1344. WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  1345. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Magenta", "Marble", VT(2.1,0.2,0.2))
  1346. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  1347. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Magenta", "Marble", VT(2.1,0.2,0.2))
  1348. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  1349. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Magenta", "Marble", VT(0.2,0.2,2.1))
  1350. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  1351. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Magenta", "Marble", VT(0.2,0.2,2.1))
  1352. WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  1353. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Eggplant", "Marble", VT(2.1,1.9,0.1))
  1354. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  1355. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Eggplant", "Marble", VT(2.1,1.9,0.1))
  1356. WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  1357. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Eggplant", "Marble", VT(0.1,1.9,2.1))
  1358. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  1359. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Eggplant", "Marble", VT(0.1,1.9,2.1))
  1360. WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  1361. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Eggplant", "Marble", VT(2.1,0.1,2.1))
  1362. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  1363. -------------
  1364. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Eggplant", "Marble", VT(2.1,0.1,2.1))
  1365. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  1366. LID.PrimaryPart = LIDPART
  1367. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Magenta", "Marble", VT(2.1,0.2,0.2))
  1368. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  1369. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Magenta", "Marble", VT(2.1,0.2,0.2))
  1370. WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  1371. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Magenta", "Marble", VT(0.2,0.2,2.1))
  1372. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  1373. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Magenta", "Marble", VT(0.2,0.2,2.1))
  1374. WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  1375. local DECAL = IT("Decal",LIDPART)
  1376. DECAL.Face = "Top"
  1377. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  1378. DECAL.Color3 = C3(0,0,0)
  1379. --BUILDING THE BOX--
  1380. coroutine.resume(coroutine.create(function()
  1381. repeat
  1382. Swait()
  1383. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  1384. until BOXSPIN == false
  1385. end))
  1386. for i = 1, 25 do
  1387. Swait()
  1388. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  1389. end
  1390. wait(0.5)
  1391. BOXSPIN = false
  1392. CONSTRUCTING = false
  1393. coroutine.resume(coroutine.create(function()
  1394. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = LIDPART.Size, Size2 = VT(3,0,3)*4, Transparency = 0, Transparency2 = 1, CFrame = LIDPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 168586586, SoundPitch = 1.3, SoundVolume = 6})
  1395. --[[for i = 1, 45 do
  1396. Swait()
  1397. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  1398. end-
  1399. LID:remove()]]--
  1400. for _, c in pairs(LID:GetChildren()) do
  1401. if c.ClassName == "Part" then
  1402. c.Anchored = false
  1403. c.CanCollide = true
  1404. if c ~= LIDPART then
  1405. weldBetween(LIDPART,c)
  1406. end
  1407. end
  1408. end
  1409. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  1410. Debris:AddItem(LID,15)
  1411. wait(0.5)
  1412. local RANDOMEFFECT = MRANDOM(1,4)
  1413. if RANDOMEFFECT == 1 then
  1414. for i = 1, 45 do
  1415. wait((2-(i/15))/15)
  1416. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,MRANDOM(12,15),0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(1,5)), MoveToPos = BASE.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.8, SoundVolume = 6})
  1417. end
  1418. wait(1)
  1419. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35)*12, Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
  1420. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*10, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 469345336, SoundPitch = 0.75, SoundVolume = 6})
  1421. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*9, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  1422. for i = 1, 5 do
  1423. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*12, Transparency = 0.5, Transparency2 = 1, CFrame = BASE.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1424. end
  1425. ApplyAoE(BASE.Position,50,1,200,375,false)
  1426. ApplyAoE(BASE.Position,250,35,75,175,false)
  1427. elseif RANDOMEFFECT == 2 then
  1428. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Magenta", "Field", VT(0.3,0.3,0.3))
  1429. FIELD.CFrame = BASE.CFrame
  1430. MakeForm(FIELD,"Ball")
  1431. for i = 1, 50 do
  1432. Swait()
  1433. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  1434. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1435. end
  1436. wait(0.2)
  1437. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  1438. coroutine.resume(coroutine.create(function()
  1439. for i = 1, 75 do
  1440. Swait()
  1441. LOOP.Volume = LOOP.Volume + 10/75
  1442. LOOP.Parent = FIELD
  1443. local CHILDREN = workspace:GetDescendants()
  1444. for index, CHILD in pairs(CHILDREN) do
  1445. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1446. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1447. if HUM then
  1448. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1449. if TORSO then
  1450. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1451. HUM.Health = HUM.Health - 0.1
  1452. TORSO.Velocity = VT(0,5,0)
  1453. HUM.PlatformStand = true
  1454. if TORSO.RotVelocity.Magnitude < 15 then
  1455. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1456. end
  1457. end
  1458. end
  1459. end
  1460. end
  1461. end
  1462. FIELD.Size = FIELD.Size + VT(3,3,3)
  1463. FIELD.Transparency = FIELD.Transparency + 0.8/75
  1464. end
  1465. for i = 1, 500 do
  1466. Swait()
  1467. LOOP.Parent = FIELD
  1468. local CHILDREN = workspace:GetDescendants()
  1469. for index, CHILD in pairs(CHILDREN) do
  1470. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1471. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1472. if HUM then
  1473. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1474. if TORSO then
  1475. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1476. TORSO.Velocity = VT(0,5,0)
  1477. HUM.Health = HUM.Health - 0.1
  1478. HUM.PlatformStand = true
  1479. if TORSO.RotVelocity.Magnitude < 15 then
  1480. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1481. end
  1482. end
  1483. end
  1484. end
  1485. end
  1486. end
  1487. end
  1488. for i = 1, 25 do
  1489. Swait()
  1490. LOOP.Volume = LOOP.Volume + 10/25
  1491. LOOP.Parent = FIELD
  1492. local CHILDREN = workspace:GetDescendants()
  1493. for index, CHILD in pairs(CHILDREN) do
  1494. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1495. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1496. if HUM then
  1497. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1498. if TORSO then
  1499. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  1500. TORSO.Velocity = VT(0,5,0)
  1501. HUM.Health = HUM.Health - 0.1
  1502. HUM.PlatformStand = false
  1503. if TORSO.RotVelocity.Magnitude < 15 then
  1504. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1505. end
  1506. end
  1507. end
  1508. end
  1509. end
  1510. end
  1511. FIELD.Size = FIELD.Size - VT(3,3,3)
  1512. FIELD.Transparency = FIELD.Transparency + 0.2/25
  1513. end
  1514. FIELD:remove()
  1515. end))
  1516. elseif RANDOMEFFECT == 3 then
  1517. for i = 1, 10 do
  1518. wait(0.15)
  1519. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,8,3), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,0.3,0), MoveToPos = BASE.Position+VT(0,6,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 0.8, SoundVolume = 6})
  1520. coroutine.resume(coroutine.create(function()
  1521. local MINION = CLONE:Clone()
  1522. MINION.Parent = Effects
  1523. MINION.Name = "Shadow"
  1524. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  1525. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  1526. for _, c in pairs(MINION:GetChildren()) do
  1527. if c.ClassName == "Part" then
  1528. c.Material = "Neon"
  1529. c.Color = C3(0,0,0)
  1530. c.Transparency = 0.25
  1531. if c.Name == "Head" then
  1532. c:ClearAllChildren()
  1533. local MSH = IT("BlockMesh",c)
  1534. MSH.Scale = VT(0.5,1,1)
  1535. end
  1536. end
  1537. end
  1538. local TORSO = MINION.Torso
  1539. local HUMAN = MINION.Humanoid
  1540. HUMAN.WalkSpeed = 100
  1541. HUMAN.MaxHealth = math.huge
  1542. HUMAN.Health = math.huge
  1543. HUMAN.DisplayDistanceType = "None"
  1544. HUMAN.Died:connect(function()
  1545. MINION:remove()
  1546. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  1547. end)
  1548. wait(1)
  1549. local findNearestTorso = function(POS)
  1550. local list = game.Workspace:GetDescendants()
  1551. local torso = nil
  1552. local dist = 9999
  1553. local temp = nil
  1554. local human = nil
  1555. local temp2 = nil
  1556. for x = 1, #list do
  1557. temp2 = list[x]
  1558. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  1559. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  1560. human = temp2:findFirstChildOfClass("Humanoid")
  1561. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  1562. if (temp.Position - POS).magnitude < dist then
  1563. torso = temp
  1564. dist = (temp.Position - POS).magnitude
  1565. end
  1566. end
  1567. end
  1568. end
  1569. return torso, dist
  1570. end
  1571. for i = 1, 40 do
  1572. if HUMAN.Health == 0 then
  1573. break
  1574. end
  1575. wait(0.3)
  1576. local target,dist= findNearestTorso(TORSO.Position)
  1577. if target then
  1578. HUMAN:MoveTo(target.Position)
  1579. if dist < 999 then
  1580. CreateSound(348663022, TORSO, 10, 1, true)
  1581. wait(0.5)
  1582. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  1583. --ANIM:Play()
  1584. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  1585. ApplyAoE(TORSO.Position,10,0,0,85,false)
  1586. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 201858087, SoundPitch = 0.8, SoundVolume = 10})
  1587. for i = 1, 5 do
  1588. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15)/7.5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1589. end
  1590. break
  1591. end
  1592. end
  1593. end
  1594. MINION:remove()
  1595. end))
  1596. end
  1597. elseif RANDOMEFFECT == 4 then
  1598. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  1599. FIELD.Color = C3(0,0,0)
  1600. FIELD.CFrame = BASE.CFrame
  1601. MakeForm(FIELD,"Ball")
  1602. FIELD.CanCollide = true
  1603. for i = 1, 50 do
  1604. Swait()
  1605. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  1606. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1607. end
  1608. wait(0.2)
  1609. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  1610. coroutine.resume(coroutine.create(function()
  1611. local E = 0
  1612. for i = 1, 75 do
  1613. E = E + 1
  1614. Swait()
  1615. if E >= 35 then
  1616. E = 0
  1617. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
  1618. end
  1619. LOOP.Volume = LOOP.Volume + 10/75
  1620. LOOP.Parent = FIELD
  1621. local CHILDREN = workspace:GetDescendants()
  1622. for index, CHILD in pairs(CHILDREN) do
  1623. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1624. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1625. if HUM then
  1626. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1627. if TORSO then
  1628. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  1629. for _, c in pairs(CHILD:GetChildren()) do
  1630. if c:IsA("BasePart") then
  1631. local bv = Instance.new("BodyVelocity")
  1632. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1633. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  1634. bv.Parent = c
  1635. Debris:AddItem(bv,0.05)
  1636. end
  1637. end
  1638. HUM.Health = HUM.Health - 0.3
  1639. end
  1640. end
  1641. end
  1642. end
  1643. end
  1644. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  1645. end
  1646. for i = 1, 180 do
  1647. E = E + 1
  1648. Swait()
  1649. if E >= 35 then
  1650. E = 0
  1651. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
  1652. end
  1653. LOOP.Parent = FIELD
  1654. local CHILDREN = workspace:GetDescendants()
  1655. for index, CHILD in pairs(CHILDREN) do
  1656. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1657. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1658. if HUM then
  1659. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1660. if TORSO then
  1661. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  1662. for _, c in pairs(CHILD:GetChildren()) do
  1663. if c:IsA("BasePart") then
  1664. local bv = Instance.new("BodyVelocity")
  1665. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1666. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  1667. bv.Parent = c
  1668. Debris:AddItem(bv,0.05)
  1669. end
  1670. end
  1671. HUM.Health = HUM.Health - 0.3
  1672. end
  1673. end
  1674. end
  1675. end
  1676. end
  1677. end
  1678. ApplyAoE(FIELD.Position,40,15,20,375,false)
  1679. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = FIELD.Size, Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 231917744, SoundPitch = 1, SoundVolume = 6})
  1680. for i = 1, 5 do
  1681. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIELD.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1682. end
  1683. FIELD:remove()
  1684. end))
  1685. elseif RANDOMEFFECT == 5 then
  1686. end
  1687. wait(0.5)
  1688. for i = 1, 25 do
  1689. Swait()
  1690. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  1691. end
  1692. PANDORASBOX:remove()
  1693. RINGSPIN = false
  1694. end))
  1695. ATTACK = false
  1696. Rooted = false
  1697. end
  1698. end
  1699. --------------VOID STAR-------------------
  1700.  
  1701. --Explosion--
  1702. function Expld(rad,pos)
  1703. local ex = Instance.new("Explosion",game.Workspace)
  1704. ex.BlastRadius = rad
  1705. ex.BlastPressure = 0
  1706. ex.Position = pos
  1707. ex.Visible = false
  1708. ex.Hit:connect(function(hit)
  1709. if hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid")~= nil then
  1710. hit.Parent:FindFirstChild("Humanoid").Health = hit.Parent:FindFirstChild("Humanoid").Health - rad
  1711. end
  1712. end)
  1713. end
  1714.  
  1715. local asd = Instance.new("ParticleEmitter")
  1716. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  1717. asd.LightEmission = .1
  1718. asd.Texture = "http://www.roblox.com/asset/?ID=249481494"
  1719. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  1720. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1721. asd.Transparency = bbb
  1722. asd.Size = aaa
  1723. asd.ZOffset = .9
  1724. asd.Acceleration = Vector3.new(0, -15, 0)
  1725. asd.LockedToPart = false
  1726. asd.EmissionDirection = "Back"
  1727. asd.Lifetime = NumberRange.new(1, 2)
  1728. asd.Rotation = NumberRange.new(-100, 100)
  1729. asd.RotSpeed = NumberRange.new(-100, 100)
  1730. asd.Speed = NumberRange.new(10)
  1731. asd.Enabled = false
  1732. asd.VelocitySpread = 999
  1733.  
  1734. function getbloody(victim,amount)
  1735. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1736. PART.CFrame = victim.CFrame
  1737. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1738. Debris:AddItem(PART,5)
  1739. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1740. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1741. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1742. local prtcl = asd:Clone()
  1743. prtcl.Parent = PART
  1744. prtcl:Emit(amount*10)
  1745. end
  1746.  
  1747. function Kill(Char)
  1748. local NewCharacter = IT("Model",Effects)
  1749. NewCharacter.Name = "Ow im ded lul ;-;"
  1750. for _, c in pairs(Char:GetDescendants()) do
  1751. if c:IsA("BasePart") and c.Transparency == 0 then
  1752. if c.Parent == Char then
  1753. getbloody(c,5)
  1754. end
  1755. c:BreakJoints()
  1756. c.Material = "Glass"
  1757. c.Color = C3(0.5,0,0)
  1758. c.CanCollide = true
  1759. c.Transparency = 0.3
  1760. if c:FindFirstChildOfClass("SpecialMesh") then
  1761. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1762. end
  1763. if c.Name == "Head" then
  1764. c:ClearAllChildren()
  1765. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1766. end
  1767. if c.ClassName == "MeshPart" then
  1768. c.TextureID = ""
  1769. end
  1770. if c:FindFirstChildOfClass("BodyPosition") then
  1771. c:FindFirstChildOfClass("BodyPosition"):remove()
  1772. end
  1773. if c:FindFirstChildOfClass("ParticleEmitter") then
  1774. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1775. end
  1776. c.Parent = NewCharacter
  1777. c.Name = "DeadPart"
  1778. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1779. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1780. end
  1781. end
  1782. Char:remove()
  1783. Debris:AddItem(NewCharacter,5)
  1784. end
  1785.  
  1786.  
  1787. function ApplyAoE3(POSITION,RANGE,BRUTAL)
  1788. local CHILDREN = workspace:GetDescendants()
  1789. for index, CHILD in pairs(CHILDREN) do
  1790. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1791. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1792. if HUM then
  1793. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1794. if TORSO then
  1795. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1796. if BRUTAL == true then
  1797. Kill(CHILD)
  1798. else
  1799. CHILD:BreakJoints()
  1800. end
  1801. end
  1802. end
  1803. end
  1804. end
  1805. end
  1806. end
  1807.  
  1808. function VoidStar()
  1809. ATTACK = true
  1810. Rooted = true
  1811. for i=0, 1, 0.1 / Animation_Speed do
  1812. Swait()
  1813. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1814. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1815. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1816. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1817. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1818. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1819. end
  1820. coroutine.resume(coroutine.create(function()
  1821. local POS = Mouse.Hit.p
  1822. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Eggplant", "Strike", VT(0,2000,0))
  1823. MakeForm(RAY,"Cyl")
  1824. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Eggplant", "Strike", VT(0,0,0))
  1825. MakeForm(SPHERE,"Ball")
  1826. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  1827. MakeForm(SHIELD,"Ball")
  1828. SHIELD.CFrame = CF(POS)
  1829. RAY.CFrame = CF(POS)
  1830. SPHERE.CFrame = CF(POS)
  1831. CreateSound(440145570, SPHERE, 10, 0.8, false)
  1832. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1833. for i = 1, 200 do
  1834. Swait()
  1835. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(123,0,123), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1836. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1837. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1838. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  1839. ApplyAoE3(SPHERE.Position,SPHERE.Size.X/2,true)
  1840. end
  1841. for i = 1, 45 do
  1842. Swait()
  1843. RAY.Transparency = RAY.Transparency + 1/45
  1844. SPHERE.Transparency = RAY.Transparency
  1845. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1846. end
  1847. RAY:remove()
  1848. SHIELD:remove()
  1849. SPHERE:remove()
  1850. end))
  1851. for i=0, 1, 0.1 / Animation_Speed do
  1852. Swait()
  1853. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1854. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1855. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1856. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1857. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1858. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1859. end
  1860. ATTACK = false
  1861. Rooted = false
  1862. end
  1863.  
  1864. --------------RIFT WORLD-------------------
  1865.  
  1866. function RiftForm()
  1867. ATTACK = true
  1868. Rooted = false
  1869. UNANCHOR = false
  1870. RootPart.Anchored = true
  1871. for i=0, 5, 0.1 / Animation_Speed do
  1872. Swait()
  1873. RootPart.CFrame = RootPart.CFrame * CF(0,0.2,0)
  1874. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1875. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1876. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1877. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1878. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
  1879. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
  1880. end
  1881. CreateSound("1368598393", Effects, 10, 1)
  1882. for i=0, 2, 0.1 / Animation_Speed do
  1883. Swait()
  1884. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  1885. MagicSphere3(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,5))
  1886. MagicSphere3(VT(0.1,0.1,0.1),15,CFRAME,"Really black",VT(0.1,0.1,5))
  1887. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1888. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1889. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1890. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1891. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1892. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1893. end
  1894. CreateSound("1368583274", Effects, 10, 1)
  1895. for i=0, 6, 0.1 / Animation_Speed do
  1896. Swait()
  1897. CreateRing2(VT(45,5,0)*2,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(-1,0,0))
  1898. CreateRing2(VT(45,5,0)*3,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(-1,0,0)*3)
  1899. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  1900. MagicSphere3(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,55))
  1901. MagicSphere3(VT(0,0,0),15,CFRAME,"Really black",VT(2,2,2))
  1902. MagicSphere3(VT(0.1,0.1,0.1),15,CFRAME,"Really black",VT(0.1,0.1,55))
  1903. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1904. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1905. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1906. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1907. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1908. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1909. end
  1910. CreateSound("907329532", Effects, 10, 0.9)
  1911. Swait(175)
  1912. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really black",VT(7,7,0))
  1913. CreateSound("1368605755", Effects, 10, 1)
  1914. CreateSound("1368637781", Effects, 10, 1)
  1915. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Really black",VT(5,5,5))
  1916. TRUEFORM = true
  1917. for i=0, 1, 0.1 / Animation_Speed do
  1918. CreateRing2(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(4,4,0))
  1919. CreateRing2(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(5,5,0))
  1920. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1921. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1922. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1923. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1924. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed)
  1925. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed)
  1926. end
  1927. UNANCHOR = true
  1928. RootPart.Anchored = false
  1929. ATTACK = false
  1930. Rooted = false
  1931. end
  1932.  
  1933. -- LIMIT BROKEN
  1934.  
  1935. local DECAL = IT("Decal")
  1936. function MakeRing()
  1937. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
  1938. local MSH = IT("BlockMesh", RING)
  1939. local TOP = DECAL:Clone()
  1940. local BOTTOM = DECAL:Clone()
  1941. TOP.Parent = RING
  1942. BOTTOM.Parent = RING
  1943. TOP.Face = "Top"
  1944. BOTTOM.Face = "Bottom"
  1945. TOP.Texture = "http://www.roblox.com/asset/?id=1259031636"
  1946. BOTTOM.Texture = "http://www.roblox.com/asset/?id=1259031636"
  1947. local function REMOVE()
  1948. coroutine.resume(coroutine.create(function()
  1949. local SIZE = MSH.Scale.X
  1950. for i = 1, 35 do
  1951. Swait()
  1952. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  1953. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  1954. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  1955. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  1956. end
  1957. RING:remove()
  1958. end))
  1959. end
  1960. return RING, MSH, REMOVE
  1961. end
  1962.  
  1963. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  1964. local TORSO = Torso
  1965. local HUM = Humanoid
  1966. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1967. coroutine.wrap(function()
  1968. VT = Vector3.new
  1969. MRANDOM = math.random
  1970. local A = TIME
  1971. local B = INTENSITY
  1972. local C = true
  1973. local HUMANOID = Humanoid
  1974. local TIMER = A or 35
  1975. local SHAKE = B or 5
  1976. local FADE = C or true
  1977. if HUMANOID then
  1978. local FADER = SHAKE / TIMER
  1979. for i = 1, TIMER do
  1980. wait()
  1981. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  1982. end
  1983. HUMANOID.CameraOffset = VT(0, 0, 0)
  1984. end
  1985.  
  1986. end)()
  1987. end
  1988. end
  1989.  
  1990. function NS(...)
  1991. local tab = {...}
  1992. local fat = {}
  1993. for i = 1, #tab do
  1994. local v = tab[i]
  1995. table.insert(fat,NumberSequenceKeypoint.new(v[1],v[2]))
  1996. end
  1997. return NumberSequence.new(fat);
  1998. end
  1999.  
  2000. local hed = Character:WaitForChild("Head")
  2001.  
  2002. cors = {}
  2003. mas = Instance.new("Model",game:GetService("Lighting"))
  2004. ParticleEmitter1 = Instance.new("ParticleEmitter")
  2005. ParticleEmitter1.Name = "Death"
  2006. ParticleEmitter1.Texture = "rbxassetid://249481494"
  2007. ParticleEmitter1.Color = ColorSequence.new(Color3.fromRGB(0, 0, 255))
  2008. ParticleEmitter1.EmissionDirection = "Top"
  2009. ParticleEmitter1.Parent = mas
  2010. ParticleEmitter1.Enabled = false
  2011. ParticleEmitter1.Speed = NumberRange.new(8)
  2012. ParticleEmitter1.Size = NumberSequence.new(8,0)
  2013. ParticleEmitter1.Transparency = NumberSequence.new(0,1)
  2014. ParticleEmitter1.Drag = 1.2
  2015. ParticleEmitter1.LockedToPart = true
  2016. ParticleEmitter1.Lifetime = NumberRange.new(0, 1)
  2017. ParticleEmitter1.Rate = 195
  2018. ParticleEmitter1.RotSpeed = NumberRange.new(-56, 56)
  2019. ParticleEmitter1.LightEmission = 0
  2020. ParticleEmitter1.Rotation = NumberRange.new(-360,360)
  2021. ParticleEmitter1.VelocitySpread = 100.2
  2022. ParticleEmitter1.ZOffset = 2.5
  2023.  
  2024.  
  2025. for i,v in pairs(mas:GetChildren()) do
  2026. v.Parent = script
  2027. pcall(function() v:MakeJoints() end)
  2028. end
  2029. mas:Destroy()
  2030. for i,v in pairs(cors) do
  2031. spawn(function()
  2032. pcall(v)
  2033. end)
  2034. end
  2035.  
  2036. local DParticles = script.Death
  2037. DParticles:remove()
  2038. DParticles.Name = "ArchangelDeathParticles"
  2039. local BODY = {}
  2040. for _, c in pairs(Character:GetDescendants()) do
  2041. if c:IsA("BasePart") and c.Name ~= "Handle" then
  2042. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  2043. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2044. end
  2045. table.insert(BODY, {
  2046. c,
  2047. c.Parent,
  2048. c.Material,
  2049. c.Color,
  2050. c.Transparency
  2051. })
  2052. elseif c:IsA("JointInstance") then
  2053. table.insert(BODY, {
  2054. c,
  2055. c.Parent,
  2056. nil,
  2057. nil,
  2058. nil
  2059. })
  2060. end
  2061. end
  2062.  
  2063. function ApplyAoE2(POSITION, RANGE)
  2064. local PARTS = {}
  2065. for index, CHILD in pairs(workspace:GetDescendants()) do
  2066. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2067. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2068. if HUM then
  2069. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2070. if TORSO and HUM.Health > 0 and RANGE >= (TORSO.Position - POSITION).Magnitude then
  2071. CHILD:BreakJoints()
  2072. for index, PART in pairs(CHILD:GetChildren()) do
  2073. if PART:IsA("BasePart") and PART.Name ~= "HumanoidRootPart" then
  2074. local P = DParticles:Clone()
  2075. P.Parent = PART
  2076. P.Enabled = true
  2077. P.Color = ColorSequence.new(PART.Color, C3(1, 1, 1))
  2078. PART.Anchored = true
  2079. table.insert(PARTS, {PART, P})
  2080. end
  2081. end
  2082. end
  2083. end
  2084. elseif CHILD:IsA("BasePart") and CHILD.Parent.Parent ~= Character and CHILD.Parent:FindFirstChildOfClass("Humanoid") == nil and CHILD:FindFirstChild("ewdfrfgrwefd") == nil and CHILD.Size.Magnitude < RANGE * 2 and CHILD.Size.Magnitude < 200 and RANGE > (CHILD.Position - POSITION).Magnitude then
  2085. local FOLDER = IT("Folder", CHILD)
  2086. FOLDER.Name = "ewdfrfgrwefd"
  2087. local P = DParticles:Clone()
  2088. P.Parent = CHILD
  2089. P.Enabled = true
  2090. CHILD:BreakJoints()
  2091. CHILD.CanCollide = false
  2092. CHILD.Anchored = true
  2093. P.Rate = math.ceil(CHILD.Size.Magnitude / 2)
  2094. P.Color = ColorSequence.new(CHILD.Color, C3(1, 1, 1))
  2095. table.insert(PARTS, {CHILD, P})
  2096. end
  2097. end
  2098. coroutine.resume(coroutine.create(function()
  2099. if #PARTS > 0 then
  2100. for i = 1, 85 do
  2101. Swait()
  2102. for E = 1, #PARTS do
  2103. local F = PARTS[E]
  2104. local A = F[1]
  2105. local B = F[2]
  2106. A.Transparency = A.Transparency + 0.011764705882352941
  2107. B.Rate = math.ceil(B.Rate * 1.2)
  2108. for index, E in pairs(A:GetChildren()) do
  2109. if E:IsA("Decal") or E:IsA("Texture") then
  2110. E.Transparency = E.Transparency + 0.011764705882352941
  2111. elseif E:IsA("JointInstance") then
  2112. E:remove()
  2113. elseif E:IsA("Light") or E:IsA("ParticleEmitter") and E ~= B and E.Name ~= "ArchangelDeathParticles" or E:IsA("Fire") or E:IsA("Sparkles") or E:IsA("Smoke") then
  2114. E.Enabled = false
  2115. end
  2116. end
  2117. end
  2118. end
  2119. for E = 1, #PARTS do
  2120. local F = PARTS[E]
  2121. local A = F[1]
  2122. local B = F[2]
  2123. B.Enabled = false
  2124. Debris:AddItem(A, 3)
  2125. end
  2126. end
  2127. end))
  2128. end
  2129.  
  2130. function VoidThunder2()
  2131. ATTACK = true
  2132. Rooted = true
  2133. local GYRO = IT("BodyGyro", RootPart)
  2134. GYRO.D = 20
  2135. GYRO.P = 4000
  2136. GYRO.MaxTorque = VT(0, 40000, 0)
  2137. local RING, MESH, DELET = MakeRing()
  2138. local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  2139. RING.CFrame = CF(HITPOS)
  2140. for i = 0, 0.6, 0.1 / Animation_Speed do
  2141. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  2142. Swait()
  2143. MESH.Scale = MESH.Scale + VT(53, 0, 53)
  2144. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2145. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2146. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  2147. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25 - 7.5 * SIN(SINE / 12)), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2148. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 12)), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2149. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2150. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2151. end
  2152. coroutine.resume(coroutine.create(function()
  2153. local CFRAME = RootPart.CFrame
  2154. for i = 1, 100 do
  2155. CFRAME = CFRAME * CF(0, 0, -35)
  2156. do
  2157. local HITFLOOR, HITPOS = Raycast(CFRAME.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  2158. if HITFLOOR then
  2159. Swait()
  2160. do
  2161. local OFFSET = CFRAME * CF(MRANDOM(-25, 25), 0, 0)
  2162. coroutine.resume(coroutine.create(function()
  2163. local RING, MESH, DELET = MakeRing()
  2164. RING.CFrame = CF(OFFSET.p.X, HITPOS.Y, OFFSET.p.Z)
  2165. for i = 1, 25 do
  2166. Swait()
  2167. MESH.Scale = MESH.Scale + VT(42, 0, 42)
  2168. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2169. end
  2170. ApplyAoE2(RING.Position, 65)
  2171. SHAKECAM(RING.Position, 80, 12, 15)
  2172. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  2173. WACKYEFFECT({
  2174. Time = 25,
  2175. EffectType = "Sphere",
  2176. Size = VT(22, 22, 22),
  2177. Size2 = VT(85, 85, 85),
  2178. Transparency = 0,
  2179. Transparency2 = 1,
  2180. CFrame = CF(RING.Position),
  2181. MoveToPos = nil,
  2182. RotationX = 0,
  2183. RotationY = 0,
  2184. RotationZ = 0,
  2185. Material = "Neon",
  2186. Color = C3(0,0,0),
  2187. })
  2188. for e = 1, 3 do
  2189. WACKYEFFECT({
  2190. EffectType = "Wave",
  2191. Size = VT(25, 0, 25),
  2192. Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  2193. Transparency = 0,
  2194. Transparency2 = 1,
  2195. CFrame = CF(RING.Position) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  2196. MoveToPos = nil,
  2197. RotationX = 0,
  2198. RotationY = 3,
  2199. RotationZ = 0,
  2200. Material = "Neon",
  2201. Color = C3(0,0,0),
  2202. SoundID = nil,
  2203. SoundPitch = nil,
  2204. SoundVolume = nil
  2205. })
  2206. WACKYEFFECT({
  2207. Time = 35,
  2208. EffectType = "Sphere",
  2209. Size = VT(22, 45, 22),
  2210. Size2 = VT(25, 45 + e * 75, 25),
  2211. Transparency = 0,
  2212. Transparency2 = 1,
  2213. CFrame = CF(RING.Position) * TURN,
  2214. MoveToPos = nil,
  2215. RotationX = 0,
  2216. RotationY = 0,
  2217. RotationZ = 0,
  2218. Material = "Neon",
  2219. Color = C3(0,0,0),
  2220. SoundID = nil,
  2221. SoundPitch = MRANDOM(9, 12) / 10,
  2222. SoundVolume = 10
  2223. })
  2224. end
  2225. wait(0.3)
  2226. DELET()
  2227. end))
  2228. end
  2229. end
  2230. end
  2231. end
  2232. end))
  2233. Rooted = false
  2234. for i = 0, 0.2, 0.1 / Animation_Speed do
  2235. Swait()
  2236. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(75)), 1 / Animation_Speed)
  2237. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), 1 / Animation_Speed)
  2238. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(145 - 7.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2239. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 12)), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2240. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2241. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2242. end
  2243. DELET()
  2244. GYRO:remove()
  2245. ATTACK = false
  2246. Rooted = false
  2247. end
  2248.  
  2249. function Nuke()
  2250. ATTACK = true
  2251. Rooted = true
  2252. local CHARGE = false
  2253. local BLASTS = {468991944, 468991990}
  2254. coroutine.resume(coroutine.create(function()
  2255. repeat
  2256. Swait()
  2257. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  2258. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  2259. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  2260. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  2261. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  2262. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  2263. until CHARGE == true
  2264. for i = 0, 0.4, 0.1 / Animation_Speed do
  2265. Swait()
  2266. WACKYEFFECT({
  2267. Time = 15,
  2268. EffectType = "Sphere",
  2269. Size = VT(120, 120, 120),
  2270. Size2 = VT(0, 0, 0),
  2271. Transparency = 1,
  2272. Transparency2 = 0.7,
  2273. CFrame = CF(RootPart.Position),
  2274. MoveToPos = nil,
  2275. RotationX = 0,
  2276. RotationY = 0,
  2277. RotationZ = 0,
  2278. Material = "Neon",
  2279. Color = C3(123, 0, 123),
  2280. SoundID = nil,
  2281. SoundPitch = nil,
  2282. SoundVolume = nil
  2283. })
  2284. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  2285. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2286. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-50 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2287. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(50 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2288. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2289. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2290. end
  2291. coroutine.resume(coroutine.create(function()
  2292. local POS = RootPart.Position
  2293. wait(0.2)
  2294. for i = 1, 5 do
  2295. WACKYEFFECT({
  2296. Time = 65,
  2297. EffectType = "Sphere",
  2298. Size = VT(4, 4, 4),
  2299. Size2 = VT(0, 0, 1000),
  2300. Transparency = 1,
  2301. Transparency2 = 0,
  2302. CFrame = CF(POS),
  2303. MoveToPos = nil,
  2304. RotationX = MRANDOM(-2, 2),
  2305. RotationY = MRANDOM(-12, 12),
  2306. RotationZ = MRANDOM(-2, 2),
  2307. Material = "Neon",
  2308. Color = C3(123, 0, 123),
  2309. SoundID = nil,
  2310. SoundPitch = nil,
  2311. SoundVolume = nil
  2312. })
  2313. end
  2314. wait(1)
  2315. SHAKECAM(POS, 9999999999, 25, 25)
  2316. ApplyAoE2(POS, 450)
  2317. WACKYEFFECT({
  2318. Time = 85,
  2319. EffectType = "Sphere",
  2320. Size = VT(240, 240, 240),
  2321. Size2 = VT(700, 700, 700),
  2322. Transparency = 0,
  2323. Transparency2 = 1,
  2324. CFrame = CF(POS),
  2325. MoveToPos = nil,
  2326. RotationX = 0,
  2327. RotationY = 0,
  2328. RotationZ = 0,
  2329. Material = "Neon",
  2330. Color = C3(123, 0, 123),
  2331. SoundID = nil,
  2332. SoundPitch = 1,
  2333. SoundVolume = 10
  2334. })
  2335. for i = 1, 20 do
  2336. WACKYEFFECT({
  2337. Time = 85,
  2338. EffectType = "Sphere",
  2339. Size = VT(240, 240, 240),
  2340. Size2 = VT(240, 240, 288) + VT(i * 3, i * 3, i * 3),
  2341. Transparency = 0.8,
  2342. Transparency2 = 1,
  2343. CFrame = CF(POS),
  2344. MoveToPos = nil,
  2345. RotationX = 0,
  2346. RotationY = 0,
  2347. RotationZ = 0,
  2348. Material = "Neon",
  2349. Color = C3(123, 0, 123),
  2350. SoundID = nil,
  2351. SoundPitch = 1,
  2352. SoundVolume = 10
  2353. })
  2354. WACKYEFFECT({
  2355. Time = 100,
  2356. EffectType = "Wave",
  2357. Size = VT(50, 4, 50),
  2358. Size2 = VT(800, 0, 800) * 1.2,
  2359. Transparency = 0,
  2360. Transparency2 = 1,
  2361. CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2362. MoveToPos = nil,
  2363. RotationX = 0,
  2364. RotationY = 0,
  2365. RotationZ = 0,
  2366. Material = "Neon",
  2367. Color = C3(123, 0, 123),
  2368. SoundID = nil,
  2369. SoundPitch = nil,
  2370. SoundVolume = nil
  2371. })
  2372. end
  2373. local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  2374. for i = 1, 5 do
  2375. CreateSound(438666077, Effects, 15, 1 - i / 15, false)
  2376. WACKYEFFECT({
  2377. Time = 120,
  2378. EffectType = "Wave",
  2379. Size = VT(300, 2, 300),
  2380. Size2 = VT(600 + i * 340, 0, 600 + i * 340) * 1.2,
  2381. Transparency = 0,
  2382. Transparency2 = 1,
  2383. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  2384. MoveToPos = nil,
  2385. RotationX = 0,
  2386. RotationY = 0,
  2387. RotationZ = 0,
  2388. Material = "Neon",
  2389. Color = C3(123, 0, 123),
  2390. SoundID = nil,
  2391. SoundPitch = nil,
  2392. SoundVolume = nil
  2393. })
  2394. end
  2395. end))
  2396. for i = 0, 1, 0.1 / Animation_Speed do
  2397. Swait()
  2398. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  2399. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2400. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2401. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2402. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2403. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2404. end
  2405. ATTACK = false
  2406. Rooted = false
  2407. end))
  2408. for i = 1, 30 do
  2409. wait(0.01)
  2410. local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150))
  2411. local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  2412. if HITFLOOR then
  2413. ApplyAoE2(HITPOS, 65)
  2414. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  2415. WACKYEFFECT({
  2416. Time = 25,
  2417. EffectType = "Sphere",
  2418. Size = VT(44, 44, 44),
  2419. Size2 = VT(170, 170, 170),
  2420. Transparency = 0,
  2421. Transparency2 = 1,
  2422. CFrame = CF(HITPOS),
  2423. MoveToPos = nil,
  2424. RotationX = 0,
  2425. RotationY = 0,
  2426. RotationZ = 0,
  2427. Material = "Neon",
  2428. Color = C3(123, 0, 123),
  2429. SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  2430. SoundPitch = MRANDOM(9, 12) / 10,
  2431. SoundVolume = 10
  2432. })
  2433. for e = 1, 3 do
  2434. WACKYEFFECT({
  2435. EffectType = "Wave",
  2436. Size = VT(50, 0, 50),
  2437. Size2 = VT(80, 0, 80) + VT(e * 6, e / 5, e * 6),
  2438. Transparency = 0,
  2439. Transparency2 = 1,
  2440. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  2441. MoveToPos = nil,
  2442. RotationX = 0,
  2443. RotationY = 3,
  2444. RotationZ = 0,
  2445. Material = "Neon",
  2446. Color = C3(123, 0, 123),
  2447. SoundID = nil,
  2448. SoundPitch = nil,
  2449. SoundVolume = nil
  2450. })
  2451. WACKYEFFECT({
  2452. Time = 35,
  2453. EffectType = "Sphere",
  2454. Size = VT(44, 90, 44),
  2455. Size2 = VT(50, 90 + e * 150, 50),
  2456. Transparency = 0,
  2457. Transparency2 = 1,
  2458. CFrame = CF(HITPOS) * TURN,
  2459. MoveToPos = nil,
  2460. RotationX = 0,
  2461. RotationY = 0,
  2462. RotationZ = 0,
  2463. Material = "Neon",
  2464. Color = C3(123, 0, 123),
  2465. SoundID = nil,
  2466. SoundPitch = MRANDOM(9, 12) / 10,
  2467. SoundVolume = 10
  2468. })
  2469. end
  2470. end
  2471. end
  2472. CHARGE = true
  2473. end
  2474.  
  2475. function Beam()
  2476. ATTACK = true
  2477. Rooted = true
  2478. local GYRO = IT("BodyGyro", RootPart)
  2479. GYRO.D = 20
  2480. GYRO.P = 4000
  2481. GYRO.MaxTorque = VT(0, 40000, 0)
  2482. local RING, MESH, DELET = MakeRing()
  2483. local POS = RootPart.Position + VT(0, 25, 0)
  2484. RING.CFrame = CF(POS, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0))
  2485. CreateSound(459523787, RING, 8, 1, false)
  2486. local BLASTS = {468991944, 468991990}
  2487. coroutine.resume(coroutine.create(function()
  2488. local E = 0
  2489. repeat
  2490. E = E + 5
  2491. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  2492. Swait()
  2493. RING.CFrame = CF(POS, Mouse.Hit.p) * ANGLES(RAD(90), RAD(E), RAD(0))
  2494. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(90)), 1 / Animation_Speed)
  2495. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-90)), 1 / Animation_Speed)
  2496. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2497. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0 - 7.5 * SIN(SINE / 12)), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2498. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2499. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2500. until ATTACK == false
  2501. GYRO:remove()
  2502. DELET()
  2503. end))
  2504. for i = 1, 50 do
  2505. Swait()
  2506. MESH.Scale = MESH.Scale + VT(33, 0, 33)
  2507. end
  2508. for i = 1, 25 do
  2509. Swait()
  2510. WACKYEFFECT({
  2511. Time = 15,
  2512. EffectType = "Sphere",
  2513. Size = VT(16, 16, 16),
  2514. Size2 = VT(0, 0, 0),
  2515. Transparency = 1,
  2516. Transparency2 = 0,
  2517. CFrame = CF(RING.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  2518. MoveToPos = RING.Position,
  2519. RotationX = 0,
  2520. RotationY = 0,
  2521. RotationZ = 0,
  2522. Material = "Neon",
  2523. Color = C3(123, 0, 123),
  2524. SoundID = nil,
  2525. SoundPitch = nil,
  2526. SoundVolume = nil
  2527. })
  2528. end
  2529. local LOOP = 0
  2530. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Eggplant"), "Beam", VT(0, 0, 0), true)
  2531. MakeForm(BEAM, "Cyl")
  2532. CreateSound(BLASTS[MRANDOM(1, #BLASTS)], RING, 5, MRANDOM(9, 11) / 10, false)
  2533. repeat
  2534. local DISTANCE = (RING.Position - Mouse.Hit.p).Magnitude
  2535. if DISTANCE < 2000 then
  2536. BEAM.Size = VT(40 + 8 * COS(SINE / 4), DISTANCE, 40 + 8 * COS(SINE / 4))
  2537. BEAM.CFrame = CF(RING.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  2538. ApplyAoE2(Mouse.Hit.p, 35)
  2539. WACKYEFFECT({
  2540. Time = 35,
  2541. EffectType = "Sphere",
  2542. Size = VT(40 + 8 * COS(SINE / 4), 40 + 8 * COS(SINE / 4), 40 + 8 * COS(SINE / 4)) * 2,
  2543. Size2 = VT(20, 300, 20),
  2544. Transparency = 0,
  2545. Transparency2 = 1,
  2546. CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2547. MoveToPos = nil,
  2548. RotationX = 0,
  2549. RotationY = 0,
  2550. RotationZ = 0,
  2551. Material = "Neon",
  2552. Color = C3(123, 0, 123),
  2553. SoundID = nil,
  2554. SoundPitch = MRANDOM(9, 12) / 10,
  2555. SoundVolume = 10
  2556. })
  2557. Swait()
  2558. LOOP = LOOP + 1
  2559. end
  2560. until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000
  2561. coroutine.resume(coroutine.create(function()
  2562. for i = 1, 15 do
  2563. Swait()
  2564. BEAM.Size = BEAM.Size - VT(0.8, 0, 0.8)
  2565. BEAM.Transparency = BEAM.Transparency + 0.06666666666666667
  2566. end
  2567. BEAM:remove()
  2568. end))
  2569. ATTACK = false
  2570. Rooted = false
  2571. end
  2572. --
  2573.  
  2574. function RiftWorld()
  2575. local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  2576. CHOICE = 6
  2577. back = CreateSound(395371531, Character, 9999, 0.7, true)
  2578. chatfunc("Welcome to my w o r l d...")
  2579. local sillsky = Instance.new('Sky', game:GetService'Lighting')
  2580. sillsky.SkyboxBk = "rbxassetid://149397692"
  2581. sillsky.SkyboxDn = "rbxassetid://149397686"
  2582. sillsky.SkyboxFt = "rbxassetid://149397697"
  2583. sillsky.SkyboxLf = "rbxassetid://149397684"
  2584. sillsky.SkyboxRt = "rbxassetid://149397688"
  2585. sillsky.SkyboxUp = "rbxassetid://149397702"
  2586. sillsky.StarCount = 0
  2587. sillsky.SunAngularSize = 0
  2588. sillsky.MoonAngularSize = 0
  2589. sillsky.MoonTextureId = ""
  2590. sillsky.CelestialBodiesShown = false
  2591. game.Lighting.FogColor = Color3.new(0,0,0)
  2592. game.Lighting.FogEnd = 1400
  2593. if HITFLOOR ~= nil then
  2594. ATTACK = false
  2595. Rooted = false
  2596. local RINGSPIN = true
  2597. local CONSTRUCTING = true
  2598. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Eggplant", "Ring", VT(0,0,0))
  2599. RING.Color = C3(0,0,0)
  2600. MakeForm(RING,"Cyl")
  2601. RING.CFrame = CF(HITPOS)
  2602. coroutine.resume(coroutine.create(function()
  2603. repeat
  2604. Swait()
  2605. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2606. until CONSTRUCTING == false
  2607. repeat
  2608. Swait()
  2609. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2610. until RINGSPIN == false
  2611. for i = 1, 25 do
  2612. Swait()
  2613. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2614. RING.Size = RING.Size - VT(0.15,0,0.15)
  2615. --DECAL.Transparency = DECAL.Transparency + 1/25
  2616. RING.Transparency = RING.Transparency + 1/25
  2617. end
  2618. RING:remove()
  2619. end))
  2620. for i = 1, 15 do
  2621. Swait()
  2622. RING.Size = RING.Size + VT(0,0,0)
  2623. RING.Transparency = RING.Transparency - 1/15
  2624. end
  2625. end
  2626. local RANDOMEFFECT = MRANDOM(1)
  2627. local BASE = CreatePart(3, Character, "Neon", 0, 0, "Eggplant", "Black", VT(2,1.8,2))
  2628. BASE.Color = C3(0,0,0)
  2629. BASE.Transparency = 1
  2630. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  2631. if RANDOMEFFECT == 1 then
  2632. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Eggplant", "Field", VT(0.3,0.3,0.3))
  2633. FIELD.CFrame = BASE.CFrame
  2634. MakeForm(FIELD,"Ball")
  2635. for i = 1, 50 do
  2636. Swait()
  2637. FIELD.Size = VT(0,0,0)
  2638. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2639. end
  2640. end
  2641. wait(0.2)
  2642. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Eggplant", "Field", VT(0.3,0.3,0.3))
  2643. FIELD.CFrame = BASE.CFrame
  2644. local LOOP = CreateSound(1393698948, Character, 0, 1, true)
  2645. coroutine.resume(coroutine.create(function()
  2646. for i = 1, 75 do
  2647. Swait()
  2648. LOOP.Volume = LOOP.Volume + 10/75
  2649. LOOP.Parent = FIELD
  2650. local CHILDREN = workspace:GetDescendants()
  2651. for index, CHILD in pairs(CHILDREN) do
  2652. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2653. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2654. if HUM then
  2655. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2656. if TORSO then
  2657. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2658. HUM.Health = HUM.Health - 0
  2659. TORSO.Velocity = VT(0,5,0)
  2660. HUM.PlatformStand = true
  2661. if TORSO.RotVelocity.Magnitude < 15 then
  2662. TORSO.Anchored = true
  2663. end
  2664. end
  2665. end
  2666. end
  2667. end
  2668. end
  2669. FIELD.Size = FIELD.Size + VT(90,90,90)
  2670. FIELD.Transparency = FIELD.Transparency + 0.8/75
  2671. end
  2672. for i = 1, 500 do
  2673. Swait()
  2674. LOOP.Parent = FIELD
  2675. local CHILDREN = workspace:GetDescendants()
  2676. for index, CHILD in pairs(CHILDREN) do
  2677. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2678. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2679. if HUM then
  2680. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2681. if TORSO then
  2682. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2683. TORSO.Velocity = VT(0,5,0)
  2684. HUM.Health = HUM.Health - 0
  2685. HUM.PlatformStand = true
  2686. if TORSO.RotVelocity.Magnitude < 15 then
  2687. TORSO.Anchored = false
  2688. end
  2689. end
  2690. end
  2691. end
  2692. end
  2693. end
  2694. end
  2695. CHOICE = MRANDOM (1,5)
  2696. for i = 1, 25 do
  2697. Swait()
  2698. LOOP.Volume = LOOP.Volume + 10/25
  2699. LOOP.Parent = FIELD
  2700. local CHILDREN = workspace:GetDescendants()
  2701. for index, CHILD in pairs(CHILDREN) do
  2702. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2703. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2704. if HUM then
  2705. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2706. if TORSO then
  2707. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  2708. TORSO.Velocity = VT(0,5,0)
  2709. HUM.Health = HUM.Health - 0
  2710. HUM.PlatformStand = false
  2711. if TORSO.RotVelocity.Magnitude < 15 then
  2712. TORSO.Anchored = false
  2713. end
  2714. end
  2715. end
  2716. end
  2717. end
  2718. FIELD.Size = FIELD.Size - VT(3,3,3)
  2719. FIELD.Transparency = FIELD.Transparency + 0.2/25
  2720. end
  2721. end
  2722. end))
  2723. FIELD:Remove()
  2724. ATTACK = false
  2725. Rooted = false
  2726. end
  2727.  
  2728. --------------VOID BEAM-------------------
  2729.  
  2730. function killnearest(position,range,maxstrength)
  2731. for i,v in ipairs(workspace:GetChildren()) do
  2732. local body = v:GetChildren()
  2733. for part = 1, #body do
  2734. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  2735. if(body[part].Position - position).Magnitude < range then
  2736. if v.ClassName == "Model" then
  2737. v:BreakJoints()
  2738. end
  2739. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  2740. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  2741. end
  2742. end
  2743. end
  2744. if v.ClassName == "Part" then
  2745. if v.Anchored == false and (v.Position - position).Magnitude < range then
  2746. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  2747. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  2748. end
  2749. end
  2750. end
  2751. end
  2752.  
  2753. function CheckTableForString(Table, String)
  2754. for i, v in pairs(Table) do
  2755. if string.find(string.lower(String), string.lower(v)) then
  2756. return true
  2757. end
  2758. end
  2759. return false
  2760. end
  2761.  
  2762. function CheckIntangible(Hit)
  2763. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  2764. if Hit and Hit.Parent then
  2765. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  2766. return true
  2767. end
  2768. end
  2769. return false
  2770. end
  2771.  
  2772. Debris = game:GetService("Debris")
  2773.  
  2774. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  2775. local Direction = CFrame.new(StartPos, Vec).lookVector
  2776. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  2777. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  2778. if RayHit and CheckIntangible(RayHit) then
  2779. if DelayIfHit then
  2780. wait()
  2781. end
  2782. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  2783. end
  2784. return RayHit, RayPos, RayNormal
  2785. end
  2786.  
  2787. function turnto(position)
  2788. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  2789. end
  2790.  
  2791. function VoidBeam()
  2792. ATTACK = true
  2793. Rooted = true
  2794. for i=0, 1, 0.1 / Animation_Speed do
  2795. Swait()
  2796. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2797. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2798. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(180), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2799. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(180), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2800. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2801. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2802. end
  2803. CreateSound("348663022", Torso, 5, 1)
  2804. local StartPos = RootPart.CFrame * CF(0,10,0).p
  2805. for i = 1, 5 do
  2806. MagicSphere2(25,25,CF(StartPos),"Eggplant")
  2807. Swait(15)
  2808. end
  2809. local soundeffect = IT("Sound",Torso)
  2810. soundeffect.SoundId = "rbxassetid://487186990"
  2811. soundeffect.Looped = true
  2812. soundeffect.Volume = 10
  2813. soundeffect.Playing = true
  2814. repeat
  2815. turnto(Mouse.Hit.p)
  2816. MagicSphere2(25,25,CF(StartPos),"Eggplant")
  2817. MagicSphere(25/10,25,CF(StartPos),"Eggplant")
  2818. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Mouse.Hit.p, 750, Character, false)
  2819. local distance = (StartPos - RayPos).magnitude
  2820. local RayBeam = IT("Part",Effects)
  2821. RayBeam.Material = "Neon"
  2822. RayBeam.Anchored = true
  2823. RayBeam.BrickColor = BRICKC"Eggplant"
  2824. local mesh = IT("SpecialMesh",RayBeam)
  2825. mesh.MeshType = "Cylinder"
  2826. RayBeam.Size = Vector3.new(distance+10, 5, 5)
  2827. RayBeam.CFrame = CFrame.new(StartPos, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(0),RAD(90),RAD(0))
  2828. MagicSphere(15,5,CF(RayPos),"Eggplant")
  2829. killnearest(RayPos,15,100)
  2830. for i = 1, 3 do
  2831. CreateSwirl(0,25,true,-0.2,5,CF(RayPos) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),"Really black")
  2832. end
  2833. Swait()
  2834. if KEYHOLD == false then
  2835. coroutine.resume(coroutine.create(function()
  2836. for i = 1, 5 do
  2837. RayBeam.Transparency = RayBeam.Transparency + 1/5
  2838. Swait()
  2839. end
  2840. RayBeam:remove()
  2841. end))
  2842. else
  2843. RayBeam:remove()
  2844. end
  2845. until KEYHOLD == false
  2846. soundeffect:remove()
  2847. ATTACK = false
  2848. Rooted = false
  2849. end
  2850. ----------------------------------
  2851. function Teleport()
  2852. ATTACK = true
  2853. Rooted = false
  2854. for i=0, 0.5, 0.1 / Animation_Speed do
  2855. Swait()
  2856. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2857. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  2858. end
  2859. for e = 1, #BODY do
  2860. if BODY[e] ~= nil then
  2861. local STUFF = BODY[e]
  2862. local PART = STUFF[1]
  2863. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  2864. local PRT = PART:Clone()
  2865. PRT.Anchored = true
  2866. PRT.CanCollide = false
  2867. PRT.Material = "Neon"
  2868. PRT.Color = C3(123,0,123)
  2869. PRT.Name = "WarpEffect"
  2870. PRT.Parent = Effects
  2871. PRT.CFrame = PART.CFrame
  2872. PRT:BreakJoints()
  2873. if PRT:FindFirstChildOfClass("Sound") then
  2874. PRT:FindFirstChildOfClass("Sound"):remove()
  2875. end
  2876. if PRT:FindFirstChildOfClass("Decal") then
  2877. PRT:FindFirstChildOfClass("Decal"):remove()
  2878. end
  2879. coroutine.resume(coroutine.create(function()
  2880. for i = 1, 100 do
  2881. Swait()
  2882. PRT.Transparency = PRT.Transparency + 1/100
  2883. end
  2884. PRT:remove()
  2885. end))
  2886. end
  2887. end
  2888. end
  2889. CreateSound(289556450, Torso, 10, 1)
  2890. local POS = RootPart.Orientation
  2891. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  2892. RootPart.Orientation = POS
  2893. RootJoint.Parent = RootPart
  2894. for i=0, 0.5, 0.1 / Animation_Speed do
  2895. Swait()
  2896. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2897. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  2898. end
  2899. for i=0, 0.1, 0.1 / Animation_Speed do
  2900. Swait()
  2901. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  2902. end
  2903. ATTACK = false
  2904. Rooted = false
  2905. end
  2906.  
  2907. function Warden_Zap()
  2908. ATTACK = true
  2909. Rooted = false
  2910. local GYRO = IT("BodyGyro",RootPart)
  2911. GYRO.D = 750
  2912. GYRO.P = 20000
  2913. GYRO.MaxTorque = VT(0,40000000,0)
  2914. CreateSound(348663022,RightArm,1.5,2,false)
  2915. Pose("Cast1",0.8,1,true,GYRO)
  2916. local LightningTable = Lightning({Color = SKILLTEXTCOLOR, Start = RightArm.CFrame*CF(0,-1,0).p, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.2, DoesFade = true, Ignore = Character, MaxDist = 9999, Branches = false})
  2917. local Hitpos = LightningTable.End
  2918. ApplyAoE(Hitpos,10,35)
  2919. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*15, Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Eggplant".Color, SoundID = BOLTSOUNDS[MRANDOM(1,#BOLTSOUNDS)], SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  2920. for i = 1, 4 do
  2921. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(0,45,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Eggplant".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2922. end
  2923. Pose("Cast1",0.8,1,true)
  2924. GYRO:remove()
  2925. ATTACK = false
  2926. Rooted = false
  2927. end
  2928.  
  2929. function VoidThunder()
  2930. ATTACK = true
  2931. Rooted = false
  2932. local GYRO = IT("BodyGyro",RootPart)
  2933. GYRO.D = 750
  2934. GYRO.P = 20000
  2935. GYRO.MaxTorque = VT(0,40000000,0)
  2936. CreateSound(469345336,Torso,3,2,false)
  2937. Pose("Cast2",1.5,2,true,GYRO)
  2938. coroutine.resume(coroutine.create(function()
  2939. local FRAME = RootPart.CFrame
  2940. for i = 1, 25 do
  2941. local POS = FRAME*CF(MRANDOM(-17,17),0,-i*15)
  2942. local LightningTable = Lightning({Color = SKILLTEXTCOLOR, Start = POS*CF(0,85,0).p, End = POS*CF(0,-15,0).p, SegmentL = 3, Thickness = 0.4, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = true})
  2943. local Hitpos = LightningTable.End
  2944. ApplyAoE(Hitpos,20,15)
  2945. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*15, Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Eggplant".Color, SoundID = BOLTSOUNDS[MRANDOM(1,#BOLTSOUNDS)], SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  2946. for i = 1, 4 do
  2947. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(0,75,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Eggplant".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2948. end
  2949. wait(0.05)
  2950. end
  2951. end))
  2952. Pose("Cast2",1.5,0.7,true)
  2953. GYRO:remove()
  2954. ATTACK = false
  2955. Rooted = false
  2956. end
  2957.  
  2958. function Inferno_Ring()
  2959. ATTACK = true
  2960. Rooted = false
  2961. local GYRO = IT("BodyGyro",RootPart)
  2962. GYRO.D = 750
  2963. GYRO.P = 20000
  2964. GYRO.MaxTorque = VT(0,40000000,0)
  2965. local FIRE = IT("Model",Effects)
  2966. FIRE.Name = "Fire"
  2967. local MAIN = CreatePart(3, FIRE, "Neon", 0, 1, "Magenta", "Center", VT(0,0,0))
  2968. FIRE.PrimaryPart = MAIN
  2969. local FIRES = {}
  2970. for i = 1, 45 do
  2971. local PRT = CreatePart(3, FIRE, "Neon", 0, 1, "Dark indigo", "RingPart", VT(3,3,3))
  2972. PRT.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,20)
  2973. local F = Fire(PRT)
  2974. table.insert(FIRES,F)
  2975. end
  2976. repeat
  2977. FIRE:SetPrimaryPartCFrame(CF(Mouse.Hit.p))
  2978. Pose("Cast1",1.5,0.01,false,GYRO)
  2979. until HOLD == true
  2980. coroutine.resume(coroutine.create(function()
  2981. for i = 1, 4 do
  2982. ApplyAoE(MAIN.Position,21,-15,true)
  2983. CreateSound(463598785,MAIN,3,1,false)
  2984. for E = 1, #FIRES do
  2985. if FIRES[E] ~= nil then
  2986. FIRES[E].Acceleration = VT(0,300,0)
  2987. FIRES[E].Lifetime=NumberRange.new(0.35,1.5)
  2988. end
  2989. end
  2990. wait(0.3)
  2991. end
  2992. for E = 1, #FIRES do
  2993. if FIRES[E] ~= nil then
  2994. FIRES[E].Enabled = false
  2995. end
  2996. end
  2997. Debris:AddItem(FIRE,5)
  2998. end))
  2999. CreateSound(138474143,RightArm,3,1,false)
  3000. Pose("RightArmUp",1.5,0.5,true)
  3001. GYRO:remove()
  3002. ATTACK = false
  3003. Rooted = false
  3004. end
  3005.  
  3006. function Warden_Wall()
  3007. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 8, Character)
  3008. if HITFLOOR ~= nil then
  3009. if HITFLOOR.Anchored == true then
  3010. local WALL = HITFLOOR:Clone()
  3011. WALL.Size = VT(45,45,5)
  3012. WALL.Parent = Effects
  3013. WALL.Name = "Wall"
  3014. WALL.CFrame = RootPart.CFrame*CF(0,-65/2.1,-5)*ANGLES(RAD(-15),RAD(0),RAD(0))
  3015. CreateSound(130972023,WALL,5,0.8,false)
  3016. ATTACK = true
  3017. Rooted = true
  3018. local HIT = WALL.Touched:Connect(function(hit)
  3019. if hit.Parent ~= Character then
  3020. hit:BreakJoints()
  3021. end
  3022. end)
  3023. coroutine.resume(coroutine.create(function()
  3024. WACKYEFFECT({Time = 35, EffectType = "Box", Size = WALL.Size, Size2 = WALL.Size*2, Transparency = 0, Transparency2 = 1, CFrame = WALL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Eggplant".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3025. for i = 1, 90 do
  3026. Swait()
  3027. WALL.CFrame = WALL.CFrame*CF(0,0.5,0)
  3028. end
  3029. HIT:disconnect()
  3030. wait(5)
  3031. for i = 1, 46 do
  3032. Swait()
  3033. WALL.CFrame = WALL.CFrame*CF(0,-1,0)
  3034. end
  3035. WALL:remove()
  3036. end))
  3037. Pose("RightArmUp",1.5,1.2,true)
  3038. ATTACK = false
  3039. Rooted = false
  3040. end
  3041. end
  3042. end
  3043.  
  3044. function Prison_Key()
  3045. if Mouse.Target ~= nil then
  3046. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3047. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  3048. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  3049. local GYRO = IT("BodyGyro",RootPart)
  3050. GYRO.D = 750
  3051. GYRO.P = 20000
  3052. GYRO.MaxTorque = VT(0,40000000,0)
  3053. local grav = Instance.new("BodyPosition",TORSO)
  3054. grav.D = 15
  3055. grav.P = 20000
  3056. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3057. grav.position = TORSO.Position
  3058. local GYRO2 = IT("BodyGyro",TORSO)
  3059. GYRO2.D = 750
  3060. GYRO2.P = 20000
  3061. GYRO2.MaxTorque = VT(0,40000000,0)
  3062. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  3063. grav.Name = "Jail"
  3064. local LOCKPARTS = {}
  3065. ATTACK = true
  3066. Rooted = false
  3067. local LOCK = IT("Model",Effects)
  3068. LOCK.Name = "Lock"
  3069. local LOCK2 = IT("Model",LOCK)
  3070. LOCK2.Name = "Metal"
  3071. --CREATE LOCK--
  3072. local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
  3073. LOCK.PrimaryPart = BASE
  3074. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  3075. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
  3076. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  3077. MakeForm(PRT,"Cyl")
  3078. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  3079. PRT.Color = C3(0,0,0)
  3080. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  3081. MakeForm(PRT,"Cyl")
  3082. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
  3083. PRT.Color = C3(0,0,0)
  3084. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  3085. for i = 1, 45 do
  3086. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  3087. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  3088. end
  3089. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  3090. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  3091. LOCK2.PrimaryPart = PRT
  3092. ---------------
  3093. local CHILDREN = LOCK:GetDescendants()
  3094. for index, CHILD in pairs(CHILDREN) do
  3095. if CHILD:IsA("BasePart") then
  3096. CHILD.Transparency = 1
  3097. end
  3098. end
  3099. for i = 1, 75 do
  3100. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  3101. Swait()
  3102. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  3103. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  3104. local CHILDREN = LOCK:GetDescendants()
  3105. for index, CHILD in pairs(CHILDREN) do
  3106. if CHILD:IsA("BasePart") then
  3107. CHILD.Transparency = CHILD.Transparency - 1/75
  3108. end
  3109. end
  3110. end
  3111. HUM.DisplayDistanceType = "None"
  3112. local KEY = IT("Model",Effects)
  3113. KEY.Name = "Key"
  3114. --CREATE KEY--
  3115. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Eggplant", "KeyBase", VT(0.1, 1, 0.1),false)
  3116. KEY.PrimaryPart = KBASE
  3117. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  3118. local WLD = weldBetween(RightArm,KBASE)
  3119. for i = 1, 45 do
  3120. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Eggplant", "Key", VT(0.1, 0.1, 0.1),false)
  3121. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  3122. weldBetween(KBASE,PRT)
  3123. end
  3124. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Eggplant", "Key", VT(0.3, 0.1, 0.1),false)
  3125. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  3126. weldBetween(KBASE,PRT)
  3127. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Eggplant", "Key", VT(0.3, 0.1, 0.1),false)
  3128. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  3129. weldBetween(KBASE,PRT)
  3130. --------------
  3131. Rooted = true
  3132. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  3133. coroutine.resume(coroutine.create(function()
  3134. for i = 1, 10 do
  3135. Swait()
  3136. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  3137. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  3138. end
  3139. CreateSound(1149318312,BASE,5,1,false)
  3140. CreateSound(160772554,BASE,3,1,false)
  3141. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  3142. for i = 1, 4 do
  3143. WACKYEFFECT({Time = 35, EffectType = "Crystal", Size = VT(1,1,1), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(1,1.45,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Eggplant".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3144. end
  3145. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Eggplant".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  3146. wait(1)
  3147. TORSO.Parent.Parent = LOCK
  3148. for i = 1, 75 do
  3149. Swait()
  3150. local CHILDREN = KEY:GetDescendants()
  3151. for index, CHILD in pairs(CHILDREN) do
  3152. if CHILD:IsA("BasePart") then
  3153. CHILD.Transparency = i/25
  3154. end
  3155. end
  3156. local CHILDREN = LOCK:GetDescendants()
  3157. for index, CHILD in pairs(CHILDREN) do
  3158. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  3159. CHILD.Transparency = CHILD.Transparency + 1/75
  3160. elseif CHILD.ClassName == "Decal" then
  3161. CHILD.Transparency = CHILD.Transparency + 1/75
  3162. end
  3163. end
  3164. end
  3165. TORSO.Parent:ClearAllChildren()
  3166. KEY:remove()
  3167. LOCK:remove()
  3168. end))
  3169. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  3170. GYRO:remove()
  3171. ATTACK = false
  3172. Rooted = false
  3173. end
  3174. end
  3175. end
  3176.  
  3177. function Hat()
  3178. ATTACK = true
  3179. Rooted = false
  3180. Pose("Taunt",0.4,1.2,false)
  3181. ATTACK = false
  3182. Rooted = false
  3183. end
  3184.  
  3185. --//=================================\\
  3186. --|| ASSIGN THINGS TO KEYS
  3187. --\\=================================//
  3188.  
  3189. function MouseDown(Mouse)
  3190. HOLD = true
  3191. if ATTACK == false then
  3192. end
  3193. end
  3194.  
  3195. function CastProperRay2(StartPos, Vec, Length, Ignore)
  3196. local Direction = CFrame.new(StartPos, Vec).lookVector
  3197. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  3198. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  3199. return RayHit, RayPos, RayNormal
  3200. end
  3201.  
  3202. function MouseUp(Mouse)
  3203. HOLD = false
  3204. end
  3205.  
  3206. function KeyDown(Key)
  3207. KEYHOLD = true
  3208. if TRUEFORM == false then
  3209.  
  3210. if Key == "z" and ATTACK == false then
  3211. Warden_Zap()
  3212. end
  3213.  
  3214. if Key == "f" and ATTACK == false then
  3215. Teleport()
  3216. end
  3217.  
  3218. if Key == "g" and ATTACK == false then
  3219. Prison_Key()
  3220. end
  3221.  
  3222. if Key == "e" and ATTACK == false then
  3223. VoidStar()
  3224. end
  3225.  
  3226. if Key == "q" and ATTACK == false then
  3227. VoidBox()
  3228. end
  3229.  
  3230. if Key == "b" and ATTACK == false then
  3231. VoidThunder()
  3232. end
  3233.  
  3234. if Key == "c" and ATTACK == false then
  3235. Inferno_Ring()
  3236. end
  3237.  
  3238. if Key == "v" and ATTACK == false then
  3239. Warden_Wall()
  3240. end
  3241.  
  3242. if Key == "x" and ATTACK == false then
  3243. VoidBeam()
  3244. end
  3245.  
  3246. if Key == "t" and ATTACK == false then
  3247. Hat()
  3248. end
  3249.  
  3250. if Key == "p" and ATTACK == false then
  3251. RiftForm()
  3252. lightning.Enabled = true
  3253. eeeffecto.Enabled = true
  3254. SKILL2TEXT:remove()
  3255. SKILL5TEXT:remove()
  3256. SKILL9TEXT:remove()
  3257. SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Rift Thunder", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  3258. SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Rift Beam", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  3259. SKILL9TEXT = CreateLabel(SKILL9FRAME, "[E] Rift Star", SKILLTEXTCOLOR2, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 9")
  3260. RiftWorld()
  3261. end
  3262. else
  3263. if Key == "p" and ATTACK == false then
  3264. TRUEFORM = false
  3265. lightning.Enabled = false
  3266. eeeffecto.Enabled = false
  3267. SKILL2TEXT:remove()
  3268. SKILL5TEXT:remove()
  3269. SKILL9TEXT:remove()
  3270. SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Void Thunder", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  3271. SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Void Beam", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  3272. SKILL9TEXT = CreateLabel(SKILL9FRAME, "[E] Void Star", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 9")
  3273. local sillsky = Instance.new('Sky', game:GetService'Lighting')
  3274. back:remove()
  3275. sillsky:remove()
  3276. game.Lighting.FogEnd = 90000000
  3277. CreateSound(464600985, Character, 99999, 0.8, false)
  3278. end
  3279.  
  3280. if Key == "z" and ATTACK == false then
  3281. Warden_Zap()
  3282. end
  3283.  
  3284. if Key == "f" and ATTACK == false then
  3285. Teleport()
  3286. end
  3287.  
  3288. if Key == "g" and ATTACK == false then
  3289. Prison_Key()
  3290. end
  3291.  
  3292. if Key == "e" and ATTACK == false then
  3293. Nuke()
  3294. end
  3295.  
  3296. if Key == "q" and ATTACK == false then
  3297. VoidBox()
  3298. end
  3299.  
  3300. if Key == "b" and ATTACK == false then
  3301. VoidThunder2()
  3302. end
  3303.  
  3304. if Key == "c" and ATTACK == false then
  3305. Inferno_Ring()
  3306. end
  3307.  
  3308. if Key == "v" and ATTACK == false then
  3309. Warden_Wall()
  3310. end
  3311.  
  3312. if Key == "x" and ATTACK == false then
  3313. Beam()
  3314. end
  3315.  
  3316. if Key == "t" and ATTACK == false then
  3317. Hat()
  3318. end
  3319. end
  3320. end
  3321.  
  3322. function KeyUp(Key)
  3323. KEYHOLD = false
  3324. end
  3325.  
  3326. Mouse.Button1Down:connect(function(NEWKEY)
  3327. MouseDown(NEWKEY)
  3328. end)
  3329. Mouse.Button1Up:connect(function(NEWKEY)
  3330. MouseUp(NEWKEY)
  3331. end)
  3332. Mouse.KeyDown:connect(function(NEWKEY)
  3333. KeyDown(NEWKEY)
  3334. end)
  3335. Mouse.KeyUp:connect(function(NEWKEY)
  3336. KeyUp(NEWKEY)
  3337. end)
  3338.  
  3339. --//=================================\\
  3340. --\\=================================//
  3341.  
  3342.  
  3343. function unanchor()
  3344. if UNANCHOR == true then
  3345. g = Character:GetChildren()
  3346. for i = 1, #g do
  3347. if g[i].ClassName == "Part" then
  3348. g[i].Anchored = false
  3349. end
  3350. end
  3351. end
  3352. end
  3353.  
  3354.  
  3355.  
  3356. --//=================================\\
  3357. --|| WRAP THE WHOLE SCRIPT UP
  3358. --\\=================================//
  3359.  
  3360. local FF = IT("ForceField",Character)
  3361. FF.Visible = false
  3362.  
  3363. Humanoid.Changed:connect(function(Jump)
  3364. if Jump == "Jump" and (Disable_Jump == true) then
  3365. Humanoid.Jump = false
  3366. end
  3367. end)
  3368.  
  3369. while true do
  3370. Swait()
  3371. script.Parent = WEAPONGUI
  3372. Humanoid.Parent = Character
  3373. if Humanoid then
  3374. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  3375. IDLEANIMATION:Play()
  3376. end
  3377. if ANIMATE.Parent == Character then
  3378. ANIMATE:Destroy()
  3379. end
  3380. SINE = SINE + CHANGE
  3381. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3382. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3383. Humanoid.HipHeight = 1
  3384. Humanoid.Name = "VoidWarden"
  3385. Humanoid.PlatformStand = false
  3386. if PLAYMAINANIM == true then
  3387. if TORSOVELOCITY < 1 then
  3388. 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)
  3389. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3390. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3391. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3392. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  3393. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3394. elseif TORSOVELOCITY > 1 then
  3395. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3396. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3397. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-35), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3398. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-35), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3399. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
  3400. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(10)), 0.15 / Animation_Speed)
  3401. end
  3402. end
  3403. unanchor()
  3404. Humanoid.MaxHealth = 1.0E298
  3405. Humanoid.Health = 1.0E298
  3406. if Rooted == false then
  3407. Disable_Jump = false
  3408. Humanoid.WalkSpeed = Speed
  3409. elseif Rooted == true then
  3410. Disable_Jump = true
  3411. Humanoid.WalkSpeed = 0
  3412. end
  3413. for _, c in pairs(Character:GetChildren()) do
  3414. if c.ClassName == "Part" and c.Name ~= "Eye" then
  3415. c.Material = "Neon"
  3416. if c:FindFirstChildOfClass("ParticleEmitter") then
  3417. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  3418. end
  3419. c.Color = C3(1,1,1)
  3420. if c == Head then
  3421. if c:FindFirstChild("face") then
  3422. c.face:remove()
  3423. end
  3424. end
  3425. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  3426. c:remove()
  3427. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  3428. c:remove()
  3429. end
  3430. end
  3431. sick.SoundId = "rbxassetid://1427189017"
  3432. sick.Looped = true
  3433. sick.Pitch = 1
  3434. sick.Volume = 3
  3435. sick:Resume()
  3436. sick.Parent = Torso
  3437. refit()
  3438. if Head:FindFirstChildOfClass("Sound") then
  3439. Head:FindFirstChildOfClass("Sound"):remove()
  3440. end
  3441. end
  3442.  
  3443. if Humanoid.Health < 1.0E298 then
  3444. refit()
  3445. Humanoid.MaxHealth = 1.0E298
  3446. Humanoid.Health = Humanoid.Health + 1.0E298
  3447.  
  3448. end
  3449.  
  3450.  
  3451. --//=================================\\
  3452. --\\=================================//
  3453.  
  3454.  
  3455.  
  3456.  
  3457.  
  3458. --//====================================================\\--
  3459. --|| END OF SCRIPT
  3460. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement