Advertisement
SonicrixLP

Untitled

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