ericdesouza

wat is this

Apr 20th, 2018
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 42.94 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5.  
  6.  
  7. wait(0.2)
  8.  
  9.  
  10.  
  11. Player = game:GetService("Players").LocalPlayer
  12. PlayerGui = Player.PlayerGui
  13. Cam = workspace.CurrentCamera
  14. Backpack = Player.Backpack
  15. Character = Player.Character
  16. Humanoid = Character.Humanoid
  17. Mouse = Player:GetMouse()
  18. RootPart = Character["HumanoidRootPart"]
  19. Torso = Character["Torso"]
  20. Head = Character["Head"]
  21. RightArm = Character["Right Arm"]
  22. LeftArm = Character["Left Arm"]
  23. RightLeg = Character["Right Leg"]
  24. LeftLeg = Character["Left Leg"]
  25. RootJoint = RootPart["RootJoint"]
  26. Neck = Torso["Neck"]
  27. RightShoulder = Torso["Right Shoulder"]
  28. LeftShoulder = Torso["Left Shoulder"]
  29. RightHip = Torso["Right Hip"]
  30. LeftHip = Torso["Left Hip"]
  31. local sick = Instance.new("Sound",Character)
  32. sick.SoundId = "rbxassetid://649630245"
  33. sick.Looped = true
  34. sick.Pitch = 1
  35. sick.Volume = 1
  36. sick:Play()
  37.  
  38. IT = Instance.new
  39. CF = CFrame.new
  40. VT = Vector3.new
  41. RAD = math.rad
  42. C3 = Color3.new
  43. UD2 = UDim2.new
  44. BRICKC = BrickColor.new
  45. ANGLES = CFrame.Angles
  46. EULER = CFrame.fromEulerAnglesXYZ
  47. COS = math.cos
  48. ACOS = math.acos
  49. SIN = math.sin
  50. ASIN = math.asin
  51. ABS = math.abs
  52. MRANDOM = math.random
  53. FLOOR = math.floor
  54.  
  55. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  56. local NEWMESH = IT(MESH)
  57. if MESH == "SpecialMesh" then
  58. NEWMESH.MeshType = MESHTYPE
  59. if MESHID ~= "nil" and MESHID ~= "" then
  60. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  61. end
  62. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  63. end
  64. end
  65. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  66. NEWMESH.Scale = SCALE
  67. NEWMESH.Parent = PARENT
  68. return NEWMESH
  69. end
  70.  
  71. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  72. local NEWPART = IT("Part")
  73. NEWPART.formFactor = FORMFACTOR
  74. NEWPART.Reflectance = REFLECTANCE
  75. NEWPART.Transparency = TRANSPARENCY
  76. NEWPART.CanCollide = false
  77. NEWPART.Locked = true
  78. NEWPART.Anchored = true
  79. if ANCHOR == false then
  80. NEWPART.Anchored = false
  81. end
  82. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  83. NEWPART.Name = NAME
  84. NEWPART.Size = SIZE
  85. NEWPART.Position = Torso.Position
  86. NEWPART.Material = MATERIAL
  87. NEWPART:BreakJoints()
  88. NEWPART.Parent = PARENT
  89. return NEWPART
  90. end
  91.  
  92. --//=================================\\
  93. --|| CUSTOMIZATION
  94. --\\=================================//
  95.  
  96. Player_Size = 1 --Size of the player.
  97. Animation_Speed = 3
  98. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  99.  
  100. local Speed = 16
  101. local Effects2 = {}
  102.  
  103. --//=================================\\
  104. --|| END OF CUSTOMIZATION
  105. --\\=================================//
  106.  
  107. local function weldBetween(a, b)
  108. local weldd = Instance.new("ManualWeld")
  109. weldd.Part0 = a
  110. weldd.Part1 = b
  111. weldd.C0 = CFrame.new()
  112. weldd.C1 = b.CFrame:inverse() * a.CFrame
  113. weldd.Parent = a
  114. return weldd
  115. end
  116.  
  117. --//=================================\\
  118. --|| USEFUL VALUES
  119. --\\=================================//
  120.  
  121. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  122. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  123. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  124. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  125. local CHANGEDEFENSE = 0
  126. local CHANGEDAMAGE = 0
  127. local CHANGEMOVEMENT = 0
  128. local ANIM = "Idle"
  129. local ATTACK = false
  130. local EQUIPPED = false
  131. local HOLD = false
  132. local COMBO = 1
  133. local Rooted = false
  134. local SINE = 0
  135. local KEYHOLD = false
  136. local CHANGE = 2 / Animation_Speed
  137. local WALKINGANIM = false
  138. local WALK = 0
  139. local VALUE1 = false
  140. local VALUE2 = false
  141. local ROBLOXIDLEANIMATION = IT("Animation")
  142. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  143. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  144. --ROBLOXIDLEANIMATION.Parent = Humanoid
  145. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  146. WEAPONGUI.Name = "Weapon GUI"
  147. local Effects = IT("Folder", Character)
  148. Effects.Name = "Effects"
  149. local ANIMATOR = Humanoid.Animator
  150. local ANIMATE = Character.Animate
  151. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  152. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  153. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  154. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  155. local UNANCHOR = true
  156.  
  157. local SKILLTEXTCOLOR = C3(0.05,0.05,0.15)
  158.  
  159. --//=================================\\
  160. --\\=================================//
  161.  
  162.  
  163. --//=================================\\
  164. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  165. --\\=================================//
  166.  
  167. ArtificialHB = Instance.new("BindableEvent", script)
  168. ArtificialHB.Name = "ArtificialHB"
  169.  
  170. script:WaitForChild("ArtificialHB")
  171.  
  172. frame = Frame_Speed
  173. tf = 0
  174. allowframeloss = false
  175. tossremainder = false
  176. lastframe = tick()
  177. script.ArtificialHB:Fire()
  178.  
  179. game:GetService("RunService").Heartbeat:connect(function(s, p)
  180. tf = tf + s
  181. if tf >= frame then
  182. if allowframeloss then
  183. script.ArtificialHB:Fire()
  184. lastframe = tick()
  185. else
  186. for i = 1, math.floor(tf / frame) do
  187. script.ArtificialHB:Fire()
  188. end
  189. lastframe = tick()
  190. end
  191. if tossremainder then
  192. tf = 0
  193. else
  194. tf = tf - frame * math.floor(tf / frame)
  195. end
  196. end
  197. end)
  198.  
  199. --//=================================\\
  200. --\\=================================//
  201.  
  202.  
  203.  
  204.  
  205.  
  206. --//=================================\\
  207. --|| SOME FUNCTIONS
  208. --\\=================================//
  209.  
  210. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  211. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  212. end
  213.  
  214. function PositiveAngle(NUMBER)
  215. if NUMBER >= 0 then
  216. NUMBER = 0
  217. end
  218. return NUMBER
  219. end
  220.  
  221. function NegativeAngle(NUMBER)
  222. if NUMBER <= 0 then
  223. NUMBER = 0
  224. end
  225. return NUMBER
  226. end
  227.  
  228. function Swait(NUMBER)
  229. if NUMBER == 0 or NUMBER == nil then
  230. ArtificialHB.Event:wait()
  231. else
  232. for i = 1, NUMBER do
  233. ArtificialHB.Event:wait()
  234. end
  235. end
  236. end
  237.  
  238. function QuaternionFromCFrame(cf)
  239. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  240. local trace = m00 + m11 + m22
  241. if trace > 0 then
  242. local s = math.sqrt(1 + trace)
  243. local recip = 0.5 / s
  244. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  245. else
  246. local i = 0
  247. if m11 > m00 then
  248. i = 1
  249. end
  250. if m22 > (i == 0 and m00 or m11) then
  251. i = 2
  252. end
  253. if i == 0 then
  254. local s = math.sqrt(m00 - m11 - m22 + 1)
  255. local recip = 0.5 / s
  256. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  257. elseif i == 1 then
  258. local s = math.sqrt(m11 - m22 - m00 + 1)
  259. local recip = 0.5 / s
  260. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  261. elseif i == 2 then
  262. local s = math.sqrt(m22 - m00 - m11 + 1)
  263. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  264. end
  265. end
  266. end
  267.  
  268. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  269. local xs, ys, zs = x + x, y + y, z + z
  270. local wx, wy, wz = w * xs, w * ys, w * zs
  271. local xx = x * xs
  272. local xy = x * ys
  273. local xz = x * zs
  274. local yy = y * ys
  275. local yz = y * zs
  276. local zz = z * zs
  277. 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))
  278. end
  279.  
  280. function QuaternionSlerp(a, b, t)
  281. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  282. local startInterp, finishInterp;
  283. if cosTheta >= 0.0001 then
  284. if (1 - cosTheta) > 0.0001 then
  285. local theta = ACOS(cosTheta)
  286. local invSinTheta = 1 / SIN(theta)
  287. startInterp = SIN((1 - t) * theta) * invSinTheta
  288. finishInterp = SIN(t * theta) * invSinTheta
  289. else
  290. startInterp = 1 - t
  291. finishInterp = t
  292. end
  293. else
  294. if (1 + cosTheta) > 0.0001 then
  295. local theta = ACOS(-cosTheta)
  296. local invSinTheta = 1 / SIN(theta)
  297. startInterp = SIN((t - 1) * theta) * invSinTheta
  298. finishInterp = SIN(t * theta) * invSinTheta
  299. else
  300. startInterp = t - 1
  301. finishInterp = t
  302. end
  303. end
  304. 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
  305. end
  306.  
  307. function Clerp(a, b, t)
  308. local qa = {QuaternionFromCFrame(a)}
  309. local qb = {QuaternionFromCFrame(b)}
  310. local ax, ay, az = a.x, a.y, a.z
  311. local bx, by, bz = b.x, b.y, b.z
  312. local _t = 1 - t
  313. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  314. end
  315.  
  316. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  317. local frame = IT("Frame")
  318. frame.BackgroundTransparency = TRANSPARENCY
  319. frame.BorderSizePixel = BORDERSIZEPIXEL
  320. frame.Position = POSITION
  321. frame.Size = SIZE
  322. frame.BackgroundColor3 = COLOR
  323. frame.BorderColor3 = BORDERCOLOR
  324. frame.Name = NAME
  325. frame.Parent = PARENT
  326. return frame
  327. end
  328.  
  329. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  330. local label = IT("TextLabel")
  331. label.BackgroundTransparency = 1
  332. label.Size = UD2(1, 0, 1, 0)
  333. label.Position = UD2(0, 0, 0, 0)
  334. label.TextColor3 = TEXTCOLOR
  335. label.TextStrokeTransparency = STROKETRANSPARENCY
  336. label.TextTransparency = TRANSPARENCY
  337. label.FontSize = TEXTFONTSIZE
  338. label.Font = TEXTFONT
  339. label.BorderSizePixel = BORDERSIZEPIXEL
  340. label.TextScaled = false
  341. label.Text = TEXT
  342. label.Name = NAME
  343. label.Parent = PARENT
  344. return label
  345. end
  346.  
  347. function NoOutlines(PART)
  348. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  349. end
  350.  
  351.  
  352. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  353. local NEWWELD = IT(TYPE)
  354. NEWWELD.Part0 = PART0
  355. NEWWELD.Part1 = PART1
  356. NEWWELD.C0 = C0
  357. NEWWELD.C1 = C1
  358. NEWWELD.Parent = PARENT
  359. return NEWWELD
  360. end
  361.  
  362. function CreateSound(ID, PARENT, VOLUME, PITCH)
  363. local NEWSOUND = nil
  364. coroutine.resume(coroutine.create(function()
  365. NEWSOUND = IT("Sound", PARENT)
  366. NEWSOUND.Volume = VOLUME
  367. NEWSOUND.Pitch = PITCH
  368. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  369. Swait()
  370. NEWSOUND:play()
  371. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  372. end))
  373. return NEWSOUND
  374. end
  375.  
  376. function CFrameFromTopBack(at, top, back)
  377. local right = top:Cross(back)
  378. 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)
  379. end
  380.  
  381. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  382. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  383. wave.Color = COLOR
  384. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", 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. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  391. if DOESROT == true then
  392. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  393. end
  394. wave.Transparency = wave.Transparency + (0.5/WAIT)
  395. if wave.Transparency > 0.99 then
  396. wave:remove()
  397. end
  398. end
  399. end))
  400. end
  401.  
  402. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  403. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  404. wave.Color = COLOR
  405. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  406. wave.CFrame = CFRAME
  407. coroutine.resume(coroutine.create(function(PART)
  408. for i = 1, WAIT do
  409. Swait()
  410. mesh.Scale = mesh.Scale + GROW
  411. wave.Transparency = wave.Transparency + (1/WAIT)
  412. if wave.Transparency > 0.99 then
  413. wave:remove()
  414. end
  415. end
  416. end))
  417. end
  418.  
  419. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  420. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  421. local mesh = nil
  422. if KIND == "Base" then
  423. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  424. elseif KIND == "Thin" then
  425. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  426. elseif KIND == "Round" then
  427. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  428. end
  429. wave.CFrame = CFRAME
  430. coroutine.resume(coroutine.create(function(PART)
  431. for i = 1, WAIT do
  432. Swait()
  433. mesh.Scale = mesh.Scale + GROW/10
  434. wave.Transparency = wave.Transparency + (0.5/WAIT)
  435. if wave.Transparency > 0.99 then
  436. wave:remove()
  437. end
  438. end
  439. end))
  440. end
  441.  
  442. function MakeForm(PART,TYPE)
  443. if TYPE == "Cyl" then
  444. local MSH = IT("CylinderMesh",PART)
  445. elseif TYPE == "Ball" then
  446. local MSH = IT("SpecialMesh",PART)
  447. MSH.MeshType = "Sphere"
  448. elseif TYPE == "Wedge" then
  449. local MSH = IT("SpecialMesh",PART)
  450. MSH.MeshType = "Wedge"
  451. end
  452. end
  453.  
  454. function CheckTableForString(Table, String)
  455. for i, v in pairs(Table) do
  456. if string.find(string.lower(String), string.lower(v)) then
  457. return true
  458. end
  459. end
  460. return false
  461. end
  462.  
  463. function CheckIntangible(Hit)
  464. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  465. if Hit and Hit.Parent then
  466. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  467. return true
  468. end
  469. end
  470. return false
  471. end
  472.  
  473. Debris = game:GetService("Debris")
  474.  
  475. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  476. local Direction = CFrame.new(StartPos, Vec).lookVector
  477. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  478. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  479. if RayHit and CheckIntangible(RayHit) then
  480. if DelayIfHit then
  481. wait()
  482. end
  483. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  484. end
  485. return RayHit, RayPos, RayNormal
  486. end
  487.  
  488. function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
  489. if DoesCourontine == false then
  490. local Direction = CF(Part.Position,ToLocation)
  491. local Distance = (Part.Position - ToLocation).magnitude
  492. for i = 1, AmountOfTime do
  493. Swait()
  494. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  495. Direction = Part.CFrame
  496. end
  497. Part:remove()
  498. elseif DoesCourontine == true then
  499. coroutine.resume(coroutine.create(function()
  500. local Direction = CF(Part.Position,ToLocation)
  501. local Distance = (Part.Position - ToLocation).magnitude
  502. for i = 1, AmountOfTime do
  503. Swait()
  504. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  505. Direction = Part.CFrame
  506. end
  507. Part:remove()
  508. end))
  509. end
  510. end
  511.  
  512. function turnto(position)
  513. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  514. end
  515.  
  516. --//=================================\\
  517. --|| WEAPON CREATION
  518. --\\=================================//
  519.  
  520. local naeeym2 = Instance.new("BillboardGui",Character)
  521. naeeym2.AlwaysOnTop = true
  522. naeeym2.Size = UDim2.new(5,35,2,15)
  523. naeeym2.StudsOffset = Vector3.new(0,3,0)
  524. naeeym2.Adornee = Character.Head
  525. naeeym2.Name = "Name"
  526. naeeym2.PlayerToHideFrom = Player
  527. local tecks2 = Instance.new("TextLabel",naeeym2)
  528. tecks2.BackgroundTransparency = 1
  529. tecks2.TextScaled = true
  530. tecks2.BorderSizePixel = 0
  531. tecks2.Text = "Dominus Aureus"
  532. tecks2.Font = "Fantasy"
  533. tecks2.TextSize = 30
  534. tecks2.TextStrokeTransparency = 0
  535. tecks2.TextColor3 = Color3.new(0.05,0.05,0.15)
  536. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  537. tecks2.Size = UDim2.new(1,0,0.5,0)
  538. tecks2.Parent = naeeym2
  539.  
  540. function Transparency(TRANS)
  541. tecks2.TextTransparency = TRANS
  542. tecks2.TextStrokeTransparency = TRANS
  543. for _, c in pairs(Character:GetChildren()) do
  544. if c.ClassName == "Part" and c ~= RootPart then
  545. c.Transparency = TRANS
  546. if c:FindFirstChildOfClass("Decal") then
  547. c:FindFirstChildOfClass("Decal").Transparency = TRANS
  548. end
  549. elseif c.ClassName == "Accessory" then
  550. c.Handle.Transparency = TRANS
  551. elseif c.ClassName == "Model" then
  552. for _, q in pairs(c:GetChildren()) do
  553. if q.ClassName == "Part" then
  554. q.Transparency = TRANS
  555. if q:FindFirstChildOfClass("Decal") then
  556. q:FindFirstChildOfClass("Decal").Transparency = TRANS
  557. end
  558. end
  559. end
  560. end
  561. end
  562. end
  563.  
  564. Humanoid.Died:connect(function()
  565. Humanoid.Parent = nil
  566. Humanoid.MaxHealth = "inf"
  567. Humanoid.Health = "inf"
  568. refit()
  569. Humanoid.Parent = Character
  570. CreateSound("907330011", Head, 10, 1.2)
  571. end)
  572.  
  573. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  574. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  575. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  576. local SKILLEFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Warp Frame")
  577.  
  578. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Aureus Blast", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 1")
  579. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Aureus Cutter", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 2")
  580. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Aureus Destruction", SKILLTEXTCOLOR, 10, "Fantasy", 0, 2, 0, "Text 3")
  581. local SKILLETEXT = CreateLabel(SKILLEFRAME, "[Q] Aureus Warp", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text Warp")
  582.  
  583. --//=================================\\
  584. --|| DAMAGING
  585. --\\=================================//
  586.  
  587. function killnearest(position,range,maxstrength)
  588. for i,v in ipairs(workspace:GetChildren()) do
  589. local body = v:GetChildren()
  590. for part = 1, #body do
  591. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  592. if(body[part].Position - position).Magnitude < range then
  593. if v.ClassName == "Model" then
  594. v:BreakJoints()
  595. end
  596. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  597. local bv = Instance.new("BodyVelocity")
  598. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  599. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  600. bv.Parent = body[part]
  601. Debris:AddItem(bv,0.2)
  602. end
  603. end
  604. end
  605. if v.ClassName == "Part" then
  606. if v.Anchored == false and (v.Position - position).Magnitude < range then
  607. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  608. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  609. end
  610. end
  611. end
  612. end
  613.  
  614. --//=================================\\
  615. --|| ATTACK FUNCTIONS AND STUFF
  616. --\\=================================//
  617.  
  618. function Lunar_Blast()
  619. local HITBODIES = {}
  620. local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Pearl", "CenterPart", VT(0,0,0))
  621. local HITFLOOR,ECH,NORMAL = Raycast(Mouse.Hit.p+VT(0,2,0), (CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0))).lookVector, 10000000, Character)
  622. CENTER.CFrame = CF(ECH)
  623. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Laser01", VT(25,99999,25))
  624. RAY.Color = C3(0.05,0.05,0.15)
  625. MakeForm(RAY,"Cyl")
  626. RAY.CFrame = CF(ECH)
  627. for i = 1, 75 do
  628. Swait()
  629. RAY.Transparency = RAY.Transparency - 1/75
  630. RAY.Size = RAY.Size - VT(25/75,0,25/75)
  631. MagicSphere(VT(1,1,1),15,CF(ECH)*CF(MRANDOM(-15,15),MRANDOM(0,100),MRANDOM(-15,15)),C3(1,1,1),VT(0,0,0))
  632. end
  633. killnearest(ECH,25,25)
  634. MagicSphere(VT(0,0,0),55,CF(ECH),C3(0.05,0.05,0.15),VT(2,2,2))
  635. for i = 1, 25 do
  636. MagicSphere(VT(1,1,1),i*3,CF(ECH)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(1,1,1),VT(0,0,0))
  637. end
  638. CreateSound("168586621", CENTER, 10, 0.8)
  639. RAY:remove()
  640. Debris:AddItem(CENTER,5)
  641. end
  642.  
  643. function Star_Cutter()
  644. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  645. if HITFLOOR ~= nil then
  646. ATTACK = true
  647. Rooted = true
  648. local GYRO = IT("BodyGyro",RootPart)
  649. GYRO.D = 100
  650. GYRO.P = 2000
  651. GYRO.MaxTorque = VT(0,4000000,0)
  652. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  653. CreateSound("429459101", RightArm, 10, 0.8)
  654. for i=0, 3.5, 0.1 / Animation_Speed do
  655. Swait()
  656. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  657. Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Gold",VT(-0.01,0,-0.01))
  658. 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)
  659. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  660. 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(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  661. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  662. 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)
  663. 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)
  664. end
  665. GYRO:remove()
  666. for i=0, 0.15, 0.1 / Animation_Speed do
  667. Swait()
  668. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  669. Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Gold",VT(-0.01,0,-0.01))
  670. 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(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  671. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  672. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  673. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  674. 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)
  675. 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)
  676. end
  677. local BOMBSPOTS = {}
  678. for i = 1, 25 do
  679. local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Pearl", "Blade", VT(8,1,8))
  680. SPOT.Color = SKILLTEXTCOLOR
  681. SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5)
  682. table.insert(BOMBSPOTS,SPOT)
  683. MakeForm(SPOT,"Cyl")
  684. end
  685. for i=0, 0.2, 0.1 / Animation_Speed do
  686. Swait()
  687. 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(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  688. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  689. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(145), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  690. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  691. 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)
  692. 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)
  693. end
  694. ATTACK = false
  695. Rooted = false
  696. coroutine.resume(coroutine.create(function()
  697. Swait(3)
  698. for i = 1, #BOMBSPOTS do
  699. if BOMBSPOTS[i] ~= nil then
  700. local E = BOMBSPOTS[i]
  701. coroutine.resume(coroutine.create(function()
  702. local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Pearl", "Blade", VT(0,0,0))
  703. BLADE.Color = SKILLTEXTCOLOR
  704. CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0))
  705. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6)
  706. BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15)))
  707. for i = 1, 10 do
  708. Swait()
  709. MagicSphere(VT(1,1,1)/5,65,CF(E.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0),C3(1,1,1),VT(0,0,0))
  710. killnearest(BLADE.Position,6,80)
  711. BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0)
  712. BLADE.Transparency = BLADE.Transparency - 0.1
  713. end
  714. Swait(45)
  715. for i = 1, 100 do
  716. Swait()
  717. BLADE.Transparency = BLADE.Transparency + 0.01
  718. E.Transparency = E.Transparency + 0.01
  719. end
  720. BLADE:remove()
  721. E:remove()
  722. end))
  723. end
  724. end
  725. end))
  726. end
  727. end
  728.  
  729. function Supernova()
  730. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  731. if HITFLOOR ~= nil then
  732. local HITBODIES = {}
  733. ATTACK = true
  734. Rooted = true
  735. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "Star", VT(0,0,0))
  736. MakeForm(ABSOLUTE,"Ball")
  737. CreateSound("429459101", ABSOLUTE, 10, 1)
  738. for i=0, 4, 0.1 / Animation_Speed do
  739. Swait()
  740. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2)
  741. ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0)
  742. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  743. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Gold", "Star", VT(1,1,1))
  744. MakeForm(CHARGE,"Ball")
  745. CHARGE.Color = C3(1,1,1)
  746. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15))
  747. FireArc(CHARGE,ABSOLUTE.Position,45,45,true)
  748. 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)
  749. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  750. 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)
  751. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  752. 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)
  753. 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)
  754. end
  755. CreateSound("907330103", Head, 10, 1.2)
  756. for i = 1, 75 do
  757. Swait()
  758. 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)
  759. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  760. 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)
  761. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  762. 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)
  763. 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)
  764. end
  765. coroutine.resume(coroutine.create(function()
  766. for i = 1, 13 do
  767. for e = 1, 8 do
  768. Swait()
  769. MagicSphere(VT(1,1,1),15,CF(ABSOLUTE.Position)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(1,1,1),VT(0,0,0))
  770. CreateSwirl(ABSOLUTE.Size/2,15,CF(HITPOS),true,15,BRICKC"Gold".Color,VT(i,0.3,i)*2)
  771. end
  772. for i = 1, 5 do
  773. Slice("Round",0,35,CF(ABSOLUTE.Position)*ANGLES(RAD(MRANDOM(-18,18)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-18,18))),C3(1,1,1),VT(i,0,i)/3)
  774. Slice("Thin",i,55,ABSOLUTE.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),C3(1,0,0),VT(0,0,0))
  775. end
  776. CreateSwirl(ABSOLUTE.Size/2,25,CF(ABSOLUTE.Position),true,-25,BRICKC"Gold".Color,VT(i,i*2,i))
  777. CreateSwirl(ABSOLUTE.Size/2,55,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.15),VT(i,i*2,i))
  778. CreateSound("168586621", ABSOLUTE, 4, 0.8)
  779. CreateSound("201858144", ABSOLUTE, 10, 0.8)
  780. killnearest(ABSOLUTE.Position,i*18,i)
  781. ABSOLUTE.Size = ABSOLUTE.Size*0.9
  782. MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Gold".Color,VT(i,i,i)/1.1)
  783. MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(0.05,0.05,0.15),VT(i,i,i))
  784. end
  785. ABSOLUTE.Transparency = 1
  786. Debris:AddItem(ABSOLUTE,10)
  787. end))
  788. ATTACK = false
  789. Rooted = false
  790. end
  791. end
  792.  
  793. local Decal = IT("Decal")
  794.  
  795. function Astral_Hop()
  796. ATTACK = true
  797. Rooted = false
  798. local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "Warphole", VT(0,0,0))
  799. O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(0),RAD(0))
  800. local decal = Decal:Clone()
  801. decal.Parent = O1
  802. decal.Face = "Top"
  803. decal.Texture = "http://www.roblox.com/asset/?id=349165228"
  804. local decal2 = Decal:Clone()
  805. decal2.Parent = O1
  806. decal2.Face = "Bottom"
  807. decal2.Texture = "http://www.roblox.com/asset/?id=349165228"
  808. local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "Warphole", VT(0,0,0))
  809. local POS = VT(RootPart.Position.X,Mouse.Hit.p.Y+6,RootPart.Position.Z)
  810. O2.CFrame = CF(Mouse.Hit.p+VT(0,6,0),POS)*ANGLES(RAD(90),RAD(0),RAD(0))
  811. local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Gold", "Warphole", VT(0,0,0))
  812. ROOT.CFrame = CF(O2.Position,RootPart.Position)
  813. local decal = Decal:Clone()
  814. decal.Parent = O2
  815. decal.Face = "Top"
  816. decal.Texture = "http://www.roblox.com/asset/?id=349165228"
  817. local decal2 = Decal:Clone()
  818. decal2.Parent = O2
  819. decal2.Face = "Bottom"
  820. decal2.Texture = "http://www.roblox.com/asset/?id=349165228"
  821. CreateSound("84005018", O1, 10, 0.7)
  822. CreateSound("84005018", O2, 10, 0.7)
  823. for i = 1, 75 do
  824. Swait()
  825. O1.Size = O1.Size + VT(0.1,0,0.1)
  826. O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(i),RAD(0))
  827. O2.Size = O2.Size + VT(0.1,0,0.1)
  828. O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
  829. 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)
  830. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  831. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  832. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  833. 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)
  834. 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)
  835. end
  836. Rooted = true
  837. UNANCHOR = false
  838. RootPart.Anchored = true
  839. VALUE1 = true
  840. for i = 1, 15 do
  841. Transparency(i/15)
  842. Swait()
  843. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.13)
  844. 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)
  845. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  846. 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)
  847. 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)
  848. 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)
  849. 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)
  850. end
  851. RootPart.CFrame = ROOT.CFrame
  852. ROOT:remove()
  853. for i = 1, 15 do
  854. Transparency(1-(i/15))
  855. Swait()
  856. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.5)
  857. 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)
  858. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  859. 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)
  860. 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)
  861. 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)
  862. 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)
  863. end
  864. VALUE1 = false
  865. coroutine.resume(coroutine.create(function()
  866. for i = 1, 75 do
  867. Swait()
  868. O1.Size = O1.Size - VT(0.1,0,0.1)
  869. O1.CFrame = O1.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
  870. O2.Size = O2.Size - VT(0.1,0,0.1)
  871. O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
  872. end
  873. O1:remove()
  874. O2:remove()
  875. end))
  876. UNANCHOR = true
  877. RootPart.Anchored = false
  878. ATTACK = false
  879. Rooted = false
  880. end
  881.  
  882. --//=================================\\
  883. --|| ASSIGN THINGS TO KEYS
  884. --\\=================================//
  885.  
  886. function MouseDown(Mouse)
  887. if ATTACK == false then
  888. end
  889. end
  890.  
  891. function MouseUp(Mouse)
  892. HOLD = false
  893. end
  894.  
  895. function KeyDown(Key)
  896. KEYHOLD = true
  897. if Key == "z" and ATTACK == false then
  898. Lunar_Blast()
  899. end
  900.  
  901. if Key == "b" and ATTACK == false then
  902. Star_Cutter()
  903. end
  904.  
  905. if Key == "c" and ATTACK == false then
  906. Supernova()
  907. end
  908.  
  909. if Key == "q" and ATTACK == false then
  910. Astral_Hop()
  911. end
  912. end
  913.  
  914. function KeyUp(Key)
  915. KEYHOLD = false
  916. end
  917.  
  918. Mouse.Button1Down:connect(function(NEWKEY)
  919. MouseDown(NEWKEY)
  920. end)
  921. Mouse.Button1Up:connect(function(NEWKEY)
  922. MouseUp(NEWKEY)
  923. end)
  924. Mouse.KeyDown:connect(function(NEWKEY)
  925. KeyDown(NEWKEY)
  926. end)
  927. Mouse.KeyUp:connect(function(NEWKEY)
  928. KeyUp(NEWKEY)
  929. end)
  930.  
  931. --//=================================\\
  932. --\\=================================//
  933.  
  934.  
  935. function unanchor()
  936. if UNANCHOR == true then
  937. g = Character:GetChildren()
  938. for i = 1, #g do
  939. if g[i].ClassName == "Part" then
  940. g[i].Anchored = false
  941. end
  942. end
  943. end
  944. end
  945.  
  946.  
  947. --//=================================\\
  948. --|| WRAP THE WHOLE SCRIPT UP
  949. --\\=================================//
  950.  
  951. Humanoid.Changed:connect(function(Jump)
  952. if Jump == "Jump" and (Disable_Jump == true) then
  953. Humanoid.Jump = false
  954. end
  955. end)
  956.  
  957. Humanoid.HipHeight = 2
  958. Head:ClearAllChildren()
  959. local FF = IT("ForceField",Character)
  960. FF.Visible = false
  961. Speed = 35
  962.  
  963. function refit()
  964. RootJoint.Parent = RootPart
  965. Neck.Parent = Torso
  966. RightShoulder.Parent = Torso
  967. LeftShoulder.Parent = Torso
  968. RightHip.Parent = Torso
  969. LeftHip.Parent = Torso
  970. RootPart.Parent = Character
  971. LeftArm.Parent = Character
  972. RightArm.Parent = Character
  973. RightLeg.Parent = Character
  974. LeftLeg.Parent = Character
  975. Torso.Parent = Character
  976. Head.Parent = Character
  977. end
  978.  
  979. local FOUNDFORGOTTEN = false
  980.  
  981. while true do
  982. Swait()
  983. ANIMATE.Parent = nil
  984. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  985. IDLEANIMATION:Play()
  986. SINE = SINE + CHANGE
  987. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  988. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  989. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  990. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  991. if ATTACK == false then
  992. if TORSOVELOCITY < 1 then
  993. 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)
  994. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  995. 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)
  996. 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)
  997. 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)
  998. 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)
  999. elseif TORSOVELOCITY > 1 then
  1000. 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)
  1001. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1002. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1003. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1004. 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)
  1005. 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)
  1006. end
  1007. end
  1008. unanchor()
  1009. Humanoid.MaxHealth = "inf"
  1010. Humanoid.Health = "inf"
  1011. if Rooted == false then
  1012. Disable_Jump = false
  1013. Humanoid.WalkSpeed = Speed
  1014. elseif Rooted == true then
  1015. Disable_Jump = true
  1016. Humanoid.WalkSpeed = 0
  1017. end
  1018. for _, c in pairs(Character:GetChildren()) do
  1019. if c.ClassName == "Part" then
  1020. c.Material = "Neon"
  1021. if c:FindFirstChildOfClass("ParticleEmitter") then
  1022. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1023. end
  1024. if c == Torso then
  1025. c.Color = C3(0,0,0)
  1026. elseif c == RightArm then
  1027. c.Color = C3(0.05,0.05,0.15)
  1028. elseif c == LeftArm then
  1029. c.Color = C3(0.05,0.05,0.15)
  1030. elseif c == RightLeg then
  1031. c.Color = C3(0,0,0.05)
  1032. elseif c == LeftLeg then
  1033. c.Color = C3(0,0,0.05)
  1034. elseif c == Head then
  1035. if c:FindFirstChild("Dominus") == nil then
  1036. local M = CreateMesh("SpecialMesh", c, "FileMesh", "138932314", VT(1,1,1)*1.1, VT(0,0,0))
  1037. M.Name = "Dominus"
  1038. end
  1039. if c:FindFirstChild("face") then
  1040. c.face:remove()
  1041. end
  1042. end
  1043. elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1044. c:remove()
  1045. end
  1046. end
  1047. FF.Parent = Character
  1048. sick.Parent = Character
  1049. refit()
  1050. script.Parent = WEAPONGUI
  1051. Character.Parent = workspace
  1052. Humanoid.PlatformStand = false
  1053. Humanoid.Name = "Astra"
  1054. for _, c in pairs(game.Players:GetChildren()) do
  1055. if c.Character ~= nil then
  1056. if c.Character.Parent ~= workspace and c.Character.Parent ~= nil then
  1057. c.Character:BreakJoints()
  1058. end
  1059. end
  1060. end
  1061. FOUNDFORGOTTEN = false
  1062. Humanoid.DisplayDistanceType = "None"
  1063. for _, c in pairs(workspace:GetChildren()) do
  1064. if c.ClassName == "Model" then
  1065. for _, q in pairs(c:GetChildren()) do
  1066. if q.Name == ("Forgotten Dominus") then
  1067. FOUNDFORGOTTEN = true
  1068. end
  1069. end
  1070. end
  1071. end
  1072. if FOUNDFORGOTTEN == true then
  1073. sick:Stop()
  1074. else
  1075. sick.Playing = true
  1076. end
  1077. if VALUE1 == false then
  1078. MagicSphere(VT(1,1,1)/5,35,CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0),C3(1,1,1),VT(0,0,0))
  1079. end
  1080. end
  1081.  
  1082. --//=================================\\
  1083. --\\=================================//
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089. --//====================================================\\--
  1090. --|| END OF SCRIPT
  1091. --\\====================================================//--
Add Comment
Please, Sign In to add comment