Advertisement
GojiGaming1337

Untitled

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