Dark_EccentricYT

Untitled

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