Advertisement
Toey8415

Void Warden Fix

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