Toey8415

haha

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