Advertisement
Dark_EccentricYT

Untitled

Jul 13th, 2018
1,762
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 73.47 KB | None | 0 0
  1. wait(0.2)
  2. Player = game.Players.LocalPlayer
  3. PlayerGui = Player.PlayerGui
  4. Cam = workspace.CurrentCamera
  5. Backpack = Player.Backpack
  6. Character = Player.Character
  7. Humanoid = Character.Humanoid
  8. Mouse = Player:GetMouse()
  9. RootPart = Character.HumanoidRootPart
  10. Torso = Character.Torso
  11. Head = Character.Head
  12. RightArm = Character["Right Arm"]
  13. LeftArm = Character["Left Arm"]
  14. RightLeg = Character["Right Leg"]
  15. LeftLeg = Character["Left Leg"]
  16. RootJoint = RootPart.RootJoint
  17. Neck = Torso.Neck
  18. RightShoulder = Torso["Right Shoulder"]
  19. LeftShoulder = Torso["Left Shoulder"]
  20. RightHip = Torso["Right Hip"]
  21. LeftHip = Torso["Left Hip"]
  22. local sick = Instance.new("Sound", Character)
  23. sick.SoundId = "rbxassetid://1390506855"
  24. sick.Looped = true
  25. sick.Pitch = 1
  26. sick.Volume = 1.5
  27. sick:Play()
  28. IT = Instance.new
  29. CF = CFrame.new
  30. VT = Vector3.new
  31. RAD = math.rad
  32. C3 = Color3.new
  33. UD2 = UDim2.new
  34. BRICKC = BrickColor.new
  35. ANGLES = CFrame.Angles
  36. EULER = CFrame.fromEulerAnglesXYZ
  37. COS = math.cos
  38. ACOS = math.acos
  39. SIN = math.sin
  40. ASIN = math.asin
  41. ABS = math.abs
  42. MRANDOM = math.random
  43. FLOOR = math.floor
  44. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  45. local NEWMESH = IT(MESH)
  46. if MESH == "SpecialMesh" then
  47. NEWMESH.MeshType = MESHTYPE
  48. if MESHID ~= "nil" and MESHID ~= "" then
  49. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  50. end
  51. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  52. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  53. end
  54. end
  55. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  56. NEWMESH.Scale = SCALE
  57. NEWMESH.Parent = PARENT
  58. return NEWMESH
  59. end
  60. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  61. local NEWPART = IT("Part")
  62. NEWPART.formFactor = FORMFACTOR
  63. NEWPART.Reflectance = REFLECTANCE
  64. NEWPART.Transparency = TRANSPARENCY
  65. NEWPART.CanCollide = false
  66. NEWPART.Locked = true
  67. NEWPART.Anchored = true
  68. if ANCHOR == false then
  69. NEWPART.Anchored = false
  70. end
  71. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  72. NEWPART.Name = NAME
  73. NEWPART.Size = SIZE
  74. NEWPART.Position = Torso.Position
  75. NEWPART.Material = MATERIAL
  76. NEWPART:BreakJoints()
  77. NEWPART.Parent = PARENT
  78. return NEWPART
  79. end
  80. Player_Size = 1
  81. Animation_Speed = 3
  82. Frame_Speed = 0.016666666666666666
  83. local Speed = 16
  84. local Effects2 = {}
  85. local weldBetween = function(a, b)
  86. local weldd = Instance.new("ManualWeld")
  87. weldd.Part0 = a
  88. weldd.Part1 = b
  89. weldd.C0 = CFrame.new()
  90. weldd.C1 = b.CFrame:inverse() * a.CFrame
  91. weldd.Parent = a
  92. return weldd
  93. end
  94. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  95. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  96. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  97. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  98. local CHANGEDEFENSE = 0
  99. local CHANGEDAMAGE = 0
  100. local CHANGEMOVEMENT = 0
  101. local ANIM = "Idle"
  102. local ATTACK = false
  103. local EQUIPPED = false
  104. local HOLD = false
  105. local COMBO = 1
  106. local Rooted = false
  107. local SINE = 0
  108. local KEYHOLD = false
  109. local CHANGE = 2 / Animation_Speed
  110. local WALKINGANIM = false
  111. local WALK = 0
  112. local VALUE1 = false
  113. local VALUE2 = false
  114. local ROBLOXIDLEANIMATION = IT("Animation")
  115. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  116. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  117. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  118. WEAPONGUI.Name = "Weapon GUI"
  119. local Effects = IT("Folder", Character)
  120. Effects.Name = "Effects"
  121. local ANIMATOR = Humanoid.Animator
  122. local ANIMATE = Character.Animate
  123. local HITPLAYERSOUNDS = {
  124. "263032172",
  125. "263032182",
  126. "263032200",
  127. "263032221",
  128. "263032252",
  129. "263033191"
  130. }
  131. local HITARMORSOUNDS = {
  132. "199149321",
  133. "199149338",
  134. "199149367",
  135. "199149409",
  136. "199149452"
  137. }
  138. local HITWEAPONSOUNDS = {
  139. "199148971",
  140. "199149025",
  141. "199149072",
  142. "199149109",
  143. "199149119"
  144. }
  145. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  146. local UNANCHOR = true
  147. local LEVEL = 1
  148. local Volume = 1.5
  149. local SONG1 = "rbxassetid://1390506855"
  150. local SONG2 = "rbxassetid://1418800825"
  151. local CREATION = false
  152. local TRANSFORMING = false
  153. local CREATIONPOSE = "Idle"
  154. local SKILLTEXTCOLOR = BRICKC("Gold").Color
  155. ArtificialHB = Instance.new("BindableEvent", script)
  156. ArtificialHB.Name = "ArtificialHB"
  157. script:WaitForChild("ArtificialHB")
  158. frame = Frame_Speed
  159. tf = 0
  160. allowframeloss = false
  161. tossremainder = false
  162. lastframe = tick()
  163. script.ArtificialHB:Fire()
  164. game:GetService("RunService").Heartbeat:connect(function(s, p)
  165. tf = tf + s
  166. if tf >= frame then
  167. if allowframeloss then
  168. script.ArtificialHB:Fire()
  169. lastframe = tick()
  170. else
  171. for i = 1, math.floor(tf / frame) do
  172. script.ArtificialHB:Fire()
  173. end
  174. lastframe = tick()
  175. end
  176. if tossremainder then
  177. tf = 0
  178. else
  179. tf = tf - frame * math.floor(tf / frame)
  180. end
  181. end
  182. end)
  183. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  184. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  185. end
  186. function PositiveAngle(NUMBER)
  187. if NUMBER >= 0 then
  188. NUMBER = 0
  189. end
  190. return NUMBER
  191. end
  192. function NegativeAngle(NUMBER)
  193. if NUMBER <= 0 then
  194. NUMBER = 0
  195. end
  196. return NUMBER
  197. end
  198. function Swait(NUMBER)
  199. if NUMBER == 0 or NUMBER == nil then
  200. ArtificialHB.Event:wait()
  201. else
  202. for i = 1, NUMBER do
  203. ArtificialHB.Event:wait()
  204. end
  205. end
  206. end
  207. function QuaternionFromCFrame(cf)
  208. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  209. local trace = m00 + m11 + m22
  210. if trace > 0 then
  211. local s = math.sqrt(1 + trace)
  212. local recip = 0.5 / s
  213. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  214. else
  215. local i = 0
  216. if m00 < m11 then
  217. i = 1
  218. end
  219. if m22 > (i == 0 and m00 or m11) then
  220. i = 2
  221. end
  222. if i == 0 then
  223. local s = math.sqrt(m00 - m11 - m22 + 1)
  224. local recip = 0.5 / s
  225. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  226. elseif i == 1 then
  227. local s = math.sqrt(m11 - m22 - m00 + 1)
  228. local recip = 0.5 / s
  229. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  230. elseif i == 2 then
  231. local s = math.sqrt(m22 - m00 - m11 + 1)
  232. local recip = 0.5 / s
  233. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  234. end
  235. end
  236. end
  237. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  238. local xs, ys, zs = x + x, y + y, z + z
  239. local wx, wy, wz = w * xs, w * ys, w * zs
  240. local xx = x * xs
  241. local xy = x * ys
  242. local xz = x * zs
  243. local yy = y * ys
  244. local yz = y * zs
  245. local zz = z * zs
  246. 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))
  247. end
  248. function QuaternionSlerp(a, b, t)
  249. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  250. local startInterp, finishInterp
  251. if cosTheta >= 1.0E-4 then
  252. if 1 - cosTheta > 1.0E-4 then
  253. local theta = ACOS(cosTheta)
  254. local invSinTheta = 1 / SIN(theta)
  255. startInterp = SIN((1 - t) * theta) * invSinTheta
  256. finishInterp = SIN(t * theta) * invSinTheta
  257. else
  258. startInterp = 1 - t
  259. finishInterp = t
  260. end
  261. elseif 1 + cosTheta > 1.0E-4 then
  262. local theta = ACOS(-cosTheta)
  263. local invSinTheta = 1 / SIN(theta)
  264. startInterp = SIN((t - 1) * theta) * invSinTheta
  265. finishInterp = SIN(t * theta) * invSinTheta
  266. else
  267. startInterp = t - 1
  268. finishInterp = t
  269. end
  270. 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
  271. end
  272. function Clerp(a, b, t)
  273. local qa = {
  274. QuaternionFromCFrame(a)
  275. }
  276. local qb = {
  277. QuaternionFromCFrame(b)
  278. }
  279. local ax, ay, az = a.x, a.y, a.z
  280. local bx, by, bz = b.x, b.y, b.z
  281. local _t = 1 - t
  282. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  283. end
  284. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  285. local frame = IT("Frame")
  286. frame.BackgroundTransparency = TRANSPARENCY
  287. frame.BorderSizePixel = BORDERSIZEPIXEL
  288. frame.Position = POSITION
  289. frame.Size = SIZE
  290. frame.BackgroundColor3 = COLOR
  291. frame.BorderColor3 = BORDERCOLOR
  292. frame.Name = NAME
  293. frame.Parent = PARENT
  294. return frame
  295. end
  296. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  297. local label = IT("TextLabel")
  298. label.BackgroundTransparency = 1
  299. label.Size = UD2(1, 0, 1, 0)
  300. label.Position = UD2(0, 0, 0, 0)
  301. label.TextColor3 = TEXTCOLOR
  302. label.TextStrokeTransparency = STROKETRANSPARENCY
  303. label.TextTransparency = TRANSPARENCY
  304. label.FontSize = TEXTFONTSIZE
  305. label.Font = TEXTFONT
  306. label.BorderSizePixel = BORDERSIZEPIXEL
  307. label.TextScaled = false
  308. label.Text = TEXT
  309. label.Name = NAME
  310. label.Parent = PARENT
  311. return label
  312. end
  313. function NoOutlines(PART)
  314. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  315. end
  316. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  317. local NEWWELD = IT(TYPE)
  318. NEWWELD.Part0 = PART0
  319. NEWWELD.Part1 = PART1
  320. NEWWELD.C0 = C0
  321. NEWWELD.C1 = C1
  322. NEWWELD.Parent = PARENT
  323. return NEWWELD
  324. end
  325. local S = IT("Sound")
  326. function CreateSound(ID, PARENT, VOLUME, PITCH)
  327. local NEWSOUND
  328. coroutine.resume(coroutine.create(function()
  329. NEWSOUND = S:Clone()
  330. NEWSOUND.Parent = PARENT
  331. NEWSOUND.Volume = VOLUME
  332. NEWSOUND.Pitch = PITCH
  333. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  334. Swait()
  335. NEWSOUND:play()
  336. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  337. end))
  338. return NEWSOUND
  339. end
  340. function CFrameFromTopBack(at, top, back)
  341. local right = top:Cross(back)
  342. 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)
  343. end
  344. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  345. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  346. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  347. wave.CFrame = CFRAME
  348. coroutine.resume(coroutine.create(function(PART)
  349. for i = 1, WAIT do
  350. Swait()
  351. mesh.Scale = mesh.Scale + GROW
  352. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  353. if DOESROT == true then
  354. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  355. end
  356. wave.Transparency = wave.Transparency + 0.5 / WAIT
  357. if wave.Transparency > 0.99 then
  358. wave:remove()
  359. end
  360. end
  361. end))
  362. end
  363. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  364. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  365. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  366. wave.CFrame = CFRAME
  367. coroutine.resume(coroutine.create(function(PART)
  368. for i = 1, WAIT do
  369. Swait()
  370. mesh.Scale = mesh.Scale + GROW
  371. if DOESROT == true then
  372. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  373. end
  374. wave.Transparency = wave.Transparency + 0.5 / WAIT
  375. if wave.Transparency > 0.99 then
  376. wave:remove()
  377. end
  378. end
  379. end))
  380. end
  381. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  382. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  383. wave.Color = COLOR
  384. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  385. wave.CFrame = CFRAME
  386. coroutine.resume(coroutine.create(function(PART)
  387. for i = 1, WAIT do
  388. Swait()
  389. mesh.Scale = mesh.Scale + GROW
  390. wave.Transparency = wave.Transparency + 1 / WAIT
  391. if wave.Transparency > 0.99 then
  392. wave:remove()
  393. end
  394. end
  395. end))
  396. end
  397. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  398. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  399. local mesh
  400. if KIND == "Base" then
  401. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  402. elseif KIND == "Thin" then
  403. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  404. elseif KIND == "Round" then
  405. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  406. end
  407. wave.CFrame = CFRAME
  408. coroutine.resume(coroutine.create(function(PART)
  409. for i = 1, WAIT do
  410. Swait()
  411. mesh.Scale = mesh.Scale + GROW / 10
  412. wave.Transparency = wave.Transparency + 0.5 / WAIT
  413. if wave.Transparency > 0.99 then
  414. wave:remove()
  415. end
  416. end
  417. end))
  418. end
  419. function MakeForm(PART, TYPE)
  420. if TYPE == "Cyl" then
  421. local MSH = IT("CylinderMesh", PART)
  422. elseif TYPE == "Ball" then
  423. local MSH = IT("SpecialMesh", PART)
  424. MSH.MeshType = "Sphere"
  425. elseif TYPE == "Wedge" then
  426. local MSH = IT("SpecialMesh", PART)
  427. MSH.MeshType = "Wedge"
  428. end
  429. end
  430. function CheckTableForString(Table, String)
  431. for i, v in pairs(Table) do
  432. if string.find(string.lower(String), string.lower(v)) then
  433. return true
  434. end
  435. end
  436. return false
  437. end
  438. function CheckIntangible(Hit)
  439. local ProjectileNames = {
  440. "Water",
  441. "Arrow",
  442. "Projectile",
  443. "Effect",
  444. "Rail",
  445. "Lightning",
  446. "Bullet"
  447. }
  448. if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
  449. return true
  450. end
  451. return false
  452. end
  453. Debris = game:GetService("Debris")
  454. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  455. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  456. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
  457. if RayHit and CheckIntangible(RayHit) then
  458. if DelayIfHit then
  459. wait()
  460. end
  461. RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
  462. end
  463. return RayHit, RayPos, RayNormal
  464. end
  465. BaseLightning = IT("Part")
  466. BaseLightning.Anchored = true
  467. BaseLightning.CanCollide = false
  468. BaseLightning.Material = "Neon"
  469. local LightningBolts = {}
  470. function Zap(Table)
  471. local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color
  472. local Duration = Table.Duration or 2
  473. local Offset = Table.Offset or 2
  474. local Individualize = Table.Individualize or false
  475. local MaxRange = Table.MaxRange or 200
  476. local SegmentLength = Table.SegmentLength or 5
  477. local Transparency = Table.Transparency or 0
  478. local Ignore = Table.Ignore or {}
  479. local SIZE = Table.SIZE or 0.3
  480. if not (StartPos and TargetPos) or not Character then
  481. return
  482. end
  483. local LightningModel = IT("Folder", Effects)
  484. LightningModel.Name = "ZAPP"
  485. for i, v in pairs({Character, LightningModel}) do
  486. table.insert(Ignore, v)
  487. end
  488. local LastPos = StartPos
  489. local Direction = CFrame.new(StartPos, TargetPos).lookVector
  490. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false)
  491. local RayLength = (StartPos - RayPos).Magnitude
  492. local Struck = false
  493. local TotalSegments = math.ceil(RayLength / SegmentLength)
  494. Direction = CFrame.new(StartPos, RayPos).lookVector
  495. local LightningBolt = IT("Model", Effects)
  496. LightningBolt.Name = "Lightning"
  497. if not Individualize then
  498. table.insert(LightningBolts, LightningBolt)
  499. end
  500. LastBolt = LightningBolt
  501. Debris:AddItem(LightningBolt, Duration)
  502. LightningBolt.Parent = LightningModel
  503. for i = 1, TotalSegments do
  504. if not Struck then
  505. local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset)
  506. local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy
  507. local SegmentVec = NewPos - LastPos
  508. local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false)
  509. local RayVec = LastPos - RayPos
  510. local LightningPart = BaseLightning:Clone()
  511. LightningPart.BrickColor = BrickColor.new(Color)
  512. LightningPart.Transparency = Transparency
  513. LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude)
  514. LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2))
  515. table.insert(Effects2, {
  516. LightningPart,
  517. "Disappear",
  518. 0.025,
  519. 1,
  520. 1,
  521. 1,
  522. 2
  523. })
  524. local CylinderMesh = IT("CylinderMesh", LightningPart)
  525. local OrigCF = LightningPart.CFrame
  526. LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y)
  527. LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0)
  528. LightningPart.Parent = LightningBolt
  529. LastPos = NewPos
  530. end
  531. end
  532. return {
  533. RayHit = RayHit,
  534. RayPos = RayPos,
  535. RayNormal = RayNormal,
  536. LightningModel = LightningModel
  537. }
  538. end
  539. local EyeSizes = {
  540. NumberSequenceKeypoint.new(0, 1, 0),
  541. NumberSequenceKeypoint.new(1, 0, 0)
  542. }
  543. local PE = Instance.new("ParticleEmitter")
  544. PE.LightEmission = 0.8
  545. PE.Color = ColorSequence.new(BRICKC("Gold").Color)
  546. PE.Size = NumberSequence.new(EyeSizes)
  547. PE.Lifetime = NumberRange.new(0.35, 0.35, 0.35)
  548. PE.Rotation = NumberRange.new(0, 360)
  549. PE.Transparency = NumberSequence.new(0.9)
  550. PE.Rate = 999
  551. PE.VelocitySpread = 10000
  552. PE.Acceleration = Vector3.new(0, 75, 0)
  553. PE.Drag = 5
  554. PE.Speed = NumberRange.new(6, 6)
  555. PE.Texture = "http://www.roblox.com/asset/?id=1351966707"
  556. PE.ZOffset = -1.5
  557. PE.Name = "OVERLORDAURA"
  558. function particles(art)
  559. PE:Clone().Parent = art
  560. end
  561. function turnto(position)
  562. RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  563. end
  564. function WACKYEFFECT(Table)
  565. local TYPE = Table.EffectType or "Sphere"
  566. local SIZE = Table.Size or VT(1, 1, 1)
  567. local ENDSIZE = Table.Size2 or VT(0, 0, 0)
  568. local TRANSPARENCY = Table.Transparency or 0
  569. local ENDTRANSPARENCY = Table.Transparency2 or 1
  570. local CFRAME = Table.CFrame or Torso.CFrame
  571. local MOVEDIRECTION = Table.MoveToPos or nil
  572. local ROTATION1 = Table.RotationX or 0
  573. local ROTATION2 = Table.RotationY or 0
  574. local ROTATION3 = Table.RotationZ or 0
  575. local MATERIAL = Table.Material or "Neon"
  576. local COLOR = Table.Color or C3(1, 1, 1)
  577. local TIME = Table.Time or 45
  578. local SOUNDID = Table.SoundID or nil
  579. local SOUNDPITCH = Table.SoundPitch or nil
  580. local SOUNDVOLUME = Table.SoundVolume or nil
  581. coroutine.resume(coroutine.create(function()
  582. local PLAYSSOUND = false
  583. local SOUND
  584. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
  585. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  586. PLAYSSOUND = true
  587. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  588. end
  589. EFFECT.Color = COLOR
  590. local MSH
  591. if TYPE == "Sphere" then
  592. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
  593. elseif TYPE == "Block" then
  594. MSH = IT("BlockMesh", EFFECT)
  595. MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
  596. elseif TYPE == "Box" then
  597. MSH = IT("BlockMesh", EFFECT)
  598. MSH.Scale = SIZE
  599. elseif TYPE == "Wave" then
  600. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  601. elseif TYPE == "Ring" then
  602. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
  603. elseif TYPE == "Slash" then
  604. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  605. elseif TYPE == "Round Slash" then
  606. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  607. elseif TYPE == "Swirl" then
  608. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
  609. elseif TYPE == "Skull" then
  610. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
  611. elseif TYPE == "Crystal" then
  612. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
  613. end
  614. if MSH ~= nil then
  615. local MOVESPEED
  616. if MOVEDIRECTION ~= nil then
  617. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
  618. end
  619. local GROWTH = SIZE - ENDSIZE
  620. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  621. if TYPE == "Block" then
  622. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  623. else
  624. EFFECT.CFrame = CFRAME
  625. end
  626. for LOOP = 1, TIME do
  627. Swait()
  628. MSH.Scale = MSH.Scale - GROWTH / TIME
  629. if TYPE == "Wave" then
  630. MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
  631. end
  632. EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  633. if TYPE == "Block" then
  634. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  635. else
  636. EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  637. end
  638. if MOVEDIRECTION ~= nil then
  639. local ORI = EFFECT.Orientation
  640. EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
  641. EFFECT.Orientation = ORI
  642. end
  643. end
  644. if PLAYSSOUND == false then
  645. EFFECT:remove()
  646. else
  647. repeat
  648. Swait()
  649. until SOUND.Playing == false
  650. EFFECT:remove()
  651. end
  652. elseif PLAYSSOUND == false then
  653. EFFECT:remove()
  654. else
  655. repeat
  656. Swait()
  657. until SOUND.Playing == false
  658. EFFECT:remove()
  659. end
  660. end))
  661. end
  662. Head:ClearAllChildren()
  663. local BODY = {}
  664. local naeeym2 = Instance.new("BillboardGui", Character)
  665. naeeym2.AlwaysOnTop = true
  666. naeeym2.Size = UDim2.new(15, 35, 5, 15)
  667. naeeym2.StudsOffset = Vector3.new(0, 3, 0)
  668. naeeym2.Adornee = Character.Head
  669. naeeym2.Name = "Name"
  670. naeeym2.PlayerToHideFrom = Player
  671. local tecks2 = Instance.new("TextLabel", naeeym2)
  672. tecks2.BackgroundTransparency = 1
  673. tecks2.TextScaled = true
  674. tecks2.BorderSizePixel = 0
  675. tecks2.Text = "Dominus PHAEDRA"
  676. tecks2.Font = "Fantasy"
  677. tecks2.TextSize = 30
  678. tecks2.TextStrokeTransparency = 0
  679. tecks2.TextColor3 = SKILLTEXTCOLOR
  680. tecks2.TextStrokeColor3 = Color3.new(1, 1, 1)
  681. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  682. tecks2.Parent = naeeym2
  683. function Transparency(TRANS)
  684. tecks2.TextTransparency = TRANS
  685. tecks2.TextStrokeTransparency = TRANS
  686. for _, c in pairs(Character:GetChildren()) do
  687. if c.ClassName == "Part" and c ~= RootPart then
  688. c.Transparency = TRANS
  689. if c:FindFirstChildOfClass("Decal") then
  690. c:FindFirstChildOfClass("Decal").Transparency = TRANS
  691. end
  692. if c:FindFirstChild("OVERLORDAURA") then
  693. c.OVERLORDAURA.Transparency = NumberSequence.new(0.9 + TRANS / 10)
  694. end
  695. if c:FindFirstChild("Eyeball") then
  696. c.Eyeball.Transparency = TRANS
  697. end
  698. if c:FindFirstChild("Eyeball1") then
  699. c.Eyeball1.Transparency = TRANS
  700. end
  701. elseif c.ClassName == "Accessory" then
  702. c.Handle.Transparency = TRANS
  703. elseif c.ClassName == "Model" then
  704. for _, q in pairs(c:GetChildren()) do
  705. if q.ClassName == "Part" then
  706. q.Transparency = TRANS
  707. if q:FindFirstChildOfClass("Decal") then
  708. q:FindFirstChildOfClass("Decal").Transparency = TRANS
  709. end
  710. end
  711. end
  712. end
  713. end
  714. end
  715. local EYE = CreatePart(3, Head, "Neon", 0, 0, "Gold", "Eyeball", VT(0.1, 0.4, 0.1), false)
  716. MakeForm(EYE, "Ball")
  717. EYE.CFrame = Head.CFrame * CF(0.2, 0.1, -0.72)
  718. local EW = weldBetween(Head, EYE)
  719. local EYE2 = CreatePart(3, Head, "Neon", 0, 0, "Gold", "Eyeball1", VT(0.4, 0.1, 0.1), false)
  720. MakeForm(EYE2, "Ball")
  721. EYE2.CFrame = Head.CFrame * CF(0.2, 0.1, -0.72)
  722. local EW2 = weldBetween(Head, EYE2)
  723. for _, c in pairs(Character:GetChildren()) do
  724. if c.ClassName == "Part" then
  725. table.insert(BODY, {c, Character})
  726. for _, q in pairs(c:GetChildren()) do
  727. if q ~= nil then
  728. table.insert(BODY, {q, c})
  729. end
  730. end
  731. end
  732. end
  733. function refit()
  734. Character.Parent = workspace
  735. for e = 1, #BODY do
  736. if BODY[e] ~= nil then
  737. local STUFF = BODY[e]
  738. local PART = STUFF[1]
  739. local PARENT = STUFF[2]
  740. PART.Parent = PARENT
  741. end
  742. end
  743. end
  744. Humanoid.HealthChanged:connect(function()
  745. local OLDHUM = Humanoid
  746. refit()
  747. OLDHUM:remove()
  748. Humanoid = IT("Humanoid", Character)
  749. Humanoid.MaxHealth = "inf"
  750. Humanoid.Health = "inf"
  751. Humanoid.PlatformStand = false
  752. Humanoid.HipHeight = 2.5
  753. Humanoid.WalkSpeed = Speed
  754. end)
  755. Humanoid.Died:connect(function()
  756. local OLDHUM = Humanoid
  757. refit()
  758. OLDHUM:remove()
  759. Humanoid = IT("Humanoid", Character)
  760. Humanoid.MaxHealth = "inf"
  761. Humanoid.Health = "inf"
  762. Humanoid.PlatformStand = false
  763. Humanoid.HipHeight = 2.5
  764. Humanoid.WalkSpeed = Speed
  765. end)
  766. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 1 Frame")
  767. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.5, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 2 Frame")
  768. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.03, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 3 Frame")
  769. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Dolor Pluvia", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 1")
  770. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ignem Aeternum", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 2")
  771. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Ultima Consummatio", SKILLTEXTCOLOR, 12, "Fantasy", 0, 2, 0, "Text 3")
  772. local SKILLEFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.13, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill Warp Frame")
  773. local SKILLETEXT = CreateLabel(SKILLEFRAME, "[Q] Magia portam", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0, "Text Warp")
  774. local SKILLFFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill Warp Frame")
  775. local SKILLFTEXT = CreateLabel(SKILLFFRAME, "[C] Imperium Delere", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0, "Text Warp")
  776. function killnearest(position, range, maxstrength)
  777. for i, v in ipairs(workspace:GetChildren()) do
  778. do
  779. local body = v:GetChildren()
  780. for part = 1, #body do
  781. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then
  782. if v.ClassName == "Model" then
  783. v:BreakJoints()
  784. end
  785. local bv = Instance.new("BodyVelocity")
  786. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  787. bv.velocity = CF(position, body[part].Position).lookVector * maxstrength
  788. bv.Parent = body[part]
  789. Debris:AddItem(bv, 0.2)
  790. body[part].Parent = Effects
  791. body[part].Material = "Neon"
  792. body[part].BrickColor = BRICKC("Gold")
  793. coroutine.resume(coroutine.create(function()
  794. wait(5)
  795. if body[part].Parent == Effects then
  796. body[part]:remove()
  797. end
  798. end))
  799. end
  800. end
  801. if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then
  802. v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength
  803. end
  804. end
  805. end
  806. end
  807. local Decal = IT("Decal")
  808. function MagicRing()
  809. local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
  810. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
  811. local decal = Decal:Clone()
  812. decal.Parent = O1
  813. decal.Face = "Top"
  814. decal.Texture = "http://www.roblox.com/asset/?id=917750924"
  815. local decal2 = Decal:Clone()
  816. decal2.Parent = O1
  817. decal2.Face = "Bottom"
  818. decal2.Texture = "http://www.roblox.com/asset/?id=917750924"
  819. return O1
  820. end
  821. function Dolor_Pluvia()
  822. local POWER = LEVEL
  823. local CENTER = MagicRing()
  824. CENTER.CFrame = CF(Mouse.Hit.p)
  825. CreateSound("424777055", CENTER, 10, 1)
  826. local RAIN = {}
  827. for i = 1, 45 do
  828. Swait()
  829. CENTER.Size = CENTER.Size + VT(POWER, 0, POWER)
  830. CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  831. end
  832. for i = 1, 35 do
  833. Swait()
  834. coroutine.resume(coroutine.create(function()
  835. local DROP = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "Raindrop", VT(POWER / 2, POWER / 2, POWER * 5))
  836. DROP.CFrame = CF(CENTER.Position + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 200, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3)), CENTER.Position + VT(MRANDOM(-CENTER.Size.X / 2.5, CENTER.Size.X / 2.5), 0, MRANDOM(-CENTER.Size.X / 2.5, CENTER.Size.X / 2.5)))
  837. table.insert(RAIN, DROP)
  838. particles(DROP)
  839. MakeForm(DROP, "Ball")
  840. local IMPACT = false
  841. for i = 1, 80 do
  842. Swait()
  843. DROP.CFrame = DROP.CFrame * CF(0, 0, -7)
  844. local HIT = Raycast(DROP.Position, DROP.CFrame.lookVector, 6, Character)
  845. if HIT ~= nil then
  846. IMPACT = true
  847. break
  848. end
  849. end
  850. table.remove(RAIN, 1)
  851. if IMPACT == true then
  852. DROP.Transparency = 1
  853. DROP.OVERLORDAURA.Enabled = false
  854. MagicSphere(VT(0, 0, 0), 25, DROP.CFrame, BRICKC("Gold").Color, VT(POWER, POWER, POWER) / 2)
  855. killnearest(DROP.Position, POWER * 5, 500)
  856. Debris:AddItem(DROP, 5)
  857. else
  858. DROP:remove()
  859. end
  860. end))
  861. end
  862. repeat
  863. Swait()
  864. until #RAIN == 0
  865. for i = 1, 45 do
  866. Swait()
  867. CENTER.Size = CENTER.Size - VT(POWER, 0, POWER)
  868. CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  869. end
  870. CENTER:remove()
  871. end
  872. function Ignem_Aeternum()
  873. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
  874. if HITFLOOR ~= nil then
  875. do
  876. local POWER = LEVEL
  877. ATTACK = true
  878. Rooted = true
  879. local CENTER = MagicRing()
  880. CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0))
  881. CreateSound("424777055", CENTER, 10, 1)
  882. local RAIN = {}
  883. for i = 1, 55 do
  884. Swait()
  885. CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) / 3
  886. CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  887. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  888. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  889. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  890. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  891. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  892. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  893. end
  894. local MAXDIST = 15
  895. local DIRECTION = CF(RootPart.Position, VT(Mouse.Hit.p.X, HITPOS.Y, Mouse.Hit.p.Z)).lookVector
  896. local HITFLOOR2, HITPOS2 = Raycast(RootPart.Position, DIRECTION, MAXDIST, Character)
  897. local HITFLOOR3, HITPOS3 = Raycast(HITPOS2, CF(HITPOS2 + VT(0, 1, 0), HITPOS2 + VT(0, -1, 0)).lookVector, MAXDIST, Character)
  898. local ORB = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "ORB", VT(4, 4, 4))
  899. MakeForm(ORB, "Ball")
  900. CreateSound("201858045", ORB, 10, 0.5)
  901. for i = 0, 1, 0.1 / Animation_Speed do
  902. Swait()
  903. ORB.CFrame = RootPart.CFrame * CF(0, 10 + POWER * 3, 0)
  904. ORB.Transparency = 0
  905. ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 7
  906. local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3))
  907. local RANGE = (POS - RootPart.CFrame * CF(0, 10 + POWER * 3, 0).p).Magnitude
  908. local ZAPTABLE = Zap({
  909. StartPosition = POS,
  910. TargetPosition = ORB.Position,
  911. Character = workspace,
  912. Color = "Gold",
  913. Individual = true,
  914. MaxRange = RANGE,
  915. SegmentLength = POWER * 2,
  916. Offset = 1
  917. })
  918. Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
  919. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  920. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  921. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  922. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  923. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -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)
  924. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -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)
  925. end
  926. coroutine.resume(coroutine.create(function()
  927. ORB.CFrame = CF(ORB.Position, HITPOS3)
  928. local IMPACT = false
  929. for i = 1, 400 do
  930. Swait()
  931. ORB.CFrame = ORB.CFrame * CF(0, 0, -1)
  932. local HIT = Raycast(ORB.Position, ORB.CFrame.lookVector, ORB.Size.X / 2.2, Character)
  933. if HIT ~= nil then
  934. IMPACT = true
  935. break
  936. end
  937. end
  938. if IMPACT == true then
  939. ORB.Transparency = 1
  940. local FRONT = ORB.CFrame * CF(0, 0, -1).p
  941. ORB.CFrame = CF(ORB.Position, VT(FRONT.X, ORB.Position.Y, FRONT.Z))
  942. for i = 1, 35 do
  943. if MRANDOM(1, 5) == 1 then
  944. local POS = CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))) * CF(0, 0, -POWER * 15).p
  945. local ZAPTABLE = Zap({
  946. SIZE = POWER,
  947. StartPosition = ORB.Position,
  948. TargetPosition = POS,
  949. Character = workspace,
  950. Color = "Gold",
  951. Individual = true,
  952. MaxRange = POWER * 35,
  953. SegmentLength = POWER * 5,
  954. Offset = 3
  955. })
  956. Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
  957. end
  958. ORB.CFrame = ORB.CFrame * CF(0, 0, -ORB.Size.X / 1.5)
  959. MagicSphere(ORB.Size * 1.1, 25, ORB.CFrame, BRICKC("Gold").Color, -ORB.Size / 35)
  960. CreateWave(VT(ORB.Size.X, 1, ORB.Size.Z) * 5, 35, CF(ORB.Position - VT(0, ORB.Size.Y / 3, 0)) * ANGLES(RAD(0), RAD(i * 5), RAD(0)), true, 5, "Gold", -VT(ORB.Size.X / 24, 0, ORB.Size.Z / 24))
  961. killnearest(ORB.Position, ORB.Size.X * 2, 500)
  962. Swait()
  963. end
  964. else
  965. ORB:remove()
  966. end
  967. end))
  968. ATTACK = false
  969. Rooted = false
  970. coroutine.resume(coroutine.create(function()
  971. for i = 1, 55 do
  972. Swait()
  973. CENTER.Size = CENTER.Size - VT(POWER, 0, POWER)
  974. CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  975. end
  976. CENTER:remove()
  977. end))
  978. end
  979. end
  980. end
  981. function Imperium_Delere()
  982. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
  983. if HITFLOOR ~= nil then
  984. do
  985. local POWER = LEVEL
  986. ATTACK = true
  987. Rooted = true
  988. local CENTER = MagicRing()
  989. CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0))
  990. CreateSound("424777055", CENTER, 10, 1)
  991. local RAIN = {}
  992. for i = 1, 55 do
  993. Swait()
  994. CENTER.Size = CENTER.Size + VT(POWER, 0, POWER)
  995. CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  996. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  997. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  998. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  999. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1000. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1001. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1002. end
  1003. local VISUAL = CreatePart(3, Effects, "Neon", 0, 0.99, "Gold", "Vibrations", VT(45, 45, 45) * POWER)
  1004. MakeForm(VISUAL, "Ball")
  1005. VISUAL.CFrame = CF(HITPOS)
  1006. for i = 1, 20 do
  1007. Swait()
  1008. VISUAL.Size = VISUAL.Size - VT(POWER, POWER, POWER) / 10
  1009. VISUAL.Transparency = VISUAL.Transparency - 0.01
  1010. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1011. 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)
  1012. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1013. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1014. 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)
  1015. 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)
  1016. end
  1017. coroutine.resume(coroutine.create(function()
  1018. for i = 1, 10 do
  1019. Swait()
  1020. CENTER.Size = CENTER.Size + VT(POWER, 0, POWER) * 15
  1021. for _, c in pairs(workspace:GetChildren()) do
  1022. if c.ClassName == "Model" then
  1023. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  1024. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  1025. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  1026. if (TORSO.Position - VISUAL.Position).Magnitude < VISUAL.Size.X / 1.6 then
  1027. for _, q in pairs(c:GetChildren()) do
  1028. if q.ClassName == "LocalScript" and q.Name ~= "Animate" then
  1029. q:remove()
  1030. end
  1031. end
  1032. end
  1033. elseif c.ClassName == "LocalScript" then
  1034. c:remove()
  1035. end
  1036. end
  1037. end
  1038. VISUAL.Size = VISUAL.Size + VT(POWER, POWER, POWER) * 12
  1039. VISUAL.Transparency = VISUAL.Transparency + 0.01
  1040. end
  1041. VISUAL:remove()
  1042. for i = 1, 40 do
  1043. Swait()
  1044. CENTER.Size = CENTER.Size * 0.9
  1045. end
  1046. CENTER:remove()
  1047. end))
  1048. ATTACK = false
  1049. Rooted = false
  1050. end
  1051. end
  1052. end
  1053. function Ultima_Consummatio()
  1054. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7, Character)
  1055. if HITFLOOR ~= nil then
  1056. do
  1057. local POWER = LEVEL
  1058. ATTACK = true
  1059. Rooted = true
  1060. if POWER <= 6 then
  1061. do
  1062. local CENTER = MagicRing()
  1063. CENTER.CFrame = CF(HITPOS + VT(0, 0.1, 0))
  1064. CreateSound("424777055", CENTER, 10, 1)
  1065. local RAIN = {}
  1066. for i = 1, 65 do
  1067. Swait()
  1068. CENTER.Size = CENTER.Size + VT(POWER, 0, POWER)
  1069. CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  1070. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1071. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1072. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1073. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1074. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -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)
  1075. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -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)
  1076. end
  1077. local ORB = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "ORB", VT(4, 4, 4))
  1078. MakeForm(ORB, "Ball")
  1079. CreateSound("201858045", ORB, 10, 0.5)
  1080. for i = 0, 5, 0.1 / Animation_Speed do
  1081. Swait()
  1082. ORB.CFrame = RootPart.CFrame * CF(0, 5 + ORB.Size.Y / 2, 0)
  1083. ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 10
  1084. ORB.Transparency = 0
  1085. local POS = HITPOS + VT(MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3), 0, MRANDOM(-CENTER.Size.X / 3, CENTER.Size.X / 3))
  1086. local RANGE = (POS - ORB.Position).Magnitude
  1087. local ZAPTABLE = Zap({
  1088. StartPosition = POS,
  1089. TargetPosition = ORB.Position,
  1090. Character = workspace,
  1091. Color = "Gold",
  1092. Individual = true,
  1093. MaxRange = RANGE,
  1094. SegmentLength = POWER * 2,
  1095. Offset = 1
  1096. })
  1097. Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
  1098. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1099. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1100. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1101. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1102. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -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)
  1103. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -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)
  1104. end
  1105. coroutine.resume(coroutine.create(function()
  1106. if POWER <= 3 then
  1107. local AIMPOS = Mouse.Hit.p
  1108. local O1 = MagicRing()
  1109. local O2 = MagicRing()
  1110. local O3 = MagicRing()
  1111. O1.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0)
  1112. O2.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0)
  1113. O3.CFrame = CF(ORB.Position, AIMPOS) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0)
  1114. for i = 1, 25 do
  1115. Swait()
  1116. O1.Size = O1.Size + VT(POWER, 0, POWER)
  1117. O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5
  1118. O3.Size = O3.Size + VT(POWER, 0, POWER) / 2
  1119. end
  1120. local DIST = (ORB.Position - AIMPOS).Magnitude
  1121. for i = 1, 75 do
  1122. Swait(3)
  1123. CreateRing(VT(0, 0, 0), false, 0, 45, CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 1, 1), VT(POWER, POWER, 0) / 5)
  1124. killnearest(ORB.Position, ORB.Size.X, 200)
  1125. local ZAPTABLE = Zap({
  1126. SIZE = POWER * 2,
  1127. StartPosition = ORB.Position,
  1128. TargetPosition = AIMPOS + VT(MRANDOM(-POWER * 15, POWER * 15), 0, MRANDOM(-POWER * 15, POWER * 15)) * 2,
  1129. Character = Character,
  1130. Color = "Gold",
  1131. Individual = true,
  1132. MaxRange = POWER * 400,
  1133. SegmentLength = DIST / 25,
  1134. Offset = 3 + DIST / 350
  1135. })
  1136. Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
  1137. MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Gold").Color, ORB.Size / 15)
  1138. killnearest(ZAPTABLE.RayPos, POWER * 45, 60)
  1139. CreateWave(VT(ORB.Size.X, 1, ORB.Size.Z) * 5, 35, CF(ZAPTABLE.RayPos), true, 5, "Gold", -VT(ORB.Size.X / 24, 0, ORB.Size.Z / 24))
  1140. end
  1141. local SIZE = ORB.Size
  1142. for i = 1, 25 do
  1143. Swait()
  1144. ORB.Size = ORB.Size - SIZE / 25
  1145. O1.Size = O1.Size - VT(POWER, 0, POWER)
  1146. O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5
  1147. O3.Size = O3.Size - VT(POWER, 0, POWER) / 2
  1148. end
  1149. ORB:remove()
  1150. O1:remove()
  1151. O2:remove()
  1152. O3:remove()
  1153. elseif POWER > 3 then
  1154. local O1 = MagicRing()
  1155. local O2 = MagicRing()
  1156. local O3 = MagicRing()
  1157. O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0)
  1158. O2.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0)
  1159. O3.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0)
  1160. for i = 1, 25 do
  1161. Swait()
  1162. O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0)
  1163. O2.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0)
  1164. O3.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0)
  1165. O1.Size = O1.Size + VT(POWER, 0, POWER)
  1166. O2.Size = O2.Size + VT(POWER, 0, POWER) / 1.5
  1167. O3.Size = O3.Size + VT(POWER, 0, POWER) / 2
  1168. end
  1169. for i = 1, 75 do
  1170. for i = 1, 5 do
  1171. Swait()
  1172. O1.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X, 0)
  1173. O2.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 4, 0)
  1174. O3.CFrame = CF(ORB.Position, Mouse.Hit.p) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0, -ORB.Size.X + ORB.Size.X / 8, 0)
  1175. end
  1176. killnearest(ORB.Position, ORB.Size.X, 200)
  1177. CreateRing(VT(0, 0, 0), false, 0, 45, CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 1, 1), VT(POWER, POWER, 0) / 5)
  1178. local DIST = (ORB.Position - Mouse.Hit.p).Magnitude
  1179. local ZAPTABLE = Zap({
  1180. SIZE = POWER,
  1181. StartPosition = ORB.Position,
  1182. TargetPosition = Mouse.Hit.p,
  1183. Character = Character,
  1184. Color = "Gold",
  1185. Individual = true,
  1186. MaxRange = POWER * 400,
  1187. SegmentLength = DIST / 25,
  1188. Offset = 3 + DIST / 350
  1189. })
  1190. Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
  1191. MagicSphere(ORB.Size * 1.1, 25, CF(ZAPTABLE.RayPos), BRICKC("Gold").Color, ORB.Size / 15)
  1192. killnearest(ZAPTABLE.RayPos, POWER * 45, 60)
  1193. CreateWave(VT(ORB.Size.X, 1, ORB.Size.Z) * 5, 35, CF(ZAPTABLE.RayPos), true, 5, "Gold", -VT(ORB.Size.X / 24, 0, ORB.Size.Z / 24))
  1194. end
  1195. local SIZE = ORB.Size
  1196. for i = 1, 25 do
  1197. Swait()
  1198. ORB.Size = ORB.Size - SIZE / 25
  1199. O1.Size = O1.Size - VT(POWER, 0, POWER)
  1200. O2.Size = O2.Size - VT(POWER, 0, POWER) / 1.5
  1201. O3.Size = O3.Size - VT(POWER, 0, POWER) / 2
  1202. end
  1203. ORB:remove()
  1204. O1:remove()
  1205. O2:remove()
  1206. O3:remove()
  1207. end
  1208. coroutine.resume(coroutine.create(function()
  1209. for i = 1, 65 do
  1210. Swait()
  1211. CENTER.Size = CENTER.Size - VT(POWER, 0, POWER)
  1212. CENTER.CFrame = CENTER.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  1213. end
  1214. CENTER:remove()
  1215. end))
  1216. end))
  1217. end
  1218. elseif POWER > 6 then
  1219. do
  1220. local FINISHED = false
  1221. local YIN = CreatePart(3, Effects, "Neon", 0, 0, "Pearl", "YIN", VT(25, 25, 25))
  1222. local YAN = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "YAN", VT(65, 25, 65))
  1223. coroutine.resume(coroutine.create(function()
  1224. local LOOP = 0
  1225. repeat
  1226. YIN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, 200)
  1227. YAN.CFrame = CF(HITPOS + VT(0, 500, 0)) * ANGLES(RAD(0), RAD(LOOP), RAD(0)) * CF(0, 0, -200)
  1228. LOOP = LOOP + 5
  1229. MagicSphere(VT(500, 5, 500), 65, CF(YIN.Position), BRICKC("Gold").Color, VT(-1, -0.001, -1) * 2)
  1230. MagicSphere(VT(500, 5, 500), 65, CF(YAN.Position), C3(1, 1, 1), VT(-1, -0.001, -1) * 2)
  1231. Swait()
  1232. until FINISHED == true
  1233. YIN:remove()
  1234. YAN:remove()
  1235. end))
  1236. CreateSound("438666077", Effects, 10, 1)
  1237. for i = 0, 1, 0.1 / Animation_Speed do
  1238. Swait()
  1239. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1240. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1241. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(65), RAD(0), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1242. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(65), RAD(0), RAD(-90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1243. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -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)
  1244. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -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)
  1245. end
  1246. local ORB = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "ORB", VT(6, 6, 6))
  1247. MakeForm(ORB, "Ball")
  1248. ORB.CFrame = CF(HITPOS + VT(0, 150, 0))
  1249. for i = 0, 8, 0.1 / Animation_Speed do
  1250. Swait()
  1251. if MRANDOM(1, 8) == 1 then
  1252. local RANGE1 = (ORB.Position - YIN.Position).Magnitude
  1253. local RANGE2 = (ORB.Position - YAN.Position).Magnitude
  1254. local ZAPTABLE1 = Zap({
  1255. SIZE = POWER / 3,
  1256. StartPosition = YIN.Position,
  1257. TargetPosition = ORB.Position,
  1258. Character = workspace,
  1259. Color = "Pearl",
  1260. Individual = true,
  1261. MaxRange = RANGE1,
  1262. SegmentLength = 25,
  1263. Offset = 6
  1264. })
  1265. local ZAPTABLE2 = Zap({
  1266. SIZE = POWER / 3,
  1267. StartPosition = YAN.Position,
  1268. TargetPosition = ORB.Position,
  1269. Character = workspace,
  1270. Color = "Gold",
  1271. Individual = true,
  1272. MaxRange = RANGE1,
  1273. SegmentLength = 25,
  1274. Offset = 6
  1275. })
  1276. Debris:AddItem(ZAPTABLE1.LightningModel, 0.1)
  1277. Debris:AddItem(ZAPTABLE2.LightningModel, 0.1)
  1278. end
  1279. ORB.Size = ORB.Size + VT(POWER, POWER, POWER) / 15
  1280. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1281. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  1282. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1283. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(150), RAD(0), RAD(-90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1284. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -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)
  1285. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -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)
  1286. end
  1287. FINISHED = true
  1288. coroutine.resume(coroutine.create(function()
  1289. for i = 1, 6 do
  1290. for e = 1, 10 do
  1291. Swait()
  1292. Slice("Thin", ORB.Size.X / 15, 15, ORB.CFrame * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), "Pearl", VT(-0.01, 0, -0.01))
  1293. ORB.Size = ORB.Size * 0.97
  1294. killnearest(ORB.Position, ORB.Size.X * 3, 200)
  1295. CreateWave(VT(ORB.Size.X, 35, ORB.Size.X), 25, CF(HITPOS) * ANGLES(RAD(0), RAD(i * 5 + e * 5), RAD(0)), false, 0, C3(1, 1, 1), VT(POWER, 0, POWER))
  1296. end
  1297. local POS = ORB.Position
  1298. for i = 1, 5 do
  1299. CreateRing(VT(0, 0, 0), false, 0, 8 * i, CF(POS) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 1, 1), VT(POWER, POWER, 0) / 5)
  1300. end
  1301. CreateRing(VT(0, 0, 0), false, 0, 45, CF(POS) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(1, 1, 1), VT(POWER, POWER, 0))
  1302. for e = 1, 10 do
  1303. Swait()
  1304. if MRANDOM(1, 5) == 1 then
  1305. local POS = CF(ORB.Position) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))) * CF(0, 0, -POWER * 25).p
  1306. local ZAPTABLE = Zap({
  1307. SIZE = POWER,
  1308. StartPosition = ORB.Position,
  1309. TargetPosition = POS,
  1310. Character = workspace,
  1311. Color = "Gold",
  1312. Individual = true,
  1313. MaxRange = POWER * 75,
  1314. SegmentLength = POWER * 5,
  1315. Offset = 3
  1316. })
  1317. Debris:AddItem(ZAPTABLE.LightningModel, 0.1)
  1318. end
  1319. ORB.Size = ORB.Size * 1.05
  1320. killnearest(ORB.Position, ORB.Size.X * 3, 200)
  1321. CreateWave(VT(ORB.Size.X, 35, ORB.Size.X), 25, CF(HITPOS) * ANGLES(RAD(0), RAD(i * 5 + e * 5), RAD(0)), false, 0, C3(1, 1, 1), VT(POWER, 0, POWER))
  1322. end
  1323. end
  1324. local POS = ORB.Position
  1325. for e = 1, 10 do
  1326. Swait()
  1327. ORB.Transparency = ORB.Transparency + 0.1
  1328. end
  1329. ORB:remove()
  1330. killnearest(POS, POWER * 35, 200)
  1331. for i = 1, 5 do
  1332. CreateRing(VT(0, 0, 0), false, 0, 8 * i, CF(POS) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180))), C3(1, 1, 1), VT(POWER, POWER, 0) / 5)
  1333. end
  1334. CreateRing(VT(0, 0, 0), false, 0, 45, CF(POS) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(1, 1, 1), VT(POWER, POWER, 0))
  1335. end))
  1336. end
  1337. end
  1338. ATTACK = false
  1339. Rooted = false
  1340. end
  1341. end
  1342. end
  1343. function Hop()
  1344. ATTACK = true
  1345. Rooted = false
  1346. local O1 = MagicRing()
  1347. local O2 = MagicRing()
  1348. local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z)
  1349. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
  1350. O2.CFrame = CF(Mouse.Hit.p + VT(0, 6, 0), POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  1351. local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
  1352. ROOT.CFrame = CF(O2.Position, RootPart.Position)
  1353. CreateSound("814168787", O1, 10, 0.7)
  1354. CreateSound("814168787", O2, 10, 0.7)
  1355. for i = 1, 75 do
  1356. Swait()
  1357. O1.Size = O1.Size + VT(0.15, 0, 0.15)
  1358. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0))
  1359. O2.Size = O2.Size + VT(0.15, 0, 0.15)
  1360. O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  1361. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1362. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1363. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.35 + 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1364. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1365. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1366. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1367. end
  1368. Rooted = true
  1369. UNANCHOR = false
  1370. RootPart.Anchored = true
  1371. VALUE1 = true
  1372. for i = 1, 15 do
  1373. Transparency(i / 15)
  1374. Swait()
  1375. RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.13)
  1376. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1377. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1378. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1379. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1380. 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)
  1381. 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)
  1382. end
  1383. RootPart.CFrame = ROOT.CFrame
  1384. ROOT:remove()
  1385. for i = 1, 15 do
  1386. Transparency(1 - i / 15)
  1387. Swait()
  1388. RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.5)
  1389. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1390. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1391. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1392. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1393. 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)
  1394. 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)
  1395. end
  1396. VALUE1 = false
  1397. coroutine.resume(coroutine.create(function()
  1398. for i = 1, 75 do
  1399. Swait()
  1400. O1.Size = O1.Size - VT(0.15, 0, 0.15)
  1401. O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  1402. O2.Size = O2.Size - VT(0.15, 0, 0.15)
  1403. O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  1404. end
  1405. O1:remove()
  1406. O2:remove()
  1407. end))
  1408. UNANCHOR = true
  1409. RootPart.Anchored = false
  1410. ATTACK = false
  1411. Rooted = false
  1412. end
  1413. function Roar()
  1414. ATTACK = true
  1415. Rooted = true
  1416. local ROAR = CreateSound("199978176", Head, 10, 1)
  1417. Swait()
  1418. repeat
  1419. Swait()
  1420. ROAR.Parent = Head
  1421. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1422. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1423. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1424. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1425. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -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)), 1 / Animation_Speed)
  1426. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-15 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1427. until ROAR.Playing == false
  1428. ATTACK = false
  1429. Rooted = false
  1430. end
  1431. function Dimisit()
  1432. ATTACK = true
  1433. Rooted = false
  1434. local LIGHT = IT("ColorCorrectionEffect")
  1435. for LOOP = 1, 500 do
  1436. Swait()
  1437. local MATHMAX = 30 - math.ceil(LOOP / 10)
  1438. if MATHMAX <= 1 then
  1439. MATHMAX = 1
  1440. end
  1441. if MRANDOM(1, MATHMAX) == 1 then
  1442. WACKYEFFECT({
  1443. TIME = MRANDOM(45, 75),
  1444. EffectType = "Sphere",
  1445. Size = VT(0.2, 0.2, 0.2),
  1446. Size2 = VT(3, 3, 3),
  1447. Transparency = 0,
  1448. Transparency2 = 1,
  1449. CFrame = Head.CFrame * CF(0, 0, -0.5),
  1450. MoveToPos = Head.CFrame * CF(MRANDOM(-15, 15) / 2, MRANDOM(-15, 15) / 2, -25).p,
  1451. RotationX = 0,
  1452. RotationY = 0,
  1453. RotationZ = 0,
  1454. Material = "Neon",
  1455. Color = SKILLTEXTCOLOR,
  1456. SoundID = nil,
  1457. SoundPitch = nil,
  1458. SoundVolume = nil
  1459. })
  1460. end
  1461. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1462. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1463. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1464. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1465. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -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)), 1 / Animation_Speed)
  1466. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-15 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1467. end
  1468. LIGHT.Parent = game.Lighting
  1469. for LOOP = 1, 25 do
  1470. Swait()
  1471. LIGHT.Brightness = LIGHT.Brightness + 0.04
  1472. LIGHT.Parent = game.Lighting
  1473. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1474. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1475. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1476. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1477. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -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)), 1 / Animation_Speed)
  1478. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-15 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1479. end
  1480. for i = 1, 10 do
  1481. Swait()
  1482. Volume = Volume - 0.15
  1483. end
  1484. CREATION = true
  1485. Volume = 3
  1486. wait(2)
  1487. for LOOP = 1, 25 do
  1488. Swait()
  1489. LIGHT.Brightness = LIGHT.Brightness - 0.04
  1490. LIGHT.Parent = game.Lighting
  1491. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1492. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1493. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1494. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1495. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -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)), 1 / Animation_Speed)
  1496. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-15 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1497. end
  1498. LIGHT:remove()
  1499. coroutine.resume(coroutine.create(function()
  1500. repeat
  1501. Swait()
  1502. until CREATION == false
  1503. end))
  1504. ATTACK = false
  1505. Rooted = false
  1506. end
  1507. function AttackTemplate()
  1508. ATTACK = true
  1509. Rooted = false
  1510. for i = 0, 1, 0.1 / Animation_Speed do
  1511. Swait()
  1512. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1513. 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)
  1514. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1515. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1516. 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)
  1517. 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)
  1518. end
  1519. ATTACK = false
  1520. Rooted = false
  1521. end
  1522. function MouseDown(Mouse)
  1523. if ATTACK == false then
  1524. end
  1525. end
  1526. function MouseUp(Mouse)
  1527. HOLD = false
  1528. end
  1529. function KeyDown(Key)
  1530. KEYHOLD = true
  1531. if Key == "z" and ATTACK == false then
  1532. if CREATION == false then
  1533. Dolor_Pluvia()
  1534. elseif CREATION == true then
  1535. end
  1536. end
  1537. if Key == "b" and ATTACK == false then
  1538. if CREATION == false then
  1539. Ignem_Aeternum()()
  1540. elseif CREATION == true then
  1541. end
  1542. end
  1543. if Key == "c" and ATTACK == false then
  1544. if CREATION == false then
  1545. Imperium_Delere()()
  1546. elseif CREATION == true then
  1547. end
  1548. end
  1549. if Key == "q" and ATTACK == false then
  1550. if CREATION == false then
  1551. Hop()
  1552. elseif CREATION == true then
  1553. end
  1554. end
  1555. if Key == "x" and ATTACK == false then
  1556. if CREATION == false then
  1557. Ultima_Consummatio()()
  1558. elseif CREATION == true then
  1559. end
  1560. end
  1561. if Key == "t" and ATTACK == false then
  1562. Roar()
  1563. end
  1564. if Key == "1" and ATTACK == false then
  1565. LEVEL = 1
  1566. end
  1567. if Key == "2" and ATTACK == false then
  1568. LEVEL = 2
  1569. end
  1570. if Key == "3" and ATTACK == false then
  1571. LEVEL = 3
  1572. end
  1573. if Key == "4" and ATTACK == false then
  1574. LEVEL = 4
  1575. end
  1576. if Key == "5" and ATTACK == false then
  1577. LEVEL = 5
  1578. end
  1579. if Key == "6" and ATTACK == false then
  1580. LEVEL = 6
  1581. end
  1582. if Key == "7" and ATTACK == false then
  1583. LEVEL = 7
  1584. end
  1585. if Key == "8" and ATTACK == false then
  1586. LEVEL = 8
  1587. end
  1588. if Key == "9" and ATTACK == false then
  1589. LEVEL = 9
  1590. end
  1591. if Key == "]" and ATTACK == false then
  1592. if CREATION == false then
  1593. Dimisit()
  1594. elseif CREATION == true then
  1595. end
  1596. end
  1597. end
  1598. function KeyUp(Key)
  1599. KEYHOLD = false
  1600. end
  1601. Mouse.Button1Down:connect(function(NEWKEY)
  1602. MouseDown(NEWKEY)
  1603. end)
  1604. Mouse.Button1Up:connect(function(NEWKEY)
  1605. MouseUp(NEWKEY)
  1606. end)
  1607. Mouse.KeyDown:connect(function(NEWKEY)
  1608. KeyDown(NEWKEY)
  1609. end)
  1610. Mouse.KeyUp:connect(function(NEWKEY)
  1611. KeyUp(NEWKEY)
  1612. end)
  1613. function unanchor()
  1614. if UNANCHOR == true then
  1615. g = Character:GetChildren()
  1616. for i = 1, #g do
  1617. if g[i].ClassName == "Part" then
  1618. g[i].Anchored = false
  1619. end
  1620. end
  1621. end
  1622. end
  1623. Humanoid.Changed:connect(function(Jump)
  1624. if Jump == "Jump" and Disable_Jump == true then
  1625. Humanoid.Jump = false
  1626. end
  1627. end)
  1628. Humanoid.HipHeight = 2.5
  1629. local FF = IT("ForceField", Character)
  1630. FF.Visible = false
  1631. Speed = 65
  1632. local LIGHT = IT("PointLight", Torso)
  1633. LIGHT.Range = 5
  1634. LIGHT.Brightness = 100
  1635. LIGHT.Color = C3(1, 1, 1)
  1636. while true do
  1637. refit()
  1638. Swait()
  1639. script.Parent = WEAPONGUI
  1640. Character.Parent = workspace
  1641. ANIMATE.Parent = nil
  1642. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1643. IDLEANIMATION:Play()
  1644. SINE = SINE + CHANGE
  1645. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1646. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1647. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1648. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  1649. if ATTACK == false then
  1650. if TORSOVELOCITY < 1 then
  1651. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1652. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1653. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1654. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1655. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1656. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1657. elseif TORSOVELOCITY > 1 then
  1658. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1659. 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)
  1660. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1661. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1662. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1663. 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)
  1664. end
  1665. end
  1666. unanchor()
  1667. if Rooted == false then
  1668. Disable_Jump = false
  1669. Speed = 65
  1670. elseif Rooted == true then
  1671. Disable_Jump = true
  1672. Speed = 0
  1673. end
  1674. for _, c in pairs(Character:GetChildren()) do
  1675. if c.ClassName == "Part" then
  1676. c.Material = "Neon"
  1677. for _, q in pairs(c:GetChildren()) do
  1678. if q.ClassName == "ParticleEmitter" and q.Name ~= "OVERLORDAURA" then
  1679. q:remove()
  1680. elseif q.ClassName == "Fire" then
  1681. q:remove()
  1682. end
  1683. end
  1684. if c.Transparency == 0 and c:FindFirstChild("OVERLORDAURA") == nil then
  1685. particles(c)
  1686. end
  1687. if c == Torso then
  1688. c.Color = C3(1, 1, 1)
  1689. elseif c == RightArm then
  1690. c.Color = C3(0.9372549019607843, 0.7215686274509804, 0.2196078431372549)
  1691. elseif c == LeftArm then
  1692. c.Color = C3(0.9372549019607843, 0.7215686274509804, 0.2196078431372549)
  1693. elseif c == RightLeg then
  1694. c.Color = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116)
  1695. elseif c == LeftLeg then
  1696. c.Color = C3(0.7372549019607844, 0.6078431372549019, 0.36470588235294116)
  1697. elseif c == Head then
  1698. if c:FindFirstChild("Dominus") == nil then
  1699. local M = CreateMesh("SpecialMesh", c, "FileMesh", "21057410", "1393532942", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
  1700. M.Name = "Dominus"
  1701. end
  1702. if c:FindFirstChild("face") then
  1703. c.face:remove()
  1704. end
  1705. end
  1706. elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1707. c:remove()
  1708. end
  1709. end
  1710. sick.Playing = true
  1711. sick.Pitch = 1
  1712. sick.Volume = Volume
  1713. FF.Parent = Character
  1714. sick.Parent = Character
  1715. Humanoid.PlatformStand = false
  1716. Humanoid.Name = "PHAEDRA"
  1717. Humanoid.DisplayDistanceType = "None"
  1718. for _, c in pairs(workspace:GetChildren()) do
  1719. if c.ClassName == "Model" and c ~= Character then
  1720. for _, q in pairs(c:GetChildren()) do
  1721. if q.ClassName == "Sound" then
  1722. q.Pitch = 0
  1723. end
  1724. end
  1725. end
  1726. end
  1727. refit()
  1728. if CREATION == false then
  1729. if sick.SoundId ~= SONG1 then
  1730. sick.SoundId = SONG1
  1731. sick:Play()
  1732. end
  1733. elseif CREATION == true and sick.SoundId ~= SONG2 then
  1734. sick.SoundId = SONG2
  1735. sick:Play()
  1736. end
  1737. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement