Advertisement
GojiGaming1337

Untitled

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