Advertisement
5sdfsadgaq5465

Micheal The Killer

Apr 19th, 2019
441
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.42 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://614032233"
  27. sick.Looped = true
  28. sick.Pitch = 1
  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 = "Micheal the Killer"
  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. local top = Instance.new("Shirt")
  513. top.ShirtTemplate = "rbxassetid://12786196"
  514. top.Parent = Character
  515. top.Name = "Cloth"
  516. local bottom = Instance.new("Pants")
  517. bottom.PantsTemplate = "rbxassetid://326190288"
  518. bottom.Parent = Character
  519. bottom.Name = "Cloth"
  520. Humanoid.Died:connect(function()
  521. Humanoid.Parent = nil
  522. Humanoid.MaxHealth = "inf"
  523. Humanoid.Health = "inf"
  524. refit()
  525. Humanoid.Parent = Character
  526. CreateSound("907330011", Head, 10, 0.8)
  527. end)
  528. 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")
  529. 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")
  530. 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")
  531. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Limit Bomb", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 1")
  532. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Bat Wave", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 2")
  533. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Final Limit", SKILLTEXTCOLOR, 10, "Fantasy", 0, 2, 0, "Text 3")
  534. 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")
  535. local SKILLETEXT = CreateLabel(SKILLEFRAME, "[Q] Wing Hop", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0, "Text Warp")
  536. function killnearest(position, range, maxstrength)
  537. for i, v in ipairs(workspace:GetChildren()) do
  538. do
  539. local body = v:GetChildren()
  540. for part = 1, #body do
  541. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then
  542. if v.ClassName == "Model" then
  543. v:BreakJoints()
  544. end
  545. local bv = Instance.new("BodyVelocity")
  546. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  547. bv.velocity = CF(position, body[part].Position).lookVector * maxstrength
  548. bv.Parent = body[part]
  549. Debris:AddItem(bv, 0.2)
  550. body[part].Parent = Effects
  551. body[part].Material = "Neon"
  552. body[part].Color = C3(0, 0, 0)
  553. body[part].CanCollide = true
  554. coroutine.resume(coroutine.create(function()
  555. wait(5)
  556. if body[part].Parent == Effects then
  557. body[part]:remove()
  558. end
  559. end))
  560. end
  561. end
  562. if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then
  563. v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength
  564. end
  565. end
  566. end
  567. end
  568. function Limit_Bomb()
  569. local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, SKILLTEXTCOLOR, "CenterPart", VT(0, 0, 0))
  570. local RAY = CreatePart(3, Effects, "Neon", 0, 1, C3(0, 0, 0), "Laser01", VT(25, 25, 25))
  571. RAY.Color = SKILLTEXTCOLOR
  572. MakeForm(RAY, "Ball")
  573. local ECH = Mouse.Hit.p
  574. CENTER.CFrame = CF(Mouse.Hit.p)
  575. RAY.CFrame = CENTER.CFrame
  576. for i = 1, 120 do
  577. Swait()
  578. RAY.Size = RAY.Size * 0.99
  579. RAY.Transparency = RAY.Transparency - 0.016666666666666666
  580. end
  581. killnearest(ECH, 35, 250)
  582. MagicSphere(VT(0, 0, 0), 45, CF(ECH), C3(0, 0, 0), VT(2, 2, 2))
  583. 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))
  584. CreateSound("178452217", CENTER, 10, 1)
  585. Debris:AddItem(CENTER, 5)
  586. RAY:remove()
  587. end
  588. function Bat_Wave()
  589. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
  590. if HITFLOOR ~= nil then
  591. ATTACK = true
  592. Rooted = true
  593. do
  594. local BAT = CreatePart(3, Effects, "Neon", 0, 1, SKILLTEXTCOLOR, "BatBody", VT(3, 3, 3))
  595. BAT.Color = C3(0, 0, 0)
  596. MakeForm(BAT, "Ball")
  597. CreateSound("1177785010", BAT, 10, 1)
  598. for i = 1, 25 do
  599. Swait()
  600. BAT.CFrame = RootPart.CFrame * CF(0, 5, 0)
  601. BAT.Transparency = BAT.Transparency - 0.04
  602. 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)
  603. 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)
  604. 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)
  605. 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)
  606. 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)
  607. 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)
  608. end
  609. local GYRO = IT("BodyGyro", RootPart)
  610. GYRO.D = 100
  611. GYRO.P = 2000
  612. GYRO.MaxTorque = VT(0, 4000000, 0)
  613. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  614. local WING = CreatePart(3, BAT, "Neon", 0, 1, SKILLTEXTCOLOR, "BatWings", VT(2, 2, 2))
  615. WING.Color = C3(0, 0, 0)
  616. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  617. local MSH = CreateMesh("SpecialMesh", WING, "FileMesh", "93715902", "", VT(0, 0, 2), VT(0, 0, 0))
  618. for i = 1, 15 do
  619. Swait()
  620. BAT.CFrame = RootPart.CFrame * CF(0, 5, 0)
  621. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  622. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  623. WING.Transparency = WING.Transparency - 0.06666666666666667
  624. MSH.Scale = MSH.Scale + VT(0.15, 0.1, 0)
  625. 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)
  626. 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)
  627. 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)
  628. 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)
  629. 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)
  630. 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)
  631. end
  632. coroutine.resume(coroutine.create(function()
  633. local LOOP = 0
  634. for i = 1, 70 do
  635. LOOP = LOOP + 1
  636. Swait()
  637. if i < 18 then
  638. MSH.Scale = MSH.Scale + VT(0, 0, 0.3)
  639. MSH.Offset = MSH.Offset + VT(0, 0, 0.3)
  640. end
  641. BAT.CFrame = BAT.CFrame * CF(0, 0, -2)
  642. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  643. if LOOP == 15 then
  644. LOOP = 0
  645. killnearest(VT(BAT.Position.X, HITPOS.Y, BAT.Position.Z), 25, 25)
  646. CreateSound("201858087", BAT, 10, 1)
  647. 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))
  648. end
  649. end
  650. killnearest(BAT.Position, 35, 250)
  651. MagicSphere(VT(0, 0, 0), 45, CF(BAT.Position), C3(0, 0, 0), VT(2, 2, 2))
  652. 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))
  653. CreateSound("178452217", BAT, 10, 1)
  654. WING:remove()
  655. BAT.Transparency = 1
  656. Debris:AddItem(BAT, 5)
  657. end))
  658. GYRO:remove()
  659. ATTACK = false
  660. Rooted = false
  661. end
  662. end
  663. end
  664. function Final_Limit()
  665. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  666. if HITFLOOR ~= nil then
  667. do
  668. local HITBODIES = {}
  669. ATTACK = true
  670. Rooted = true
  671. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "SuperNova", VT(0, 0, 0))
  672. ABSOLUTE.Color = C3(0, 0, 0)
  673. MakeForm(ABSOLUTE, "Ball")
  674. CreateSound("814168787", ABSOLUTE, 10, 0.3)
  675. CreateSound("1177785010", ABSOLUTE, 10, 0.4)
  676. for i = 0, 4, 0.1 / Animation_Speed do
  677. Swait()
  678. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
  679. ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
  680. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  681. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1, 1, 1))
  682. MakeForm(CHARGE, "Ball")
  683. CHARGE.Color = C3(0, 0, 0)
  684. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -6, MRANDOM(-15, 15))
  685. FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
  686. 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)
  687. 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)
  688. 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)
  689. 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)
  690. 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)
  691. 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)
  692. end
  693. local WING = CreatePart(3, ABSOLUTE, "Neon", 0, 1, SKILLTEXTCOLOR, "BatWings", VT(2, 2, 2))
  694. WING.Color = C3(0, 0, 0)
  695. WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
  696. local MSH = CreateMesh("SpecialMesh", WING, "FileMesh", "93715902", "", VT(0, 0, 2), VT(0, 2, 0))
  697. for i = 1, 15 do
  698. Swait()
  699. WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
  700. WING.Transparency = WING.Transparency - 0.06666666666666667
  701. MSH.Scale = MSH.Scale + VT(0.6, 0.4, 0)
  702. 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)
  703. 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)
  704. 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)
  705. 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)
  706. 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)
  707. 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)
  708. end
  709. for i = 1, 15 do
  710. Swait()
  711. WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
  712. WING.Transparency = WING.Transparency - 0.06666666666666667
  713. MSH.Scale = MSH.Scale + VT(0.65, -0.03, 0.8)
  714. MSH.Offset = MSH.Offset + VT(0, 0, 0.8)
  715. 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)
  716. 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)
  717. 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)
  718. 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)
  719. 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)
  720. 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)
  721. end
  722. coroutine.resume(coroutine.create(function()
  723. local LOOP = 0
  724. local ech = 0
  725. for i = 1, 250 do
  726. LOOP = LOOP + 1
  727. Swait()
  728. ABSOLUTE.CFrame = ABSOLUTE.CFrame * CF(0, 0, -0.15)
  729. WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
  730. 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)
  731. if LOOP == 25 then
  732. LOOP = 0
  733. ech = ech + 1
  734. killnearest(VT(ABSOLUTE.Position.X, HITPOS.Y, ABSOLUTE.Position.Z), 25 * ech, 25)
  735. CreateSound("201858087", ABSOLUTE, 10, 0.6)
  736. for i = 1, 5 do
  737. 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))
  738. 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))
  739. end
  740. end
  741. end
  742. for i = 1, 10 do
  743. Swait()
  744. WING.Transparency = WING.Transparency + 0.1
  745. end
  746. WING:remove()
  747. for i = 1, 10 do
  748. Swait()
  749. ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1
  750. end
  751. ABSOLUTE:remove()
  752. end))
  753. ATTACK = false
  754. Rooted = false
  755. end
  756. end
  757. end
  758. local Decal = IT("Decal")
  759. function Hop()
  760. ATTACK = true
  761. Rooted = false
  762. local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
  763. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
  764. local decal = Decal:Clone()
  765. decal.Parent = O1
  766. decal.Face = "Top"
  767. decal.Texture = "http://www.roblox.com/asset/?id=224019254"
  768. local decal2 = Decal:Clone()
  769. decal2.Parent = O1
  770. decal2.Face = "Bottom"
  771. decal2.Texture = "http://www.roblox.com/asset/?id=224019254"
  772. local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
  773. local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z)
  774. O2.CFrame = CF(Mouse.Hit.p + VT(0, 6, 0), POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  775. local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
  776. ROOT.CFrame = CF(O2.Position, RootPart.Position)
  777. local decal = Decal:Clone()
  778. decal.Parent = O2
  779. decal.Face = "Top"
  780. decal.Texture = "http://www.roblox.com/asset/?id=224019254"
  781. local decal2 = Decal:Clone()
  782. decal2.Parent = O2
  783. decal2.Face = "Bottom"
  784. decal2.Texture = "http://www.roblox.com/asset/?id=224019254"
  785. CreateSound("84005018", O1, 10, 0.7)
  786. CreateSound("84005018", O2, 10, 0.7)
  787. for i = 1, 75 do
  788. Swait()
  789. O1.Size = O1.Size + VT(0.1, 0, 0.1)
  790. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0))
  791. O2.Size = O2.Size + VT(0.1, 0, 0.1)
  792. O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  793. 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)
  794. 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)
  795. 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)
  796. 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)
  797. 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)
  798. 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)
  799. end
  800. Rooted = true
  801. UNANCHOR = false
  802. RootPart.Anchored = true
  803. VALUE1 = true
  804. for i = 1, 15 do
  805. Transparency(i / 15)
  806. Swait()
  807. RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.13)
  808. 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)
  809. 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)
  810. 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)
  811. 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)
  812. 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)
  813. 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)
  814. end
  815. RootPart.CFrame = ROOT.CFrame
  816. ROOT:remove()
  817. for i = 1, 15 do
  818. Transparency(1 - i / 15)
  819. Swait()
  820. RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.5)
  821. 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)
  822. 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)
  823. 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)
  824. 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)
  825. 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)
  826. 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)
  827. end
  828. VALUE1 = false
  829. coroutine.resume(coroutine.create(function()
  830. for i = 1, 75 do
  831. Swait()
  832. O1.Size = O1.Size - VT(0.1, 0, 0.1)
  833. O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  834. O2.Size = O2.Size - VT(0.1, 0, 0.1)
  835. O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  836. end
  837. O1:remove()
  838. O2:remove()
  839. end))
  840. UNANCHOR = true
  841. RootPart.Anchored = false
  842. ATTACK = false
  843. Rooted = false
  844. end
  845. function Roar()
  846. ATTACK = true
  847. Rooted = true
  848. local ROAR = CreateSound("834658541", Head, 10, 0.8)
  849. Swait()
  850. repeat
  851. Swait()
  852. ROAR.Parent = Head
  853. 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)
  854. 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)
  855. 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)
  856. 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)
  857. 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)
  858. 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)
  859. until ROAR.Playing == false
  860. ATTACK = false
  861. Rooted = false
  862. end
  863. function MouseDown(Mouse)
  864. if ATTACK == false then
  865. end
  866. end
  867. function MouseUp(Mouse)
  868. HOLD = false
  869. end
  870. function KeyDown(Key)
  871. KEYHOLD = true
  872. if Key == "z" and ATTACK == false then
  873. Limit_Bomb()
  874. end
  875. if Key == "b" and ATTACK == false then
  876. Bat_Wave()
  877. end
  878. if Key == "c" and ATTACK == false then
  879. Final_Limit()
  880. end
  881. if Key == "q" and ATTACK == false then
  882. Hop()
  883. end
  884. if Key == "t" and ATTACK == false then
  885. Roar()
  886. end
  887. end
  888. function KeyUp(Key)
  889. KEYHOLD = false
  890. end
  891. Mouse.Button1Down:connect(function(NEWKEY)
  892. MouseDown(NEWKEY)
  893. end)
  894. Mouse.Button1Up:connect(function(NEWKEY)
  895. MouseUp(NEWKEY)
  896. end)
  897. Mouse.KeyDown:connect(function(NEWKEY)
  898. KeyDown(NEWKEY)
  899. end)
  900. Mouse.KeyUp:connect(function(NEWKEY)
  901. KeyUp(NEWKEY)
  902. end)
  903. function unanchor()
  904. if UNANCHOR == true then
  905. g = Character:GetChildren()
  906. for i = 1, #g do
  907. if g[i].ClassName == "Part" then
  908. g[i].Anchored = false
  909. end
  910. end
  911. end
  912. end
  913. Humanoid.Changed:connect(function(Jump)
  914. if Jump == "Jump" and Disable_Jump == true then
  915. Humanoid.Jump = false
  916. end
  917. end)
  918. Humanoid.HipHeight = 2
  919. Head:ClearAllChildren()
  920. local FF = IT("ForceField", Character)
  921. FF.Visible = false
  922. Speed = 35
  923. function refit()
  924. RootJoint.Parent = RootPart
  925. Neck.Parent = Torso
  926. RightShoulder.Parent = Torso
  927. LeftShoulder.Parent = Torso
  928. RightHip.Parent = Torso
  929. LeftHip.Parent = Torso
  930. RootPart.Parent = Character
  931. LeftArm.Parent = Character
  932. RightArm.Parent = Character
  933. RightLeg.Parent = Character
  934. LeftLeg.Parent = Character
  935. Torso.Parent = Character
  936. Head.Parent = Character
  937. end
  938. local FOUNDFORGOTTEN = false
  939. while true do
  940. Swait()
  941. ANIMATE.Parent = nil
  942. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  943. IDLEANIMATION:Play()
  944. SINE = SINE + CHANGE
  945. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  946. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  947. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  948. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  949. if ATTACK == false then
  950. if TORSOVELOCITY < 1 then
  951. 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)
  952. 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)
  953. 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)
  954. 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)
  955. 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)
  956. 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)
  957. elseif TORSOVELOCITY > 1 then
  958. 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)
  959. 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)
  960. 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)
  961. 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)
  962. 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)
  963. 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)
  964. end
  965. end
  966. unanchor()
  967. Humanoid.MaxHealth = "inf"
  968. Humanoid.Health = "inf"
  969. if Rooted == false then
  970. Disable_Jump = false
  971. Humanoid.WalkSpeed = Speed
  972. elseif Rooted == true then
  973. Disable_Jump = true
  974. Humanoid.WalkSpeed = 0
  975. end
  976. for _, c in pairs(Character:GetChildren()) do
  977. if c.ClassName == "Part" then
  978. c.Material = "Neon"
  979. if c:FindFirstChildOfClass("ParticleEmitter") then
  980. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  981. end
  982. if c == Torso then
  983. c.Color = C3(0, 0, 0)
  984. elseif c == RightArm then
  985. c.Color = C3(0.058823529411764705, 0.09803921568627451, 0.058823529411764705)
  986. elseif c == LeftArm then
  987. c.Color = C3(0.058823529411764705, 0.09803921568627451, 0.058823529411764705)
  988. elseif c == RightLeg then
  989. c.Color = C3(0.0196078431372549, 0.03137254901960784, 0.0196078431372549)
  990. elseif c == LeftLeg then
  991. c.Color = C3(0.0196078431372549, 0.03137254901960784, 0.0196078431372549)
  992. elseif c == Head then
  993. if c:FindFirstChild("Dominus") == nil then
  994. local M = CreateMesh("SpecialMesh", c, "FileMesh", "96102993", "96103063", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
  995. M.Name = "Dominus"
  996. end
  997. if c:FindFirstChild("face") then
  998. c.face:remove()
  999. end
  1000. end
  1001. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1002. c:remove()
  1003. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1004. c:remove()
  1005. end
  1006. end
  1007. FF.Parent = Character
  1008. sick.Parent = Character
  1009. refit()
  1010. script.Parent = WEAPONGUI
  1011. Character.Parent = workspace
  1012. Humanoid.PlatformStand = false
  1013. Humanoid.Name = "Vespertilio"
  1014. for _, c in pairs(game.Players:GetChildren()) do
  1015. if c.Character ~= nil and c.Character.Parent ~= workspace and c.Character.Parent ~= nil then
  1016. c.Character:BreakJoints()
  1017. end
  1018. end
  1019. FOUNDFORGOTTEN = false
  1020. Humanoid.DisplayDistanceType = "None"
  1021. for _, c in pairs(workspace:GetChildren()) do
  1022. if c.ClassName == "Model" then
  1023. for _, q in pairs(c:GetChildren()) do
  1024. if q.Name == "Forgotten Dominus" then
  1025. FOUNDFORGOTTEN = true
  1026. end
  1027. end
  1028. end
  1029. end
  1030. if FOUNDFORGOTTEN == true then
  1031. sick:Stop()
  1032. else
  1033. sick.Playing = true
  1034. end
  1035. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement