Advertisement
GojiGaming1337

Untitled

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