Awooslayer699

anime

Jan 8th, 2019
1,363
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.35 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. -- Created by Nebula_Zorua. Credit to Shack for the idea --
  88. -- Dominus Corona Australis --
  89. -- Nos viles. --
  90. -- Nos mos probabiliter ut oblivioni tradatur C annis. --
  91. -- So cur nos efficere conatur mutare mundi? --
  92. -- Et sic ducunt ad nihil. --
  93. -- Discord: Nebula the Zorua#6969
  94. -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
  95.  
  96. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  97.  
  98. local plr = owner
  99. local char = plr.Character
  100. local PlayerGUI = plr:FindFirstChildOfClass'PlayerGui'
  101. local hum = char:FindFirstChildOfClass'Humanoid'
  102. local rarm = char["Right Arm"]
  103. local larm= char["Left Arm"]
  104. local rleg= char["Right Leg"]
  105. local lleg = char["Left Leg"]
  106. local root = char:FindFirstChild'HumanoidRootPart'
  107. local torso = char.Torso
  108. local head = char.Head
  109. local runService = S.RunService
  110. local blackholeActive = false
  111. local PaintBody = BrickColor.new'Navy blue'
  112. hum.DisplayDistanceType = "None"
  113. hum.Name = "CoronaAustralis"
  114. local Taunts = {
  115. 907329893,
  116. 907330103,
  117. 907332856,
  118. 907329532,
  119. 907333294
  120. }
  121. local I = Instance.new;
  122. local CN = CFrame.new;
  123. local V3 = Vector3.new;
  124. local CA = CFrame.Angles;
  125. local UD2 = UDim2.new;
  126. local C3 = Color3.new;
  127. local COS = math.cos;
  128. local SIN = math.sin;
  129. local RAD = math.rad;
  130. local FLOOR = math.floor;
  131. local RANDOM = math.random;
  132. local R3 = Region3.new;
  133.  
  134. local WEAPONGUI = I("ScreenGui", PlayerGUI)
  135. WEAPONGUI.Name = "Weapon GUI"
  136. local SKILLTEXTCOLOR = C3(0.05,0.05,0.15)
  137.  
  138. -- // FUNCTIONS \\ --
  139. function SOUND(id,parent,pitch,volume,looped)
  140. local SOUND = I("Sound")
  141. SOUND.SoundId = id;
  142. SOUND.Parent = parent or torso
  143. SOUND.Pitch = pitch or 1
  144. SOUND.Looped = looped or false
  145. SOUND.Volume = volume or 1
  146. return SOUND;
  147. end
  148.  
  149.  
  150. function FRAME(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  151. local frame = I("Frame")
  152. frame.BackgroundTransparency = TRANSPARENCY
  153. frame.BorderSizePixel = BORDERSIZEPIXEL
  154. frame.Position = POSITION
  155. frame.Size = SIZE
  156. frame.BackgroundColor3 = COLOR
  157. frame.BorderColor3 = BORDERCOLOR
  158. frame.Name = NAME
  159. frame.Parent = PARENT
  160. return frame
  161. end
  162.  
  163. function LABEL(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  164. local label = I("TextLabel")
  165. label.BackgroundTransparency = 1
  166. label.Size = UD2(1, 0, 1, 0)
  167. label.Position = UD2(0, 0, 0, 0)
  168. label.TextColor3 = TEXTCOLOR
  169. label.TextStrokeTransparency = STROKETRANSPARENCY
  170. label.TextTransparency = TRANSPARENCY
  171. label.FontSize = TEXTFONTSIZE
  172. label.Font = TEXTFONT
  173. label.BorderSizePixel = BORDERSIZEPIXEL
  174. label.TextScaled = false
  175. label.Text = TEXT
  176. label.Name = NAME
  177. label.Parent = PARENT
  178. return label
  179. end
  180.  
  181. function FX(id,parent,pitch,volume)
  182. return coroutine.wrap(function()
  183. local FX = SOUND(id,parent,pitch,volume)
  184. FX:Play()
  185. repeat wait() until FX.IsLoaded
  186. S.Debris:AddItem(FX,FX.TimeLength+1)
  187. end)()
  188.  
  189. end
  190.  
  191. function WELDBETWEEN(a, b)
  192. local weldd = Instance.new("ManualWeld")
  193. weldd.Part0 = a
  194. weldd.Part1 = b
  195. weldd.C0 = CFrame.new()
  196. weldd.C1 = b.CFrame:inverse() * a.CFrame
  197. weldd.Parent = a
  198. return weldd
  199. end
  200.  
  201. function POINTATCELESTIALBODY(body)
  202. assert(body == 'Sun' or body == 'Moon',"Celestial body has to be Sun or Moon!")
  203. if(body == 'Sun')then
  204. return CFrame.new(Vector3.new(),game:service'Lighting':GetSunDirection())
  205. elseif(body == 'Moon')then
  206. return CFrame.new(Vector3.new(),game:service'Lighting':GetMoonDirection())
  207. end
  208. end
  209. function IT(instance,parent,properties)
  210. local inst = I(instance)
  211. for i,v in next, properties do
  212. pcall(function() inst[v[1]] = v[2] end)
  213. end
  214. inst.Parent = parent
  215. return inst
  216. end
  217. function WELD(type,parent,part0,part1,c0,c1)
  218. local WELD = Instance.new(type,parent)
  219. WELD.Part0 = part0
  220. WELD.Part1 = part1
  221. WELD.C0 = c0 or CN()
  222. WELD.C1 = c1 or CN()
  223. return WELD
  224. end
  225.  
  226. function PART(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  227. local NEWPART = IT("Part",PARENT,{})
  228. NEWPART.formFactor = FORMFACTOR
  229. NEWPART.Reflectance = REFLECTANCE
  230. NEWPART.Transparency = TRANSPARENCY
  231. NEWPART.CanCollide = false
  232. NEWPART.Locked = true
  233. NEWPART.Anchored = true
  234. if ANCHOR == false then
  235. NEWPART.Anchored = false
  236. end
  237. NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
  238. NEWPART.Name = NAME
  239. NEWPART.Size = SIZE
  240. NEWPART.Position = torso.CFrame.p
  241. NEWPART.Material = MATERIAL
  242. NEWPART:BreakJoints()
  243. return NEWPART
  244. end
  245.  
  246. function CLEARCHILDRENWITHCLASS(where,class,recursive)
  247. local children = (recursive and where:GetDescendants() or where:GetChildren())
  248. for _,v in next, children do
  249. if(v:IsA(class))then
  250. v:destroy()
  251. end
  252. end
  253. end
  254.  
  255. function ISANIMPLAYING(humanoid,animation)
  256. for _,v in next, humanoid:GetPlayingAnimationTracks() do
  257. if(v.Animation == animation)then
  258. return true
  259. end
  260. end
  261. return false
  262. end
  263.  
  264. function GETREGION(point,range,ignore)
  265. return workspace:FindPartsInRegion3WithIgnoreList(R3(point-V3(1,1,1)*range/2,point+V3(1,1,1)*range/2),ignore,250)
  266. end
  267.  
  268.  
  269. function Fragment(part,fragSize,startPos,endPos)
  270. if part then
  271. local dir = (startPos - endPos).unit
  272. -- gatekeeper fragmentation
  273. if not part:IsA("Terrain") then
  274. pcall(part.BreakJoints, part)
  275. local is_block = part:IsA("Part") and part.Shape == Enum.PartType.Block
  276. local mass = part:GetMass()
  277. local size = part.Size
  278. if (is_block and ((size.X < fragSize and size.Y < fragSize and size.Z < fragSize))) then
  279. local part_transparency = math.max(part.Transparency + 0.007 * fragSize, 0.5)
  280. if part_transparency >= 0.5 then
  281. pcall(game.Destroy, part)
  282. else
  283. local cframe = part.CFrame
  284. part.Anchored = false
  285. part.BrickColor = BrickColor.new("Medium stone grey")
  286. part.CanCollide = true
  287. part.Size = size - Vector3.new(0.135, 0.135, 0.135) * fragSize
  288. part.Transparency = part_transparency
  289. part.CFrame = cframe + dir * 5
  290. part.Velocity = part.Velocity + dir * 40
  291. end
  292. elseif is_block then
  293. local parts = {part}
  294. local model = Instance.new("Model", part.Parent)
  295. model.Name = "Fragments"
  296. if size.X >= fragSize then
  297. size = Vector3.new(0.5, 1, 1) * size
  298. local archivable = part.Archivable
  299. local cframe = part.CFrame
  300. part.FormFactor = "Custom"
  301. part.Size = size
  302. part.Archivable = true
  303. local part_clone = part:Clone()
  304. part.Archivable = archivable
  305. part_clone.Archivable = archivable
  306. part.CFrame = cframe * CFrame.new(-0.5 * size.X, 0, 0)
  307. part_clone.CFrame = cframe * CFrame.new(0.5 * size.X, 0, 0)
  308. part_clone.Parent = model
  309. parts[2] = part_clone
  310. end
  311. if size.Y >= fragSize then
  312. size = Vector3.new(1, 0.5, 1) * size
  313. for part_index = 1, #parts do
  314. local part = parts[part_index]
  315. local archivable = part.Archivable
  316. local cframe = part.CFrame
  317. part.FormFactor = "Custom"
  318. part.Size = size
  319. part.Archivable = true
  320. local part_clone = part:Clone()
  321. part.Archivable = archivable
  322. part_clone.Archivable = archivable
  323. part.CFrame = cframe * CFrame.new(0, -0.5 * size.Y, 0)
  324. part_clone.CFrame = cframe * CFrame.new(0, 0.5 * size.Y, 0)
  325. part_clone.Parent = model
  326. table.insert(parts, part_clone)
  327. end
  328. end
  329. if size.Z >= fragSize then
  330. size = Vector3.new(1, 1, 0.5) * size
  331. for part_index = 1, #parts do
  332. local part = parts[part_index]
  333. local archivable = part.Archivable
  334. local cframe = part.CFrame
  335. part.FormFactor = "Custom"
  336. part.Size = size
  337. part.Archivable = true
  338. local part_clone = part:Clone()
  339. part.Archivable = archivable
  340. part_clone.Archivable = archivable
  341. part.CFrame = cframe * CFrame.new(0, 0, -0.5 * size.Z)
  342. part_clone.CFrame = cframe * CFrame.new(0, 0, 0.5 * size.Z)
  343. part_clone.Parent = model
  344. table.insert(parts, part_clone)
  345. end
  346. end
  347. for _, part in ipairs(parts) do
  348. part:MakeJoints()
  349. end
  350. else
  351. return false
  352. end
  353. end
  354. end
  355. return true
  356. end
  357.  
  358. local music = SOUND("rbxassetid://168448384",torso,1,1,true)
  359. music.MaxDistance = 150
  360. music:Play()
  361.  
  362. -- // CUSTOMIZATION \\ --
  363.  
  364. local Player_Size = 1
  365. local Animation_Speed = 3
  366. local Frame_Speed = 1 / 60
  367.  
  368. local Speed = 35
  369.  
  370. -- // WELDS \\ --
  371.  
  372. local LS = WELD('Motor',torso,torso,larm,CN(-1.5 * Player_Size,0.5 * Player_Size,0),CN(0,.5 * Player_Size,0))
  373. local RS = WELD('Motor',torso,torso,rarm,CN(1.5 * Player_Size,0.5 * Player_Size,0),CN(0,.5 * Player_Size,0))
  374. local NK = WELD('Motor',torso,torso,head,CN(0,1.5,0))
  375. local LH = WELD('Motor',torso,torso,lleg,CN(-.5 * Player_Size,-1 * Player_Size,0),CN(0,1 * Player_Size,0))
  376. local RH = WELD('Motor',torso,torso,rleg,CN(.5 * Player_Size,-1 * Player_Size,0),CN(0,1 * Player_Size,0))
  377. local RJ = WELD('Motor',root,root,torso)
  378.  
  379. -- // MISC \\ --
  380. pcall(game.Destroy,char:FindFirstChild'Animate')
  381. pcall(game.Destroy,hum:FindFirstChild'Animator')
  382. local EFFECTS = IT("Folder",char,{{"Name","Effects"}})
  383. local ANIM = "Idle"
  384. local TPOSE = false
  385. local NEUTRAL_ANIMS = true
  386. local ROOTED = false
  387. local ATTACK = false
  388. local SINE = 0
  389. local CHANGE = 2 / Animation_Speed
  390. local LSC0 = LS.C0
  391. local RSC0 = RS.C0
  392. local NKC0 = NK.C0
  393. local LHC0 = LH.C0
  394. local RHC0 = RH.C0
  395. local RJC0 = RJ.C0
  396. local FLOATING = {}
  397. -- // ARTIFICIAL HB \\ --
  398. local ArtificialHB = IT("BindableEvent", script,{{"Name","ArtificialHB"}})
  399.  
  400. script:WaitForChild("ArtificialHB")
  401.  
  402. local frame = Frame_Speed
  403. local tf = 0
  404. local allowframeloss = false
  405. local tossremainder = false
  406. local lastframe = tick()
  407. script.ArtificialHB:Fire()
  408.  
  409. game:GetService("RunService").Heartbeat:connect(function(s, p)
  410. tf = tf + s
  411. if tf >= frame then
  412. if allowframeloss then
  413. script.ArtificialHB:Fire()
  414. lastframe = tick()
  415. else
  416. for i = 1, math.floor(tf / frame) do
  417. script.ArtificialHB:Fire()
  418. end
  419. lastframe = tick()
  420. end
  421. if tossremainder then
  422. tf = 0
  423. else
  424. tf = tf - frame * math.floor(tf / frame)
  425. end
  426. end
  427. end)
  428.  
  429. -- // MORE FUNCTIONS \\ --
  430. function swait(NUMBER)
  431. if NUMBER == 0 or NUMBER == nil then
  432. ArtificialHB.Event:wait()
  433. else
  434. for i = 1, NUMBER do
  435. ArtificialHB.Event:wait()
  436. end
  437. end
  438. end
  439.  
  440.  
  441. function HigherCelestialBody()
  442. return (game:service'Lighting':GetMoonDirection().y >= game:service'Lighting':GetSunDirection().y and 'Moon' or 'Sun')
  443. end
  444.  
  445. function Shatter(v)
  446. --PART(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  447. local STORE = IT("Folder",v.Parent,{{"Name","ShardStore"}})
  448. local size = v.Size.x + v.Size.y + v.Size.z
  449. local sizeset = size/4
  450. local Offset = V3(v.Size.x*1.5/sizeset,v.Size.y*1.5/sizeset,v.Size.z*1.5/sizeset)
  451. for x = 1, math.ceil(Offset.x) do
  452. for y = 1, math.ceil(Offset.y) do
  453. for z = 1, math.ceil(Offset.z) do
  454. local shard = PART(3,STORE,v.Material,v.Reflectance,v.Transparency,v.BrickColor,v.Name.." Shard",V3(size,size,size)/10,v.Anchored)
  455. shard.CanCollide = true
  456. shard.CFrame = v.CFrame*CN((v.Size.x/2-v.Size.x/4),(v.Size.y/2-v.Size.y/4),(v.Size.z/2-v.Size.z/4))
  457. shard.Velocity = V3(RANDOM(-15,15),RANDOM(-15,15),RANDOM(-15,15))*2
  458. for _,c in next, v:children() do
  459. if(c:IsA'ParticleEmitter' or v:IsA'Sparkles' or v:IsA'Smoke' or v:IsA'PointLight' or v:IsA'Fire' or v:IsA'SpotLight' or v:IsA'SurfaceLight')then
  460. local oArc = c.Archivable
  461. c.Archivable = true
  462. local clone = c:Clone()
  463. clone.Parent = shard
  464. clone.Archivable = oArc
  465. end
  466. end
  467. end
  468. end
  469. end
  470. v:Destroy()
  471. end
  472.  
  473. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR) -- thanks shack BB
  474. local STATPART = PART(3, EFFECTS, "SmoothPlastic", 0, 1, "Really black", "Effect", V3())
  475. STATPART.CFrame = CN(CFRAME.p + V3(0, 1.5, 0))
  476. local BODYGYRO = IT("BodyGyro", STATPART,{})
  477. local BODYPOSITION = IT("BodyPosition", STATPART,{})
  478. BODYPOSITION.P = 2000
  479. BODYPOSITION.D = 100
  480. BODYPOSITION.maxForce = V3(math.huge, math.huge, math.huge)
  481. if LABELTYPE == "Normal" then
  482. BODYPOSITION.position = STATPART.Position + V3(RANDOM(-2, 2), 6, RANDOM(-2, 2))
  483. elseif LABELTYPE == "Debuff" then
  484. BODYPOSITION.position = STATPART.Position + V3(RANDOM(-2, 2), 8, RANDOM(-2, 2))
  485. elseif LABELTYPE == "Interruption" then
  486. BODYPOSITION.position = STATPART.Position + V3(RANDOM(-2,2), 8, RANDOM(-2, 2))
  487. end
  488. game:GetService("Debris"):AddItem(STATPART ,5)
  489. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  490. BILLBOARDGUI.Adornee = STATPART
  491. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  492. BILLBOARDGUI.StudsOffset = V3(-2, 2, 0)
  493. BILLBOARDGUI.AlwaysOnTop = false
  494. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  495. TEXTLABEL.BackgroundTransparency = 1
  496. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  497. TEXTLABEL.Text = TEXT
  498. TEXTLABEL.Font = "SciFi"
  499. TEXTLABEL.FontSize="Size42"
  500. TEXTLABEL.TextColor3 = COLOR
  501. TEXTLABEL.TextStrokeTransparency = 1
  502. TEXTLABEL.TextScaled = true
  503. TEXTLABEL.TextWrapped = true
  504. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  505. wait(0.2)
  506. for i=1, 5 do
  507. wait()
  508. THEBODYPOSITION.Position = THEPART.Position - V3(0, 0.5 ,0)
  509. end
  510. wait(1.2)
  511. for i=1, 5 do
  512. wait()
  513. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  514. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  515. THEBODYPOSITION.position = THEPART.Position + V3(0, 0.5, 0)
  516. end
  517. THEPART.Parent = nil
  518. end),STATPART, BODYPOSITION, TEXTLABEL)
  519. end
  520.  
  521.  
  522. function AoEDAMAGE(pos,rad,min,max,avoidbyjump,critRate,critMult,kill)
  523. local dmg = RANDOM(min,max)
  524. local R3 = GETREGION(pos,rad,{char})
  525. local Hit = {}
  526. for _,v in next, R3 do
  527. local h = (v and v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  528. if(h and not Hit[h])then
  529. Hit[h] = true
  530. if(v.Parent:FindFirstChild'Head' and v.Parent.Head:IsA'BasePart')then
  531. local hed = v.Parent.Head
  532. local crit = RANDOM(1,100)
  533. local dmgText = (crit <= critRate and "☆ - "..dmg*critMult or " - "..dmg)
  534.  
  535. if(kill)then
  536. dmgText = "INSTANT"
  537. v.Parent:breakJoints()
  538. end
  539. if(not avoidbyjump or hed.CFrame.y <= pos.y+3)then
  540. if(crit <= critRate)then
  541. --dmg*critMult
  542. h.Health = h.Health - dmg*critMult
  543. else
  544. h.Health = h.Health - dmg
  545. end
  546. StatLabel('Normal',hed.CFrame * CN(0, 0 + hed.Size.z - 1, 0),dmgText,(dmgText:find"☆" and BrickColor.new'New Yeller' or dmgText == "INSTANT" and BrickColor.new'Really red' or BrickColor.new'Navy blue').Color)
  547. end
  548. end
  549. end
  550. end
  551. end
  552.  
  553. function getMouseDir()
  554. return {CN(root.Position, Vector3.new(mouse.Hit.p.x,root.Position.y,mouse.Hit.p.z))}
  555. end
  556.  
  557. function newBezier(startpos, pos2, pos3, endpos, t)
  558. local A = startpos:lerp(pos2, t)
  559. local B =pos2:lerp(pos3, t)
  560. local C = pos3:lerp(endpos, t)
  561. local lerp1 = A:lerp(B, t)
  562. local lerp2 = B:lerp(C, t)
  563. local cubic = lerp1:lerp(lerp2, t)
  564. return cubic
  565. end
  566.  
  567. function PARTANDMESH(parent,brickcolor,material,anchored,cancollide,locked,size,cframe,meshid,textureid,scale,partProps,meshProps)
  568. local part = IT("Part",parent or EFFECTS,{{"TopSurface",10},{"BottomSurface",10},{"BrickColor",brickcolor},{"Anchored",anchored},{"CanCollide",cancollide},{"Locked",locked},{"Material",material}, {"Size",size},{"CFrame",cframe}})
  569. local mesh = IT("SpecialMesh",part,{{"MeshId",meshid},{"TextureId",textureid},{"Scale",scale}})
  570. for i,v in next, partProps do
  571. pcall(function() part[i] = v end)
  572. end
  573. for i,v in next, meshProps do
  574. pcall(function() mesh[i] = v end)
  575. end
  576. return part,mesh
  577. end
  578.  
  579. -- // MODEL, ETC \\ --
  580. CLEARCHILDRENWITHCLASS(char,"BodyColors",true)
  581.  
  582. local SKILL1FRAME = FRAME(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")
  583. local SKILL2FRAME = FRAME(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")
  584. local SKILL3FRAME = FRAME(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")
  585.  
  586. local SKILL1TEXT = LABEL(SKILL1FRAME, "[Z] Celestial Beam", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 1")
  587. local SKILL2TEXT = LABEL(SKILL2FRAME, "[X] Meteor Crush", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 2")
  588. local SKILL3TEXT = LABEL(SKILL3FRAME, "[V] Supernova", SKILLTEXTCOLOR, 10, "Fantasy", 0, 2, 0, "Text 3")
  589.  
  590. for _,v in next, char:children() do
  591. if(v:IsA'BasePart')then
  592. local BF = I("BodyForce",v)
  593. end
  594. end
  595.  
  596.  
  597. torso.Color = C3(0,0,0)
  598. rarm.BrickColor = BrickColor.new'Navy blue'
  599. larm.BrickColor = BrickColor.new'Navy blue'
  600. rleg.Color = Color3.fromRGB(0,19,57)
  601. lleg.Color = Color3.fromRGB(0,19,57)
  602. hum.HipHeight = 2
  603. for _,v in next, char:GetDescendants() do
  604. if(v:IsA'BasePart')then
  605. v.Material = Enum.Material.Neon
  606. end
  607. end
  608. local Dominus = IT("SpecialMesh",head,{{"MeshId","http://www.roblox.com/asset/?id=21057410"},{"Scale",V3(1.1,1.1,1.1)},{"TextureId","http://www.roblox.com/asset/?id=278072540"}})
  609. --[[local ZeroGravityField = IT("Part",char,{
  610. {"Transparency",0.85},
  611. {"BrickColor",BrickColor.new"White"},
  612. {"Size",V3(1,1,1)},
  613. {"TopSurface",10},
  614. {"BottomSurface",10},
  615. {"Material",Enum.Material.Neon},
  616. {"CFrame",torso.CFrame},
  617. {"Anchored",false},
  618. {"CanCollide",false},
  619. {"Locked",true},
  620. {"Archivable",false}
  621. }
  622. )
  623. local ZeroGravityWeld = WELD("Weld",torso,torso,ZeroGravityField)
  624. local ZeroGravityMesh = IT("SpecialMesh",ZeroGravityField,{{"Scale",V3(30,30,30)},{"MeshType",Enum.MeshType.Sphere}})]]
  625. CLEARCHILDRENWITHCLASS(char,"Clothing")
  626. CLEARCHILDRENWITHCLASS(char,"Accoutrement")
  627. CLEARCHILDRENWITHCLASS(char,"Decal",true)
  628.  
  629. -- // ANTI DEATH \\ --
  630. local FF = I("ForceField",char)
  631. FF.Visible = false
  632. function refit()
  633. RJ.Parent = root
  634. NK.Parent = torso
  635. RS.Parent = torso
  636. LS.Parent = torso
  637. RH.Parent = torso
  638. LH.Parent = torso
  639. --ZeroGravityField.Parent = char
  640. root.Parent = char
  641. larm.Parent = char
  642. rarm.Parent = char
  643. rleg.Parent = char
  644. lleg.Parent = char
  645. torso.Parent = char
  646. head.Parent = char
  647. --ZeroGravityWeld.Parent = char
  648. end
  649.  
  650. -- // ATTACK FUNCTIONS/ETC \\ --
  651.  
  652. function Taunt()
  653. local id = Taunts[RANDOM(1,#Taunts)]
  654. local taunt = SOUND("rbxassetid://"..id,head,1,5)
  655. taunt.MaxDistance = 150
  656. taunt:Play()
  657. repeat swait() until not taunt.Playing
  658. taunt:Destroy()
  659. end
  660.  
  661. function CelestialLazor()
  662. local target = mouse.Hit
  663. local beam = I("Part",EFFECTS)
  664. beam.TopSurface,beam.BottomSurface,beam.Size,beam.Anchored,beam.CanCollide,beam.Archivable = 10,10,Vector3.new(1,1,1),true,false,false
  665. beam.Material,beam.BrickColor = Enum.Material.Glass,BrickColor.new'Navy blue'
  666.  
  667. local kthx = IT("Part",nil,{
  668. {'Transparency',1},{'CanCollide',false},{'Anchored',true},{'Position',target.p}
  669. })
  670. local high = HigherCelestialBody()
  671. local look = CN(V3(),game:service'Lighting':GetSunDirection())
  672. if(high == 'Moon')then
  673. look = CN(V3(),game:service'Lighting':GetMoonDirection())
  674. end
  675. root.CFrame = getMouseDir()[1]
  676. local mesh = I("BlockMesh",beam)
  677. mesh.Scale = V3(5,5,1e4)
  678. for i = 5, 0, -.15 do
  679.  
  680. local circle = PARTANDMESH(EFFECTS,BrickColor.new'White',"Neon",true,false,true,V3(1,1,1),CN(kthx.Position) * look * CA(RAD(90),0,0) * CN(0,-RANDOM(5,175),0)* CA(RAD(RANDOM(-360,360)),RAD(RANDOM(-360,360)),RAD(RANDOM(-360,360))) * CN(0,0,RANDOM(5,15)),"","",V3(1,1,1),{Transparency = .5},{MeshType=Enum.MeshType.Sphere})
  681. game:service'Debris':AddItem(circle,.25)
  682. beam.CFrame = CN(kthx.Position) * look * CN(0,0,-4970)
  683. mesh.Scale = Vector3.new(i,i,1e4)
  684. beam.Transparency = beam.Transparency + 0.035
  685. swait()
  686. end
  687. beam:destroy()
  688. local explosion,explosionMesh = PARTANDMESH(EFFECTS,BrickColor.new'Navy blue',"Neon",true,false,true,V3(1,1,1),target,"","",V3(20,20,20),{},{MeshType=Enum.MeshType.Sphere})
  689. AoEDAMAGE(explosion.CFrame.p,25,1e25,1e25,false,100,2,true)
  690. for trans = 0, 1, .15 do
  691.  
  692. explosion.Transparency = trans
  693. explosionMesh.Scale = explosionMesh.Scale + V3(2,2,2)
  694. swait()
  695. end
  696. explosion:destroy()
  697. end
  698. function AsteroidCrusher()
  699. if(mouse.Target)then
  700. ATTACK = true
  701. ROOTED = true
  702. local TRACKING = true
  703. local target = PARTANDMESH(EFFECTS,BrickColor.new'Really red',"Neon",true,false,true,V3(.05,25,25),CN(mouse.Hit.p)*CA(0,0,-math.pi/2),"","",V3(1,1,1),{Transparency = .5},{MeshType=Enum.MeshType.Cylinder})
  704. local down;
  705. local targetCF = CN(mouse.Hit.p)*CA(0,0,-math.pi/2);
  706. down = mouse.Button1Down:connect(function()
  707. down:disconnect()
  708. TRACKING = false
  709. end)
  710.  
  711. repeat swait()
  712. root.CFrame = getMouseDir()[1]
  713. if(mouse.Target)then
  714. target.CFrame = CN(mouse.Hit.p)*CA(0,0,-math.pi/2)
  715. end
  716. until not TRACKING
  717. NEUTRAL_ANIMS = false
  718.  
  719. target:Destroy()
  720. for i = 0, 2, .1/Animation_Speed do
  721. RJ.C0 = RJ.C0:lerp(CA(0,RAD(75),0)*CN(0,0+.25*COS(SINE / 12),0)*CA(-RAD(2+3*SIN(SINE / 12)),0,0),.3/Animation_Speed)
  722. NK.C0 = NK.C0:lerp(NKC0*CA(RAD(-14+7*COS(SINE/12)),0,RAD(-2-3*COS(SINE/12)))*CA(0,RAD(-75),0),.3/Animation_Speed)
  723. RS.C0 = RS.C0:lerp(RSC0*CN(0,0+.25*COS(SINE / 12),0)*CA(0,0,RAD(10+5*SIN(SINE / 12)))*CN(-.25,.1,0)*CA(0,0,RAD(125)),.3/Animation_Speed)
  724. LS.C0 = LS.C0:lerp(LSC0*CN(0,0+.25*COS(SINE / 12),0)*CA(0,0,-RAD(10+5*SIN(SINE / 12)))*CA(0,RAD(35),0),.3/Animation_Speed)
  725. RH.C0 = RH.C0:lerp(RHC0*CN(0,0+.25*COS(SINE / 12),0)*CA(0,0,RAD(10+5*SIN(SINE / 12))),.3 / Animation_Speed)
  726. LH.C0 = LH.C0:lerp(LHC0*CN(.1,.5,-.5)*CN(0,0+.25*COS(SINE / 12),0)*CA(RAD(10),0,-RAD(10+5*SIN(SINE / 12))),.3 / Animation_Speed)
  727. swait()
  728. end
  729. for i = 0, .45, .1/Animation_Speed do
  730. RJ.C0 = RJ.C0:lerp(CA(0,RAD(75),0)*CN(0,0+.25*COS(SINE / 12),0)*CA(-RAD(2+3*SIN(SINE / 12)),0,0),.3/Animation_Speed)
  731. NK.C0 = NK.C0:lerp(NKC0*CA(RAD(-14+7*COS(SINE/12)),0,RAD(-2-3*COS(SINE/12)))*CA(0,RAD(-75),0),.3/Animation_Speed)
  732. RS.C0 = RS.C0:lerp(RSC0*CN(0,0+.25*COS(SINE / 12),0)*CA(0,0,RAD(10+5*SIN(SINE / 12)))*CN(-.25,.3,0)*CA(0,0,RAD(180)),.7/Animation_Speed)
  733. LS.C0 = LS.C0:lerp(LSC0*CN(0,0+.25*COS(SINE / 12),0)*CA(0,0,-RAD(10+5*SIN(SINE / 12)))*CA(0,RAD(35),0),.7/Animation_Speed)
  734. RH.C0 = RH.C0:lerp(RHC0*CN(0,0+.25*COS(SINE / 12),0)*CA(0,0,RAD(10+5*SIN(SINE / 12))),.3 / Animation_Speed)
  735. LH.C0 = LH.C0:lerp(LHC0*CN(.1,.5,-.5)*CN(0,0+.25*COS(SINE / 12),0)*CA(RAD(10),0,-RAD(10+5*SIN(SINE / 12))),.3 / Animation_Speed)
  736. swait()
  737. end
  738.  
  739. local asteroid,asteroidMesh = PARTANDMESH(EFFECTS,BrickColor.new'Dark stone grey',"Granite",false,false,true,V3(target.Size.y,target.Size.y,target.Size.z),CN(target.CFrame.p)*CN(0,500,0),"","",V3(1,1,1),{},{})
  740. asteroidMesh.MeshType=Enum.MeshType.Sphere
  741. local fat = Instance.new("BodyPosition",asteroid)
  742. fat.position = target.CFrame.p
  743. fat.D = 500
  744. fat.P = 10000
  745. fat.maxForce = V3(math.huge,math.huge,math.huge)
  746. coroutine.wrap(function()
  747. repeat swait()
  748. for _,v in next, GETREGION(asteroid.CFrame.p,asteroid.Size.x+2,{char}) do
  749. if(v:IsA'BasePart' and not v:IsDescendantOf(char) and v.Name ~= 'Base' and (v.Parent and v.Parent.Name ~= 'ShardStore' or true))then
  750. if(not v.Parent or v.Parent:FindFirstChildOfClass'Humanoid' and not v.Parent:IsA'Accoutrement')then
  751. --if(not Fragment(part,fragSize,originPos,pos))then break end
  752. local size = v.Size
  753. local fragSize = 1.25
  754. Fragment(v,fragSize,(CN(target.CFrame.p) * CN(0,250,0)).p,target.CFrame.p)
  755. else
  756. Shatter(v)
  757. swait(1)
  758. end
  759. end
  760. end
  761. until (asteroid.CFrame.p-target.CFrame.p).magnitude <= 4
  762. local effect = PARTANDMESH(EFFECTS,BrickColor.new'Really red',"Neon",true,false,true,target.Size,target.CFrame,"","",V3(1,1,1),{},{MeshType=Enum.MeshType.Cylinder})
  763. fat:destroy()
  764. asteroid.Anchored = true
  765. coroutine.wrap(function()
  766. for i = 0, 1, .05 do
  767. effect.Size = effect.Size + V3(.2,.2,.2)
  768. asteroid.Size = asteroid.Size + V3(.15,.15,.15)
  769. effect.Transparency = (i/1)
  770. asteroid.Transparency = (i/1)
  771. swait()
  772. end
  773. effect:destroy()
  774. asteroid:destroy()
  775. end)()
  776.  
  777. -- explode
  778. end)()
  779. for i = 0, 2, .1/Animation_Speed do
  780. RJ.C0 = RJ.C0:lerp(CA(0,RAD(75),0)*CN(0,0+.25*COS(SINE / 12),0)*CA(-RAD(2+3*SIN(SINE / 12)),0,0),.3/Animation_Speed)
  781. NK.C0 = NK.C0:lerp(NKC0*CA(RAD(-14+7*COS(SINE/12)),0,RAD(-2-3*COS(SINE/12)))*CA(0,RAD(-75),0),.3/Animation_Speed)
  782. RS.C0 = RS.C0:lerp(RSC0*CN(0,0+.25*COS(SINE / 12),0)*CA(0,0,RAD(10+5*SIN(SINE / 12)))*CN(-.25,.1,0)*CA(0,0,RAD(45)),1/Animation_Speed)
  783. LS.C0 = LS.C0:lerp(LSC0*CN(0,0+.25*COS(SINE / 12),0)*CA(0,0,-RAD(10+5*SIN(SINE / 12)))*CA(0,RAD(35),0),1/Animation_Speed)
  784. RH.C0 = RH.C0:lerp(RHC0*CN(0,0+.25*COS(SINE / 12),0)*CA(0,0,RAD(10+5*SIN(SINE / 12))),.3 / Animation_Speed)
  785. LH.C0 = LH.C0:lerp(LHC0*CN(.1,.5,-.5)*CN(0,0+.25*COS(SINE / 12),0)*CA(RAD(10),0,-RAD(10+5*SIN(SINE / 12))),.3 / Animation_Speed)
  786. swait()
  787. end
  788. NEUTRAL_ANIMS = true
  789. ROOTED = false
  790. ATTACK = false
  791. end
  792. end
  793. function Blackhole(pos,destroy)
  794. local lol = {}
  795. local n = 0
  796. local hole,holeMesh = PARTANDMESH(EFFECTS,BrickColor.new'Black',"Plastic",true,false,true,V3(1,1,1),pos,"","",V3(20,20,20),{},{})
  797. holeMesh.MeshType=Enum.MeshType.Sphere
  798. function checkObject(obj)
  799. if (obj ~= hole) and (obj.className == "Part") then
  800. if (obj.Anchored == false) then
  801. table.insert(lol, 1, obj)
  802. end
  803. elseif (obj.className == "Model") or (obj.className == "Hat") or (obj.className == "Tool") or (obj == workspace) then
  804. local child = obj:GetChildren()
  805. for x = 1, #child do
  806. checkObject(child[x])
  807. end
  808. obj.ChildAdded:connect(checkObject)
  809. end
  810. end
  811. checkObject(workspace)
  812. local blackholeing = true
  813. for i = 1, 450 do
  814. if(i%8 == 0)then
  815. local NewInstance = function(instance,parent,properties) -- lol lazy
  816. local inst = Instance.new(instance)
  817. if(properties)then
  818. for i,v in next, properties do
  819. pcall(function() inst[i] = v end)
  820. end
  821. end
  822. inst.Parent = parent
  823. return inst;
  824. end
  825. coroutine.wrap(function()
  826. local cf = hole.CFrame * CA(0,math.pi*2/n*i,0)*CN(0,0,RANDOM(90,170))
  827. local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(cf.p,((CFrame.new(cf.p,cf.p - Vector3.new(0,1,0))).lookVector).unit * 1000), char)
  828. if(hitfloor)then
  829. local block = NewInstance("Part",workspace,{CanCollide=false,Anchored=true,CFrame=cf*CN(0,1,0),BrickColor = hitfloor.BrickColor,Transparency=hitfloor.Transparency,Reflectance=hitfloor.Reflectance,Material=hitfloor.Material,Size=V3(2+RANDOM(-25,75)/100,2+RANDOM(-25,75)/100,2+RANDOM(-25,75)/100)})
  830. local onefourth = posfloor:Lerp(hole.CFrame.p, 0.25) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25))
  831. local threefourths = posfloor:Lerp(hole.CFrame.p, 0.75) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25))
  832. local MPos = hole.CFrame.p
  833. for i = 0, 1, RANDOM(650,800)/1e5 do
  834. swait()
  835. if(not blackholeing)then
  836. block:destroy()
  837. break
  838. else
  839. block.CFrame = CFrame.new(newBezier(posfloor, onefourth, threefourths, MPos, i))
  840. end
  841. end
  842. block:destroy()
  843. end
  844. end)()
  845. end
  846. local effect,effectMesh = PARTANDMESH(EFFECTS,BrickColor.new'Black',"Plastic",true,false,true,V3(1,1,1),CN(hole.CFrame.p)*CA(RAD(RANDOM(-360,360)),RAD(RANDOM(-360,360)),RAD(RANDOM(-360,360))),"rbxassetid://662586858","",V3(1/10,1/10,1/10),{},{})
  847. coroutine.wrap(function()
  848. for trans = 0, 1, .025 do
  849. effect.Transparency = trans
  850. effect.CFrame = effect.CFrame * CA(0,RAD((trans/1)*5),0)
  851. effectMesh.Scale = V3((1/10)+(trans/1)*2/10,(1/10)+(trans/1)*2/10,(1/10)+(trans/1)*2/10)
  852. end
  853. effect:destroy()
  854. end)()
  855. if n < #lol then
  856. n = n + 1
  857. if n % 800 == 0 then
  858. swait()
  859. end
  860. else
  861. n = 1
  862. swait()
  863. end
  864. local child = lol[n]
  865. if child and (child ~= hole) and child.Parent ~= char and (child:IsA"BasePart") and (child.Anchored == false) then
  866. local relPos = hole.Position - child.Position
  867. local motivator = child:FindFirstChild("BlackHole Influence")
  868. if(relPos.magnitude < 150)then
  869. if relPos.magnitude < 5 then
  870. child:destroy()
  871. table.remove(lol,n)
  872. n = n - 1
  873. else
  874. child.CanCollide = false
  875. if(not motivator)then
  876. motivator = I("BodyPosition",child)
  877. motivator.Name = 'BlackHole Influence'
  878. end
  879. motivator.position = hole.Position
  880. motivator.maxForce = V3(math.huge,math.huge,math.huge)
  881. game:service'Debris':AddItem(motivator,.5)
  882. end
  883. elseif(motivator)then
  884. motivator:destroy()
  885. end
  886. end
  887. swait()
  888. end
  889. blackholeing = false
  890. coroutine.wrap(function()
  891. for i = 20, 1, -.5 do
  892. holeMesh.Scale = V3(i,i,i)
  893. swait()
  894. end
  895. AoEDAMAGE(hole.CFrame.p,20,50,85,false,25,2)
  896. for trans = 0, 1, .05 do
  897. hole.Transparency = trans
  898. holeMesh.Scale = holeMesh.Scale + V3(2,2,2)
  899. swait()
  900. end
  901. hole:destroy()
  902. end)()
  903. end
  904. function BlackholeAttack()
  905. if(not blackholeActive)then
  906. ATTACK = true
  907. ROOTED = true
  908. NEUTRAL_ANIMS = false
  909. blackholeActive = true
  910. Animation_Speed = 6
  911. for i = 0, 2, .1 / Animation_Speed do
  912. swait()
  913. RS.C0 = RS.C0:lerp(RSC0*CN(-0.431007385, -0.30518651, -0.706886292)*CA(RAD(180),0,RAD(-25)),.3/Animation_Speed)
  914. LS.C0 = LS.C0:lerp(LSC0*CN(0.431007385, -0.30518651, -0.706886292)*CA(RAD(180),0,RAD(25)),.3/Animation_Speed)
  915. RH.C0 = RH.C0:lerp(RHC0*CN(0,.9, -0.6)*CA(RAD(-21.41),0,0),.3/Animation_Speed)
  916. LH.C0 = LH.C0:lerp(LHC0*CN(0, .9, -0.6)*CA(RAD(-21.41),0,0),.3/Animation_Speed)
  917. NK.C0 = NK.C0:lerp(NKC0*CA(RAD(-23.29),RAD(-0.89),0),.3/Animation_Speed)
  918. RJ.C0 = RJ.C0:lerp(CN(),.3/Animation_Speed)
  919. end
  920. Animation_Speed = 3
  921. for i = 0, 1, .1 / Animation_Speed do
  922. swait()
  923. hum.CameraOffset = hum.CameraOffset:lerp(V3(0,4,0),.3/Animation_Speed)
  924. RS.C0 = RS.C0:lerp(RSC0*CA(RAD(-35),0,RAD(35)),.3/Animation_Speed)
  925. LS.C0 = LS.C0:lerp(LSC0*CA(RAD(-35),0,RAD(-35)),.3/Animation_Speed)
  926. RH.C0 = RH.C0:lerp(RHC0*CA(RAD(-35),0,RAD(35)),.3/Animation_Speed)
  927. LH.C0 = LH.C0:lerp(LHC0*CA(RAD(-35),0,RAD(-35)),.3/Animation_Speed)
  928. NK.C0 = NK.C0:lerp(NKC0*CA(RAD(25),0,0),.3/Animation_Speed)
  929. RJ.C0 = RJ.C0:lerp(CN(0,4,0)*CA(RAD(15),0,0),.3/Animation_Speed)
  930. end
  931. root.Anchored = true
  932. local where = torso.CFrame
  933. coroutine.wrap(function()
  934. Blackhole(where,true)
  935. blackholeActive = false
  936. end)()
  937. swait(60)
  938. coroutine.wrap(function()
  939. for i = 0, 1, .1 / Animation_Speed do
  940. hum.CameraOffset = hum.CameraOffset:lerp(V3(0,0,0),.2/Animation_Speed)
  941. swait()
  942. end
  943. hum.CameraOffset = V3(0,0,0)
  944. end)()
  945. root.Anchored = false
  946. ROOTED = false
  947. NEUTRAL_ANIMS = true
  948. ATTACK = false
  949. end
  950. end
  951. -- // BIND EVERYTHING \\ --
  952.  
  953. mouse.KeyDown:connect(function(k)
  954. if(ATTACK)then return end
  955. if(k == 't')then
  956. Taunt()
  957. elseif(k == 'v')then
  958. BlackholeAttack()
  959. elseif(k == 'x')then
  960. AsteroidCrusher()
  961. elseif(k == 'z')then
  962. CelestialLazor()
  963. end
  964. end)
  965. -- // WRAP EVERYTHING UP \\ --
  966.  
  967. local naeeym2 = Instance.new("BillboardGui",char)
  968. naeeym2.AlwaysOnTop = true
  969. naeeym2.Size = UDim2.new(5,35,2,35)
  970. naeeym2.StudsOffset = Vector3.new(0,1,0)
  971. naeeym2.Adornee = head
  972. naeeym2.Name = "Name"
  973. naeeym2.PlayerToHideFrom = plr
  974. local tecks2 = Instance.new("TextLabel",naeeym2)
  975. tecks2.BackgroundTransparency = 1
  976. tecks2.TextScaled = true
  977. tecks2.BorderSizePixel = 0
  978. tecks2.Text = "Dominus Corona Australis"
  979. tecks2.Font = "Antique"
  980. tecks2.TextSize = 30
  981. tecks2.TextStrokeTransparency = 0
  982. tecks2.TextColor3 = BrickColor.new'Bright blue'.Color
  983. tecks2.TextStrokeColor3 = BrickColor.new'Bright blue'.Color
  984. tecks2.Size = UDim2.new(1,0,0.5,0)
  985. tecks2.Parent = naeeym2
  986.  
  987. --[[
  988. for _,v in next, lol do
  989. if(v.Anchored == false and (v.CFrame.p-torso.CFrame.p).magnitude <= 30)then
  990. local BF = I("BodyForce",v)
  991. BF.force = Vector3.new(0, workspace.Gravity * v:GetMass()/4, 0)
  992. S.Debris:AddItem(BF,1/60)123
  993. end
  994. end
  995. end)]]
  996. plr.Chatted:connect(function(m)
  997. if(m == '/e tpose')then
  998. TPOSE = not TPOSE
  999. end
  1000. end)
  1001. hum.Changed:connect(function()
  1002. if(ROOTED)then
  1003. hum.Jump = false
  1004. end
  1005. end)
  1006.  
  1007. function ConnectHum()
  1008. hum.Died:connect(function()
  1009. hum:Destroy()
  1010. refit()
  1011. hum = IT("Humanoid",char,{{"MaxHealth",math.huge}})
  1012. FX("rbxassetid://907330011", head, 1, 10)
  1013. ConnectHum()
  1014. end)
  1015. end
  1016. ConnectHum()
  1017. local Inanis = false
  1018. local TimeVortex = false
  1019. while true do
  1020. for _,v in next, char:children() do
  1021. if(v:FindFirstChild'BodyForce')then
  1022. v.BodyForce.force = Vector3.new(0, workspace.Gravity * v:GetMass()/2, 0)
  1023. end
  1024. end
  1025. if(not ROOTED)then
  1026. hum.WalkSpeed = Speed
  1027. else
  1028. hum.WalkSpeed = 0
  1029. end
  1030. FF.Parent = char
  1031. hum.Name = "CoronaAustralis"
  1032. music.Parent = torso
  1033. music.Playing = true
  1034. hum.MaxHealth = math.huge
  1035. SINE = SINE + CHANGE
  1036. hum.HipHeight = 2
  1037. pcall(function() refit()
  1038. char.Parent = workspace end)
  1039. for _,v in next, char:children() do
  1040. CLEARCHILDRENWITHCLASS(v,"BodyPosition")
  1041. end
  1042.  
  1043. local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(root.CFrame.p,((CFrame.new(root.Position,root.Position - Vector3.new(0,1,0))).lookVector).unit * 4), char)
  1044. local State = ((math.abs(root.Velocity.x) > 1 or math.abs(root.Velocity.z) > 1) and "Walk" or "Idle")
  1045. if(NEUTRAL_ANIMS)then
  1046. if(not TPOSE)then
  1047. if(State == 'Idle')then
  1048. RH.C0 = RH.C0:lerp(RHC0*CN(0,0+.25*COS(SINE / 12),0)*CA(0,0,RAD(10+5*SIN(SINE / 12))),1 / Animation_Speed)
  1049. LH.C0 = LH.C0:lerp(LHC0*CN(.1,.5,-.5)*CN(0,0+.25*COS(SINE / 12),0)*CA(RAD(10),0,-RAD(10+5*SIN(SINE / 12))),1 / Animation_Speed)
  1050. RS.C0 = RS.C0:lerp(RSC0*CN(0,0+.25*COS(SINE / 12),0)*CA(0,0,RAD(10+5*SIN(SINE / 12))),1 / Animation_Speed)
  1051. LS.C0 = LS.C0:lerp(LSC0*CN(0,0+.25*COS(SINE / 12),0)*CA(0,0,-RAD(10+5*SIN(SINE / 12))),1 / Animation_Speed)
  1052. NK.C0 = NK.C0:lerp(NKC0*CA(RAD(-14+7*COS(SINE/12)),0,RAD(-2-3*COS(SINE/12))),1 / Animation_Speed)
  1053. RJ.C0 = RJ.C0:lerp(CN(0,0+.25*COS(SINE / 12),0)*CA(-RAD(2+3*SIN(SINE / 12)),0,0),1 / Animation_Speed)
  1054. elseif(State == 'Walk')then
  1055. RH.C0 = RH.C0:lerp(RHC0*CN(0,0+.25*COS(SINE / 12),0)*CA(0,0,RAD(10+5*SIN(SINE / 12))),1 / Animation_Speed)
  1056. LH.C0 = LH.C0:lerp(LHC0*CN(.1,.5,-.5)*CN(0,0+.25*COS(SINE / 12),0)*CA(RAD(10),0,-RAD(10+5*SIN(SINE / 12))),1 / Animation_Speed)
  1057. RS.C0 = RS.C0:lerp(RSC0*CN(0,0+.25*COS(SINE / 12),0)*CA(-RAD(15),-RAD(15),RAD(10))*CA(0,0,RAD(10+5*SIN(SINE / 12))),1 / Animation_Speed)
  1058. LS.C0 = LS.C0:lerp(LSC0*CN(0,0+.25*COS(SINE / 12),0)*CA(-RAD(15),RAD(15),-RAD(10))*CA(0,0,-RAD(10+5*SIN(SINE / 12))),1 / Animation_Speed)
  1059. NK.C0 = NK.C0:lerp(NKC0*CA(RAD(-14+7*COS(SINE/12)),0,RAD(-2-3*COS(SINE/12)))*CA(RAD(25),0,0),1 / Animation_Speed)
  1060. RJ.C0 = RJ.C0:lerp(CN(0,0+.25*COS(SINE / 12),0)*CA(-RAD(25),0,0)*CA(-RAD(2+3*COS(SINE / 12)),0,0),1 / Animation_Speed)
  1061. end
  1062. else
  1063. RH.C0 = RH.C0:lerp(RHC0,1 / Animation_Speed)
  1064. LH.C0 = LH.C0:lerp(LHC0,1 / Animation_Speed)
  1065. RS.C0 = RS.C0:lerp(RSC0*CA(0,0,RAD(90)),1 / Animation_Speed)
  1066. LS.C0 = LS.C0:lerp(LSC0*CA(0,0,RAD(-90)),1 / Animation_Speed)
  1067. NK.C0 = NK.C0:lerp(NKC0,1 / Animation_Speed)
  1068. RJ.C0 = RJ.C0:lerp(CN(),1 / Animation_Speed)
  1069. end
  1070. end
  1071. torso.Color = C3(0,0,0)
  1072. rarm.BrickColor = BrickColor.new'Navy blue'
  1073. larm.BrickColor = BrickColor.new'Navy blue'
  1074. rleg.Color = Color3.fromRGB(0,19,57)
  1075. lleg.Color = Color3.fromRGB(0,19,57)
  1076. torso.Transparency = 0
  1077. rarm.Transparency = 0
  1078. larm.Transparency = 0
  1079. rleg.Transparency = 0
  1080. lleg.Transparency = 0
  1081. for _,v in next, workspace:children() do
  1082. local h = v:FindFirstChildOfClass'Humanoid'
  1083. if(h and h.Name == 'Forgotten Dominus')then
  1084. music:Stop()
  1085. Inanis = true
  1086. elseif(h and h.Name == 'name')then
  1087. TimeVortex = true
  1088. refit = function() end
  1089. char:destroy()
  1090. Blackhole(true)
  1091. break
  1092. end
  1093. end
  1094. script.Parent = WEAPONGUI;
  1095. if(not Inanis)then
  1096. music.Playing = true
  1097. end
  1098. if(TimeVortex)then
  1099. break
  1100. end
  1101. Inanis = false
  1102. swait()
  1103. end
Advertisement
Add Comment
Please, Sign In to add comment