Advertisement
Sinderblock

Untitled

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