Advertisement
GojiGaming1337

Untitled

May 10th, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 52.97 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| EDITED BY USERNAMEFORCOLAGE
  3. --\\====================================================//--
  4.  
  5.  
  6.  
  7.  
  8. plr = game.Players.LocalPlayer
  9. char = plr.Character
  10. hum = char.Humanoid
  11. local cam = game.Workspace.CurrentCamera
  12. local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
  13. Camera = cam
  14. local CamInterrupt = false
  15. local TwoD = false
  16. local TargetInfo = {nil, nil}
  17. cam.CameraType = "Custom"
  18.  
  19.  
  20. root = char.HumanoidRootPart
  21. hed = char.Head
  22. radian = math.rad
  23. random = math.random
  24. Vec3 = Vector3.new
  25. Inst = Instance.new
  26. cFrame = CFrame.new
  27. Euler = CFrame.fromEulerAnglesXYZ
  28. vt = Vector3.new
  29. bc = BrickColor.new
  30. br = BrickColor.random
  31. it = Instance.new
  32. cf = CFrame.new
  33. Player = game:GetService("Players").LocalPlayer
  34. PlayerGui = Player.PlayerGui
  35. Cam = workspace.CurrentCamera
  36. Backpack = Player.Backpack
  37. Character = Player.Character
  38. Humanoid = Character.Humanoid
  39. Mouse = Player:GetMouse()
  40. RootPart = Character["HumanoidRootPart"]
  41. Torso = Character["Torso"]
  42. Head = Character["Head"]
  43. RightArm = Character["Right Arm"]
  44. LeftArm = Character["Left Arm"]
  45. RightLeg = Character["Right Leg"]
  46. LeftLeg = Character["Left Leg"]
  47. RootJoint = RootPart["RootJoint"]
  48. Neck = Torso["Neck"]
  49. RightShoulder = Torso["Right Shoulder"]
  50. LeftShoulder = Torso["Left Shoulder"]
  51. RightHip = Torso["Right Hip"]
  52. LeftHip = Torso["Left Hip"]
  53. local sick = Instance.new("Sound",Character)
  54. sick.SoundId = "rbxassetid://847216487"
  55. sick.Looped = true
  56. sick.Pitch = 1
  57. sick.Volume = 1
  58. sick:Play()
  59.  
  60. IT = Instance.new
  61. CF = CFrame.new
  62. VT = Vector3.new
  63. RAD = math.rad
  64. C3 = Color3.new
  65. UD2 = UDim2.new
  66. BRICKC = BrickColor.new
  67. ANGLES = CFrame.Angles
  68. EULER = CFrame.fromEulerAnglesXYZ
  69. COS = math.cos
  70. ACOS = math.acos
  71. SIN = math.sin
  72. ASIN = math.asin
  73. ABS = math.abs
  74. MRANDOM = math.random
  75. FLOOR = math.floor
  76.  
  77. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  78. local NEWMESH = IT(MESH)
  79. if MESH == "SpecialMesh" then
  80. NEWMESH.MeshType = MESHTYPE
  81. if MESHID ~= "nil" and MESHID ~= "" then
  82. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  83. end
  84. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  85. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  86. end
  87. end
  88. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  89. NEWMESH.Scale = SCALE
  90. NEWMESH.Parent = PARENT
  91. return NEWMESH
  92. end
  93.  
  94. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  95. local NEWPART = IT("Part")
  96. NEWPART.formFactor = FORMFACTOR
  97. NEWPART.Reflectance = REFLECTANCE
  98. NEWPART.Transparency = TRANSPARENCY
  99. NEWPART.CanCollide = false
  100. NEWPART.Locked = true
  101. NEWPART.Anchored = true
  102. if ANCHOR == false then
  103. NEWPART.Anchored = false
  104. end
  105. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  106. NEWPART.Name = NAME
  107. NEWPART.Size = SIZE
  108. NEWPART.Position = Torso.Position
  109. NEWPART.Material = MATERIAL
  110. NEWPART:BreakJoints()
  111. NEWPART.Parent = PARENT
  112. return NEWPART
  113. end
  114.  
  115. --//=================================\\
  116. --|| CUSTOMIZATION
  117. --\\=================================//
  118.  
  119. Player_Size = 1 --Size of the player.
  120. Animation_Speed = 3
  121. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  122.  
  123. local Speed = 16
  124. local Effects2 = {}
  125.  
  126. --//=================================\\
  127. --|| END OF CUSTOMIZATION
  128. --\\=================================//
  129.  
  130. local function weldBetween(a, b)
  131. local weldd = Instance.new("ManualWeld")
  132. weldd.Part0 = a
  133. weldd.Part1 = b
  134. weldd.C0 = CFrame.new()
  135. weldd.C1 = b.CFrame:inverse() * a.CFrame
  136. weldd.Parent = a
  137. return weldd
  138. end
  139.  
  140. --//=================================\\
  141. --|| USEFUL VALUES
  142. --\\=================================//
  143.  
  144. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  145. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  146. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  147. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  148. local CHANGEDEFENSE = 0
  149. local CHANGEDAMAGE = 0
  150. local CHANGEMOVEMENT = 0
  151. local ANIM = "Idle"
  152. local ATTACK = false
  153. local EQUIPPED = false
  154. local HOLD = false
  155. local COMBO = 1
  156. local Rooted = false
  157. local SINE = 0
  158. local KEYHOLD = false
  159. local CHANGE = 2 / Animation_Speed
  160. local WALKINGANIM = false
  161. local WALK = 0
  162. local VALUE1 = false
  163. local VALUE2 = false
  164. local ROBLOXIDLEANIMATION = IT("Animation")
  165. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  166. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  167. --ROBLOXIDLEANIMATION.Parent = Humanoid
  168. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  169. WEAPONGUI.Name = "Weapon GUI"
  170. local Effects = IT("Folder", Character)
  171. Effects.Name = "Effects"
  172. local ANIMATOR = Humanoid.Animator
  173. local ANIMATE = Character.Animate
  174. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  175. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  176. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  177. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  178. local UNANCHOR = true
  179.  
  180. local SKILLTEXTCOLOR = C3(255,0,0)
  181.  
  182. --//=================================\\
  183. --\\=================================//
  184.  
  185.  
  186. --//=================================\\
  187. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  188. --\\=================================//
  189.  
  190. ArtificialHB = Instance.new("BindableEvent", script)
  191. ArtificialHB.Name = "ArtificialHB"
  192.  
  193. script:WaitForChild("ArtificialHB")
  194.  
  195. frame = Frame_Speed
  196. tf = 0
  197. allowframeloss = false
  198. tossremainder = false
  199. lastframe = tick()
  200. script.ArtificialHB:Fire()
  201.  
  202. game:GetService("RunService").Heartbeat:connect(function(s, p)
  203. tf = tf + s
  204. if tf >= frame then
  205. if allowframeloss then
  206. script.ArtificialHB:Fire()
  207. lastframe = tick()
  208. else
  209. for i = 1, math.floor(tf / frame) do
  210. script.ArtificialHB:Fire()
  211. end
  212. lastframe = tick()
  213. end
  214. if tossremainder then
  215. tf = 0
  216. else
  217. tf = tf - frame * math.floor(tf / frame)
  218. end
  219. end
  220. end)
  221.  
  222. --//=================================\\
  223. --\\=================================//
  224.  
  225.  
  226.  
  227.  
  228.  
  229. --//=================================\\
  230. --|| SOME FUNCTIONS
  231. --\\=================================//
  232.  
  233. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  234. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  235. end
  236.  
  237. function PositiveAngle(NUMBER)
  238. if NUMBER >= 0 then
  239. NUMBER = 0
  240. end
  241. return NUMBER
  242. end
  243.  
  244. function NegativeAngle(NUMBER)
  245. if NUMBER <= 0 then
  246. NUMBER = 0
  247. end
  248. return NUMBER
  249. end
  250.  
  251. function Swait(NUMBER)
  252. if NUMBER == 0 or NUMBER == nil then
  253. ArtificialHB.Event:wait()
  254. else
  255. for i = 1, NUMBER do
  256. ArtificialHB.Event:wait()
  257. end
  258. end
  259. end
  260.  
  261. function QuaternionFromCFrame(cf)
  262. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  263. local trace = m00 + m11 + m22
  264. if trace > 0 then
  265. local s = math.sqrt(1 + trace)
  266. local recip = 0.5 / s
  267. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  268. else
  269. local i = 0
  270. if m11 > m00 then
  271. i = 1
  272. end
  273. if m22 > (i == 0 and m00 or m11) then
  274. i = 2
  275. end
  276. if i == 0 then
  277. local s = math.sqrt(m00 - m11 - m22 + 1)
  278. local recip = 0.5 / s
  279. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  280. elseif i == 1 then
  281. local s = math.sqrt(m11 - m22 - m00 + 1)
  282. local recip = 0.5 / s
  283. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  284. elseif i == 2 then
  285. local s = math.sqrt(m22 - m00 - m11 + 1)
  286. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  287. end
  288. end
  289. end
  290.  
  291. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  292. local xs, ys, zs = x + x, y + y, z + z
  293. local wx, wy, wz = w * xs, w * ys, w * zs
  294. local xx = x * xs
  295. local xy = x * ys
  296. local xz = x * zs
  297. local yy = y * ys
  298. local yz = y * zs
  299. local zz = z * zs
  300. 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))
  301. end
  302.  
  303. function QuaternionSlerp(a, b, t)
  304. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  305. local startInterp, finishInterp;
  306. if cosTheta >= 0.0001 then
  307. if (1 - cosTheta) > 0.0001 then
  308. local theta = ACOS(cosTheta)
  309. local invSinTheta = 1 / SIN(theta)
  310. startInterp = SIN((1 - t) * theta) * invSinTheta
  311. finishInterp = SIN(t * theta) * invSinTheta
  312. else
  313. startInterp = 1 - t
  314. finishInterp = t
  315. end
  316. else
  317. if (1 + cosTheta) > 0.0001 then
  318. local theta = ACOS(-cosTheta)
  319. local invSinTheta = 1 / SIN(theta)
  320. startInterp = SIN((t - 1) * theta) * invSinTheta
  321. finishInterp = SIN(t * theta) * invSinTheta
  322. else
  323. startInterp = t - 1
  324. finishInterp = t
  325. end
  326. end
  327. 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
  328. end
  329.  
  330. function sphere(bonuspeed, type, pos, scale, value, color)
  331. local type = type
  332. local rng = Instance.new("Part", char)
  333. rng.Anchored = true
  334. rng.BrickColor = color
  335. rng.CanCollide = false
  336. rng.FormFactor = 3
  337. rng.Name = "Ring"
  338. rng.Material = "Neon"
  339. rng.Size = Vector3.new(1, 1, 1)
  340. rng.Transparency = 0
  341. rng.TopSurface = 0
  342. rng.BottomSurface = 0
  343. rng.CFrame = pos
  344. local rngm = Instance.new("SpecialMesh", rng)
  345. rngm.MeshType = "Sphere"
  346. rngm.Scale = scale
  347. if rainbowmode == true then
  348. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  349. end
  350. local scaler2 = 1
  351. if type == "Add" then
  352. scaler2 = 1 * value
  353. elseif type == "Divide" then
  354. scaler2 = 1 / value
  355. end
  356. coroutine.resume(coroutine.create(function()
  357. for i = 0, 10 / bonuspeed, 0.1 do
  358. swait()
  359. if rainbowmode == true then
  360. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  361. end
  362. if type == "Add" then
  363. scaler2 = scaler2 - 0.01 * value / bonuspeed
  364. elseif type == "Divide" then
  365. scaler2 = scaler2 - 0.01 / value * bonuspeed
  366. end
  367. if chaosmode == true then
  368. rng.BrickColor = BrickColor.random()
  369. end
  370. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  371. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  372. end
  373. rng:Destroy()
  374. end))
  375. end
  376.  
  377. function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  378. local type = type
  379. local rng = Instance.new("Part", char)
  380. rng.Anchored = true
  381. rng.BrickColor = color
  382. rng.CanCollide = false
  383. rng.FormFactor = 3
  384. rng.Name = "Ring"
  385. rng.Material = "Neon"
  386. rng.Size = Vector3.new(1, 1, 1)
  387. rng.Transparency = 0
  388. rng.TopSurface = 0
  389. rng.BottomSurface = 0
  390. rng.CFrame = pos
  391. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  392. local rngm = Instance.new("SpecialMesh", rng)
  393. rngm.MeshType = "Sphere"
  394. rngm.Scale = vt(x1, y1, z1)
  395. if rainbowmode == true then
  396. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  397. end
  398. local scaler2 = 1
  399. local speeder = FastSpeed
  400. if type == "Add" then
  401. scaler2 = 1 * value
  402. elseif type == "Divide" then
  403. scaler2 = 1 / value
  404. end
  405. coroutine.resume(coroutine.create(function()
  406. for i = 0, 10 / bonuspeed, 0.1 do
  407. swait()
  408. if rainbowmode == true then
  409. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  410. end
  411. if type == "Add" then
  412. scaler2 = scaler2 - 0.01 * value / bonuspeed
  413. elseif type == "Divide" then
  414. scaler2 = scaler2 - 0.01 / value * bonuspeed
  415. end
  416. if chaosmode == true then
  417. rng.BrickColor = BrickColor.random()
  418. end
  419. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  420. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  421. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  422. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  423. end
  424. rng:Destroy()
  425. end))
  426. end
  427. function Clerp(a, b, t)
  428. local qa = {QuaternionFromCFrame(a)}
  429. local qb = {QuaternionFromCFrame(b)}
  430. local ax, ay, az = a.x, a.y, a.z
  431. local bx, by, bz = b.x, b.y, b.z
  432. local _t = 1 - t
  433. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  434. end
  435.  
  436. function sphereMKCharge(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  437. local type = type
  438. local rng = Instance.new("Part", char)
  439. rng.Anchored = true
  440. rng.BrickColor = color
  441. rng.CanCollide = false
  442. rng.FormFactor = 3
  443. rng.Name = "Ring"
  444. rng.Material = "Neon"
  445. rng.Size = Vector3.new(1, 1, 1)
  446. rng.Transparency = 1
  447. rng.TopSurface = 0
  448. rng.BottomSurface = 0
  449. rng.CFrame = pos
  450. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  451. local rngm = Instance.new("SpecialMesh", rng)
  452. rngm.MeshType = "Sphere"
  453. rngm.Scale = vt(x1, y1, z1)
  454. if rainbowmode == true then
  455. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  456. end
  457. local scaler2 = 1
  458. local speeder = FastSpeed
  459. if type == "Add" then
  460. scaler2 = 1 * value
  461. elseif type == "Divide" then
  462. scaler2 = 1 / value
  463. end
  464. coroutine.resume(coroutine.create(function()
  465. for i = 0, 10 / bonuspeed, 0.1 do
  466. swait()
  467. if rainbowmode == true then
  468. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  469. end
  470. if type == "Add" then
  471. scaler2 = scaler2 - 0.01 * value / bonuspeed
  472. elseif type == "Divide" then
  473. scaler2 = scaler2 - 0.01 / value * bonuspeed
  474. end
  475. if chaosmode == true then
  476. rng.BrickColor = BrickColor.random()
  477. end
  478. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  479. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  480. rng.Transparency = rng.Transparency - 0.01 * bonuspeed
  481. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  482. end
  483. rng:Destroy()
  484. end))
  485. end
  486.  
  487. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  488. local frame = IT("Frame")
  489. frame.BackgroundTransparency = TRANSPARENCY
  490. frame.BorderSizePixel = BORDERSIZEPIXEL
  491. frame.Position = POSITION
  492. frame.Size = SIZE
  493. frame.BackgroundColor3 = COLOR
  494. frame.BorderColor3 = BORDERCOLOR
  495. frame.Name = NAME
  496. frame.Parent = PARENT
  497. return frame
  498. end
  499.  
  500. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  501. local label = IT("TextLabel")
  502. label.BackgroundTransparency = 1
  503. label.Size = UD2(1, 0, 1, 0)
  504. label.Position = UD2(0, 0, 0, 0)
  505. label.TextColor3 = TEXTCOLOR
  506. label.TextStrokeTransparency = STROKETRANSPARENCY
  507. label.TextTransparency = TRANSPARENCY
  508. label.FontSize = TEXTFONTSIZE
  509. label.Font = TEXTFONT
  510. label.BorderSizePixel = BORDERSIZEPIXEL
  511. label.TextScaled = false
  512. label.Text = TEXT
  513. label.Name = NAME
  514. label.Parent = PARENT
  515. return label
  516. end
  517.  
  518. function NoOutlines(PART)
  519. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  520. end
  521.  
  522.  
  523. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  524. local NEWWELD = IT(TYPE)
  525. NEWWELD.Part0 = PART0
  526. NEWWELD.Part1 = PART1
  527. NEWWELD.C0 = C0
  528. NEWWELD.C1 = C1
  529. NEWWELD.Parent = PARENT
  530. return NEWWELD
  531. end
  532.  
  533. function CreateSound(ID, PARENT, VOLUME, PITCH)
  534. local NEWSOUND = nil
  535. coroutine.resume(coroutine.create(function()
  536. NEWSOUND = IT("Sound", PARENT)
  537. NEWSOUND.Volume = VOLUME
  538. NEWSOUND.Pitch = PITCH
  539. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  540. Swait()
  541. NEWSOUND:play()
  542. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  543. end))
  544. return NEWSOUND
  545. end
  546.  
  547. function CFrameFromTopBack(at, top, back)
  548. local right = top:Cross(back)
  549. 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)
  550. end
  551.  
  552. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  553. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  554. wave.Color = COLOR
  555. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  556. wave.CFrame = CFRAME
  557. coroutine.resume(coroutine.create(function(PART)
  558. for i = 1, WAIT do
  559. Swait()
  560. mesh.Scale = mesh.Scale + GROW
  561. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  562. if DOESROT == true then
  563. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  564. end
  565. wave.Transparency = wave.Transparency + (0.5/WAIT)
  566. if wave.Transparency > 0.99 then
  567. wave:remove()
  568. end
  569. end
  570. end))
  571. end
  572.  
  573. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  574. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  575. wave.Color = COLOR
  576. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  577. wave.CFrame = CFRAME
  578. coroutine.resume(coroutine.create(function(PART)
  579. for i = 1, WAIT do
  580. Swait()
  581. mesh.Scale = mesh.Scale + GROW
  582. wave.Transparency = wave.Transparency + (1/WAIT)
  583. if wave.Transparency > 0.99 then
  584. wave:remove()
  585. end
  586. end
  587. end))
  588. end
  589.  
  590. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  591. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  592. local mesh = nil
  593. if KIND == "Base" then
  594. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  595. elseif KIND == "Thin" then
  596. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  597. elseif KIND == "Round" then
  598. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  599. end
  600. wave.CFrame = CFRAME
  601. coroutine.resume(coroutine.create(function(PART)
  602. for i = 1, WAIT do
  603. Swait()
  604. mesh.Scale = mesh.Scale + GROW/10
  605. wave.Transparency = wave.Transparency + (0.5/WAIT)
  606. if wave.Transparency > 0.99 then
  607. wave:remove()
  608. end
  609. end
  610. end))
  611. end
  612.  
  613. function MakeForm(PART,TYPE)
  614. if TYPE == "Cyl" then
  615. local MSH = IT("CylinderMesh",PART)
  616. elseif TYPE == "Ball" then
  617. local MSH = IT("SpecialMesh",PART)
  618. MSH.MeshType = "Sphere"
  619. elseif TYPE == "Wedge" then
  620. local MSH = IT("SpecialMesh",PART)
  621. MSH.MeshType = "Wedge"
  622. end
  623. end
  624.  
  625. function CheckTableForString(Table, String)
  626. for i, v in pairs(Table) do
  627. if string.find(string.lower(String), string.lower(v)) then
  628. return true
  629. end
  630. end
  631. return false
  632. end
  633.  
  634. function CheckIntangible(Hit)
  635. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  636. if Hit and Hit.Parent then
  637. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  638. return true
  639. end
  640. end
  641. return false
  642. end
  643.  
  644. Debris = game:GetService("Debris")
  645.  
  646. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  647. local Direction = CFrame.new(StartPos, Vec).lookVector
  648. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  649. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  650. if RayHit and CheckIntangible(RayHit) then
  651. if DelayIfHit then
  652. wait()
  653. end
  654. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  655. end
  656. return RayHit, RayPos, RayNormal
  657. end
  658.  
  659. function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
  660. if DoesCourontine == false then
  661. local Direction = CF(Part.Position,ToLocation)
  662. local Distance = (Part.Position - ToLocation).magnitude
  663. for i = 1, AmountOfTime do
  664. Swait()
  665. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  666. Direction = Part.CFrame
  667. end
  668. Part:remove()
  669. elseif DoesCourontine == true then
  670. coroutine.resume(coroutine.create(function()
  671. local Direction = CF(Part.Position,ToLocation)
  672. local Distance = (Part.Position - ToLocation).magnitude
  673. for i = 1, AmountOfTime do
  674. Swait()
  675. Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  676. Direction = Part.CFrame
  677. end
  678. Part:remove()
  679. end))
  680. end
  681. end
  682.  
  683. function turnto(position)
  684. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  685. end
  686.  
  687. --//=================================\\
  688. --|| WEAPON CREATION
  689. --\\=================================//
  690.  
  691. local naeeym2 = Instance.new("BillboardGui",Character)
  692. naeeym2.AlwaysOnTop = true
  693. naeeym2.Size = UDim2.new(5,35,2,15)
  694. naeeym2.StudsOffset = Vector3.new(0,3,0)
  695. naeeym2.Adornee = Character.Head
  696. naeeym2.Name = "Name"
  697. local tecks2 = Instance.new("TextLabel",naeeym2)
  698. tecks2.BackgroundTransparency = 1
  699. tecks2.TextScaled = true
  700. tecks2.BorderSizePixel = 0
  701. tecks2.Text = "Deadly Dark Dominus"
  702. tecks2.Font = "Fantasy"
  703. tecks2.TextSize = 30
  704. tecks2.TextStrokeTransparency = 0
  705. tecks2.TextColor3 = Color3.new(233,0,0)
  706. tecks2.TextStrokeColor3 = Color3.new(233,0,0)
  707. tecks2.Size = UDim2.new(1,0,0.5,0)
  708. tecks2.Parent = naeeym2
  709.  
  710. function Transparency(TRANS)
  711. tecks2.TextTransparency = TRANS
  712. tecks2.TextStrokeTransparency = TRANS
  713. for _, c in pairs(Character:GetChildren()) do
  714. if c.ClassName == "Part" and c ~= RootPart then
  715. c.Transparency = TRANS
  716. if c:FindFirstChildOfClass("Decal") then
  717. c:FindFirstChildOfClass("Decal").Transparency = TRANS
  718. end
  719. elseif c.ClassName == "Accessory" then
  720. c.Handle.Transparency = TRANS
  721. elseif c.ClassName == "Model" then
  722. for _, q in pairs(c:GetChildren()) do
  723. if q.ClassName == "Part" then
  724. q.Transparency = TRANS
  725. if q:FindFirstChildOfClass("Decal") then
  726. q:FindFirstChildOfClass("Decal").Transparency = TRANS
  727. end
  728. end
  729. end
  730. end
  731. end
  732. end
  733.  
  734. Humanoid.Died:connect(function()
  735. Humanoid.Parent = nil
  736. Humanoid.MaxHealth = "inf"
  737. Humanoid.Health = "inf"
  738. refit()
  739. Humanoid.Parent = Character
  740. CreateSound("907330011", Head, 10, 1.2)
  741. end)
  742.  
  743. 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")
  744. 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")
  745. 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")
  746. 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")
  747.  
  748. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Deadly Dark Smite", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 1")
  749. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] From The Depths", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 2")
  750. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Deadly Devastation Of Darkness", SKILLTEXTCOLOR, 10, "Fantasy", 0, 2, 0, "Text 3")
  751. local SKILLETEXT = CreateLabel(SKILLEFRAME, "[Q] Deadly Dark Warp", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text Warp")
  752.  
  753. --//=================================\\
  754. --|| DAMAGING
  755. --\\=================================//
  756.  
  757. function killnearest(position,range,maxstrength)
  758. for i,v in ipairs(workspace:GetChildren()) do
  759. local body = v:GetChildren()
  760. for part = 1, #body do
  761. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  762. if(body[part].Position - position).Magnitude < range then
  763. if v.ClassName == "Model" then
  764. v:BreakJoints()
  765. end
  766. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  767. local bv = Instance.new("BodyVelocity")
  768. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  769. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  770. bv.Parent = body[part]
  771. Debris:AddItem(bv,0.2)
  772. end
  773. end
  774. end
  775. if v.ClassName == "Part" then
  776. if v.Anchored == false and (v.Position - position).Magnitude < range then
  777. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  778. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  779. end
  780. end
  781. end
  782. end
  783.  
  784. --//=================================\\
  785. --|| ATTACK FUNCTIONS AND STUFF
  786. --\\=================================//
  787.  
  788. function Lunar_Blast()
  789. local HITBODIES = {}
  790. local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Crimson", "CenterPart", VT(0,0,0))
  791. 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)
  792. CENTER.CFrame = CF(ECH)
  793. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "", "Laser01", VT(25,99999,25))
  794. RAY.Color = C3(.5,0,0)
  795. MakeForm(RAY,"Cyl")
  796. RAY.CFrame = CF(ECH)
  797. for i = 1, 75 do
  798. Swait()
  799. RAY.Transparency = RAY.Transparency - 1/75
  800. RAY.Size = RAY.Size - VT(25/75,0,25/75)
  801. MagicSphere(VT(1,1,1),15,CF(ECH)*CF(MRANDOM(-15,15),MRANDOM(0,100),MRANDOM(-15,15)),C3(1,1,1),VT(0,0,0))
  802. end
  803. killnearest(ECH,25,25)
  804. MagicSphere(VT(0,0,0),55,CF(ECH),C3(255,0,0),VT(2,2,2))
  805. for i = 1, 25 do
  806. MagicSphere(VT(1,1,1),i*3,CF(ECH)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(1,1,1),VT(0,0,0))
  807. end
  808. CreateSound("168586621", CENTER, 10, 0.8)
  809. RAY:remove()
  810. Debris:AddItem(CENTER,5)
  811. end
  812.  
  813. function orb_spawn_norm(positted, timer, color, MagniBoost, min, max, volEx, ShakePower, volSummon)
  814. local orb = Instance.new("Part", char)
  815. orb.Anchored = true
  816. orb.BrickColor = color
  817. orb.CanCollide = false
  818. orb.FormFactor = 3
  819. orb.Name = "Ring"
  820. orb.Material = "Neon"
  821. orb.Size = Vector3.new(1, 1, 1)
  822. orb.Transparency = 0
  823. orb.TopSurface = 0
  824. orb.BottomSurface = 0
  825. local orbm = Instance.new("SpecialMesh", orb)
  826. orbm.MeshType = "Sphere"
  827. orb.CFrame = positted
  828. orbm.Name = "SizeMesh"
  829. orbm.Scale = vt(1, 1, 1)
  830. CFuncs.Sound.Create("rbxassetid://183763506", orb, volSummon, 1)
  831. sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.05, orb.BrickColor)
  832. coroutine.resume(coroutine.create(function()
  833. wait(timer)
  834. CameraEnshaking(3, ShakePower)
  835. orb.Transparency = 1
  836. MagniDamage(orb, 3.5 * MagniBoost, min, max, 0, "Normal")
  837. sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.1 * MagniBoost, orb.BrickColor)
  838. CFuncs.Sound.Create("rbxassetid://192410089", orb, volEx, 0.7)
  839. wait(3)
  840. orb:Destroy()
  841. end))
  842. end
  843. function orb_spawn(positted, timer)
  844. local randomcol = math.random(1, 2)
  845. local orb = Instance.new("Part", char)
  846. orb.Anchored = true
  847. if randomcol == 1 then
  848. orb.BrickColor = BrickColor.new("White")
  849. elseif randomcol == 2 then
  850. orb.BrickColor = BrickColor.new("Really black")
  851. end
  852. orb.CanCollide = false
  853. orb.FormFactor = 3
  854. orb.Name = "Ring"
  855. orb.Material = "Neon"
  856. orb.Size = Vector3.new(1, 1, 1)
  857. orb.Transparency = 0
  858. orb.TopSurface = 0
  859. orb.BottomSurface = 0
  860. local orbm = Instance.new("SpecialMesh", orb)
  861. orbm.MeshType = "Sphere"
  862. orb.CFrame = positted
  863. orbm.Name = "SizeMesh"
  864. orbm.Scale = vt(1, 1, 1)
  865. CFuncs.Sound.Create("rbxassetid://183763506", orb, 1.5, 1)
  866. sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.025, orb.BrickColor)
  867. for i = 0, 2 do
  868. sphereMK(5, 0.15, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1.5, 1.5, 7.5, -0.015, orb.BrickColor, 0)
  869. end
  870. coroutine.resume(coroutine.create(function()
  871. wait(timer)
  872. CameraEnshaking(3, 2)
  873. orb.Transparency = 1
  874. MagniDamage(orb, 17.5, 10, 50, 0, "Normal")
  875. sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.5, orb.BrickColor)
  876. for i = 0, 4 do
  877. sphereMK(5, 0.65, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 2.5, 2.5, 15, -0.025, orb.BrickColor, 0)
  878. end
  879. CFuncs.Sound.Create("rbxassetid://192410089", orb, 2, 0.7)
  880. wait(3)
  881. orb:Destroy()
  882. end))
  883. end
  884.  
  885. function scattercorrupt()
  886. attack = true
  887. local rot = 0
  888. local randomrotations = math.random(1, 2)
  889. local lookv = 2.5
  890. local power = 5
  891. sphere(1, "Add", root.CFrame, vt(1, 100000, 1), 0.5, BrickColor.new("Royal purple"))
  892. sphere(1, "Add", root.CFrame, vt(1, 1, 1), 0.75, BrickColor.new("Royal purple"))
  893. for i = 0, 9 do
  894. sphereMK(1, 1.5, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 10, 10, 45, -0.1, BrickColor.new("Royal purple"), 0)
  895. end
  896. local hite = Instance.new("Part", char)
  897. hite.Anchored = true
  898. hite.CanCollide = false
  899. hite.FormFactor = 3
  900. hite.Name = "Ring"
  901. hite.Material = "Neon"
  902. hite.Size = Vector3.new(1, 1, 1)
  903. hite.Transparency = 1
  904. hite.TopSurface = 0
  905. hite.BottomSurface = 0
  906. hite.CFrame = root.CFrame * CFrame.new(0, -2.5, 0)
  907. local rem = Instance.new("Part", char)
  908. rem.Anchored = true
  909. rem.CanCollide = false
  910. rem.FormFactor = 3
  911. rem.Name = "Ring"
  912. rem.Material = "Neon"
  913. rem.Size = Vector3.new(1, 1, 1)
  914. rem.Transparency = 1
  915. rem.TopSurface = 0
  916. rem.BottomSurface = 0
  917. rem.CFrame = hite.CFrame
  918. local rem2 = rem:Clone()
  919. rem2.Parent = char
  920. rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0)
  921. local rem3 = rem:Clone()
  922. rem3.Parent = char
  923. rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0)
  924. local rem4 = rem:Clone()
  925. rem4.Parent = char
  926. rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0)
  927. hite:Destroy()
  928. coroutine.resume(coroutine.create(function()
  929. for i = 0, 24 do
  930. swait(1)
  931. if randomrotations == 1 then
  932. rot = rot + 1
  933. elseif randomrotations == 2 then
  934. rot = rot - 1
  935. end
  936. power = power + 0.5
  937. lookv = lookv + 7.5
  938. rem.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(rot), 0)
  939. rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0)
  940. rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0)
  941. rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0)
  942. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  943. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  944. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  945. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  946. end
  947. end))
  948. attack = false
  949. end
  950.  
  951. function Star_Cutter()
  952. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  953. if HITFLOOR ~= nil then
  954. ATTACK = true
  955. Rooted = true
  956. local GYRO = IT("BodyGyro",RootPart)
  957. GYRO.D = 100
  958. GYRO.P = 2000
  959. GYRO.MaxTorque = VT(0,4000000,0)
  960. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  961. CreateSound("429459101", RightArm, 10, 0.8)
  962. for i=0, 3.5, 0.1 / Animation_Speed do
  963. Swait()
  964. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  965. 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))),"Dark red",VT(-0.01,0,-0.01))
  966. 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)
  967. 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)
  968. 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)
  969. 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)
  970. 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)
  971. 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)
  972. end
  973. GYRO:remove()
  974. for i=0, 0.15, 0.1 / Animation_Speed do
  975. Swait()
  976. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  977. 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))),"Dark red",VT(-0.01,0,-0.01))
  978. 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)
  979. 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)
  980. 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)
  981. 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)
  982. 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)
  983. 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)
  984. end
  985. local BOMBSPOTS = {}
  986. for i = 1, 25 do
  987. local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Dark red", "Blade", VT(8,1,8))
  988. SPOT.Color = SKILLTEXTCOLOR
  989. SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5)
  990. table.insert(BOMBSPOTS,SPOT)
  991. MakeForm(SPOT,"Cyl")
  992. end
  993. for i=0, 0.2, 0.1 / Animation_Speed do
  994. Swait()
  995. 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)
  996. 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)
  997. 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)
  998. 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)
  999. 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)
  1000. 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)
  1001. end
  1002. ATTACK = false
  1003. Rooted = false
  1004. coroutine.resume(coroutine.create(function()
  1005. Swait(3)
  1006. for i = 1, #BOMBSPOTS do
  1007. if BOMBSPOTS[i] ~= nil then
  1008. local E = BOMBSPOTS[i]
  1009. coroutine.resume(coroutine.create(function()
  1010. local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Dark red", "Blade", VT(0,0,0))
  1011. BLADE.Color = SKILLTEXTCOLOR
  1012. CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0))
  1013. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6)
  1014. BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15)))
  1015. for i = 1, 10 do
  1016. Swait()
  1017. MagicSphere(VT(1,1,1)/5,65,CF(E.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0),C3(1,1,1),VT(0,0,0))
  1018. killnearest(BLADE.Position,6,80)
  1019. BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0)
  1020. BLADE.Transparency = BLADE.Transparency - 0.1
  1021. end
  1022. Swait(45)
  1023. for i = 1, 100 do
  1024. Swait()
  1025. BLADE.Transparency = BLADE.Transparency + 0.01
  1026. E.Transparency = E.Transparency + 0.01
  1027. end
  1028. BLADE:remove()
  1029. E:remove()
  1030. end))
  1031. end
  1032. end
  1033. end))
  1034. end
  1035. end
  1036.  
  1037. function Supernova()
  1038. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  1039. if HITFLOOR ~= nil then
  1040. local HITBODIES = {}
  1041. ATTACK = true
  1042. Rooted = true
  1043. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Crimson", "Star", VT(0,0,0))
  1044. MakeForm(ABSOLUTE,"Ball")
  1045. CreateSound("429459101", ABSOLUTE, 10, 1)
  1046. for i=0, 4, 0.1 / Animation_Speed do
  1047. Swait()
  1048. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2)
  1049. ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0)
  1050. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  1051. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Crimson", "Star", VT(1,1,1))
  1052. MakeForm(CHARGE,"Ball")
  1053. CHARGE.Color = C3(.5,0,0)
  1054. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15))
  1055. FireArc(CHARGE,ABSOLUTE.Position,45,45,true)
  1056. 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)
  1057. 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)
  1058. 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)
  1059. 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)
  1060. 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)
  1061. 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)
  1062. end
  1063. CreateSound("907330103", Head, 10, 1.2)
  1064. for i = 1, 75 do
  1065. Swait()
  1066. 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)
  1067. 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)
  1068. 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)
  1069. 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)
  1070. 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)
  1071. 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)
  1072. end
  1073. coroutine.resume(coroutine.create(function()
  1074. for i = 1, 13 do
  1075. for e = 1, 8 do
  1076. Swait()
  1077. MagicSphere(VT(1,1,1),15,CF(ABSOLUTE.Position)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(1,1,1),VT(0,0,0))
  1078. CreateSwirl(ABSOLUTE.Size/2,15,CF(HITPOS),true,15,BRICKC"Slime green".Color,VT(i,0.3,i)*2)
  1079. end
  1080. for i = 1, 5 do
  1081. 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)
  1082. 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))
  1083. end
  1084. CreateSwirl(ABSOLUTE.Size/2,25,CF(ABSOLUTE.Position),true,-25,BRICKC"Crimson".Color,VT(i,i*2,i))
  1085. CreateSwirl(ABSOLUTE.Size/2,55,CF(ABSOLUTE.Position),true,25,C3(255,0,0),VT(i,i*2,i))
  1086. CreateSound("168586621", ABSOLUTE, 4, 0.8)
  1087. CreateSound("201858144", ABSOLUTE, 10, 0.8)
  1088. killnearest(ABSOLUTE.Position,i*18,i)
  1089. ABSOLUTE.Size = ABSOLUTE.Size*0.9
  1090. MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Crimson".Color,VT(i,i,i)/1.1)
  1091. MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(.5,0,0),VT(i,i,i))
  1092. end
  1093. ABSOLUTE.Transparency = 1
  1094. Debris:AddItem(ABSOLUTE,10)
  1095. end))
  1096. ATTACK = false
  1097. Rooted = false
  1098. end
  1099. end
  1100.  
  1101. local Decal = IT("Decal")
  1102.  
  1103. function Astral_Hop()
  1104. ATTACK = true
  1105. Rooted = false
  1106. local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Crimson", "Warphole", VT(0,0,0))
  1107. O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(0),RAD(0))
  1108. local decal = Decal:Clone()
  1109. decal.Parent = O1
  1110. decal.Face = "Top"
  1111. decal.Texture = "http://www.roblox.com/asset/?id=127817290"
  1112. local decal2 = Decal:Clone()
  1113. decal2.Parent = O1
  1114. decal2.Face = "Bottom"
  1115. decal2.Texture = "http://www.roblox.com/asset/?id=127817290"
  1116. local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Crimson", "Warphole", VT(0,0,0))
  1117. local POS = VT(RootPart.Position.X,Mouse.Hit.p.Y+6,RootPart.Position.Z)
  1118. O2.CFrame = CF(Mouse.Hit.p+VT(0,6,0),POS)*ANGLES(RAD(90),RAD(0),RAD(0))
  1119. local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Crimson", "Warphole", VT(0,0,0))
  1120. ROOT.CFrame = CF(O2.Position,RootPart.Position)
  1121. local decal = Decal:Clone()
  1122. decal.Parent = O2
  1123. decal.Face = "Top"
  1124. decal.Texture = "http://www.roblox.com/asset/?id=127817290"
  1125. local decal2 = Decal:Clone()
  1126. decal2.Parent = O2
  1127. decal2.Face = "Bottom"
  1128. decal2.Texture = "http://www.roblox.com/asset/?id=127817290"
  1129. CreateSound("84005018", O1, 10, 0.7)
  1130. CreateSound("84005018", O2, 10, 0.7)
  1131. for i = 1, 75 do
  1132. Swait()
  1133. O1.Size = O1.Size + VT(0.1,0,0.1)
  1134. O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(i),RAD(0))
  1135. O2.Size = O2.Size + VT(0.1,0,0.1)
  1136. O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
  1137. 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)
  1138. 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)
  1139. 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)
  1140. 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)
  1141. 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)
  1142. 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)
  1143. end
  1144. Rooted = true
  1145. UNANCHOR = false
  1146. RootPart.Anchored = true
  1147. VALUE1 = true
  1148. for i = 1, 15 do
  1149. Transparency(i/15)
  1150. Swait()
  1151. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.13)
  1152. 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)
  1153. 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)
  1154. 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)
  1155. 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)
  1156. 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)
  1157. 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)
  1158. end
  1159. RootPart.CFrame = ROOT.CFrame
  1160. ROOT:remove()
  1161. for i = 1, 15 do
  1162. Transparency(1-(i/15))
  1163. Swait()
  1164. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.5)
  1165. 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)
  1166. 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)
  1167. 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)
  1168. 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)
  1169. 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)
  1170. 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)
  1171. end
  1172. VALUE1 = false
  1173. coroutine.resume(coroutine.create(function()
  1174. for i = 1, 75 do
  1175. Swait()
  1176. O1.Size = O1.Size - VT(0.1,0,0.1)
  1177. O1.CFrame = O1.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
  1178. O2.Size = O2.Size - VT(0.1,0,0.1)
  1179. O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0))
  1180. end
  1181. O1:remove()
  1182. O2:remove()
  1183. end))
  1184. UNANCHOR = true
  1185. RootPart.Anchored = false
  1186. ATTACK = false
  1187. Rooted = false
  1188. end
  1189.  
  1190. --//=================================\\
  1191. --|| ASSIGN THINGS TO KEYS
  1192. --\\=================================//
  1193.  
  1194. function MouseDown(Mouse)
  1195. if ATTACK == false then
  1196. end
  1197. end
  1198.  
  1199. function MouseUp(Mouse)
  1200. HOLD = false
  1201. end
  1202.  
  1203. function KeyDown(Key)
  1204. KEYHOLD = true
  1205. if Key == "z" and ATTACK == false then
  1206. Lunar_Blast()
  1207. end
  1208.  
  1209. if Key == "v" and ATTACK == false then
  1210. scattercorrupt()
  1211. end
  1212.  
  1213. if Key == "b" and ATTACK == false then
  1214. Star_Cutter()
  1215. end
  1216.  
  1217. if Key == "c" and ATTACK == false then
  1218. Supernova()
  1219. end
  1220.  
  1221. if Key == "q" and ATTACK == false then
  1222. Astral_Hop()
  1223. end
  1224. end
  1225.  
  1226. function KeyUp(Key)
  1227. KEYHOLD = false
  1228. end
  1229.  
  1230. Mouse.Button1Down:connect(function(NEWKEY)
  1231. MouseDown(NEWKEY)
  1232. end)
  1233. Mouse.Button1Up:connect(function(NEWKEY)
  1234. MouseUp(NEWKEY)
  1235. end)
  1236. Mouse.KeyDown:connect(function(NEWKEY)
  1237. KeyDown(NEWKEY)
  1238. end)
  1239. Mouse.KeyUp:connect(function(NEWKEY)
  1240. KeyUp(NEWKEY)
  1241. end)
  1242.  
  1243. --//=================================\\
  1244. --\\=================================//
  1245.  
  1246.  
  1247. function unanchor()
  1248. if UNANCHOR == true then
  1249. g = Character:GetChildren()
  1250. for i = 1, #g do
  1251. if g[i].ClassName == "Part" then
  1252. g[i].Anchored = false
  1253. end
  1254. end
  1255. end
  1256. end
  1257.  
  1258.  
  1259. --//=================================\\
  1260. --|| WRAP THE WHOLE SCRIPT UP
  1261. --\\=================================//
  1262.  
  1263. Humanoid.Changed:connect(function(Jump)
  1264. if Jump == "Jump" and (Disable_Jump == true) then
  1265. Humanoid.Jump = false
  1266. end
  1267. end)
  1268.  
  1269. Humanoid.HipHeight = 2
  1270. Head:ClearAllChildren()
  1271. local FF = IT("ForceField",Character)
  1272. FF.Visible = false
  1273. Speed = 35
  1274.  
  1275. function refit()
  1276. RootJoint.Parent = RootPart
  1277. Neck.Parent = Torso
  1278. RightShoulder.Parent = Torso
  1279. LeftShoulder.Parent = Torso
  1280. RightHip.Parent = Torso
  1281. LeftHip.Parent = Torso
  1282. RootPart.Parent = Character
  1283. LeftArm.Parent = Character
  1284. RightArm.Parent = Character
  1285. RightLeg.Parent = Character
  1286. LeftLeg.Parent = Character
  1287. Torso.Parent = Character
  1288. Head.Parent = Character
  1289. end
  1290.  
  1291. local FOUNDFORGOTTEN = false
  1292.  
  1293. while true do
  1294. Swait()
  1295. ANIMATE.Parent = nil
  1296. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1297. IDLEANIMATION:Play()
  1298. SINE = SINE + CHANGE
  1299. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1300. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1301. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1302. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  1303. if ATTACK == false then
  1304. if TORSOVELOCITY < 1 then
  1305. 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)
  1306. 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)
  1307. 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)
  1308. 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)
  1309. 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)
  1310. 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)
  1311. elseif TORSOVELOCITY > 1 then
  1312. 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)
  1313. 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)
  1314. 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)
  1315. 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)
  1316. 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)
  1317. 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)
  1318. end
  1319. end
  1320. unanchor()
  1321. Humanoid.MaxHealth = "inf"
  1322. Humanoid.Health = "inf"
  1323. if Rooted == false then
  1324. Disable_Jump = false
  1325. Humanoid.WalkSpeed = Speed
  1326. elseif Rooted == true then
  1327. Disable_Jump = true
  1328. Humanoid.WalkSpeed = 0
  1329. end
  1330. for _, c in pairs(Character:GetChildren()) do
  1331. if c.ClassName == "Part" then
  1332. c.Material = "Neon"
  1333. if c:FindFirstChildOfClass("ParticleEmitter") then
  1334. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1335. end
  1336. if c == Torso then
  1337. c.Color = C3(0,0,0)
  1338. elseif c == RightArm then
  1339. c.Color = C3(.1,0,0)
  1340. elseif c == LeftArm then
  1341. c.Color = C3(.1,0,0)
  1342. elseif c == RightLeg then
  1343. c.Color = C3(0.03,0,0.03)
  1344. elseif c == LeftLeg then
  1345. c.Color = C3(0.03,0,0.03)
  1346. elseif c == Head then
  1347. if c:FindFirstChild("Dominus") == nil then
  1348. local M = CreateMesh("SpecialMesh", c, "FileMesh", "391929045", "391929221", VT(1,1,1)*1.1, VT(0,0,0))
  1349. M.Name = "Dominus"
  1350. end
  1351. if c:FindFirstChild("face") then
  1352. c.face:remove()
  1353. end
  1354. end
  1355. elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1356. c:remove()
  1357. end
  1358. end
  1359. FF.Parent = Character
  1360. sick.Parent = Character
  1361. refit()
  1362. script.Parent = WEAPONGUI
  1363. Character.Parent = workspace
  1364. Humanoid.PlatformStand = false
  1365. Humanoid.Name = "Astra"
  1366. for _, c in pairs(game.Players:GetChildren()) do
  1367. if c.Character ~= nil then
  1368. if c.Character.Parent ~= workspace and c.Character.Parent ~= nil then
  1369. c.Character:BreakJoints()
  1370. end
  1371. end
  1372. end
  1373. FOUNDFORGOTTEN = false
  1374. Humanoid.DisplayDistanceType = "None"
  1375. for _, c in pairs(workspace:GetChildren()) do
  1376. if c.ClassName == "Model" then
  1377. for _, q in pairs(c:GetChildren()) do
  1378. if q.Name == ("Forgotten Dominus") then
  1379. FOUNDFORGOTTEN = true
  1380. end
  1381. end
  1382. end
  1383. end
  1384. if FOUNDFORGOTTEN == true then
  1385. sick:Stop()
  1386. else
  1387. sick.Playing = true
  1388. end
  1389. if VALUE1 == false then
  1390. 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))
  1391. end
  1392. end
  1393.  
  1394. --//=================================\\
  1395. --\\=================================//
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401. --//====================================================\\--
  1402. --|| END OF SCRIPT
  1403. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement