Advertisement
Guest User

Untitled

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