Advertisement
gdgrg

luis911911

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