Advertisement
NinjaBehind

The Void Warden

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