Advertisement
Verhed

dmns3

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