metilol

dfg dominum

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