Advertisement
5sdfsadgaq5465

Micheal The Killer FE

Apr 19th, 2019
817
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by Mokiros")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83.  
  84. -- Synapse Decompiler
  85. -- Purchase Here: https://brack4712.xyz/synapse/purchase/
  86.  
  87. wait(0.2)
  88. Player = owner
  89. PlayerGui = Player.PlayerGui
  90. Cam = workspace.CurrentCamera
  91. Backpack = Player.Backpack
  92. Character = Player.Character
  93. Humanoid = Character.Humanoid
  94. RootPart = Character.HumanoidRootPart
  95. Torso = Character.Torso
  96. Head = Character.Head
  97. RightArm = Character["Right Arm"]
  98. LeftArm = Character["Left Arm"]
  99. RightLeg = Character["Right Leg"]
  100. LeftLeg = Character["Left Leg"]
  101. RootJoint = RootPart.RootJoint
  102. Neck = Torso.Neck
  103. RightShoulder = Torso["Right Shoulder"]
  104. LeftShoulder = Torso["Left Shoulder"]
  105. RightHip = Torso["Right Hip"]
  106. LeftHip = Torso["Left Hip"]
  107. local sick = Instance.new("Sound", Character)
  108. sick.SoundId = "rbxassetid://733456981"
  109. sick.Looped = true
  110. sick.Pitch = 1
  111. sick.Volume = 2
  112. sick.TimePosition = 115.5
  113. sick:Play()
  114. IT = Instance.new
  115. CF = CFrame.new
  116. VT = Vector3.new
  117. RAD = math.rad
  118. C3 = Color3.new
  119. UD2 = UDim2.new
  120. BRICKC = BrickColor.new
  121. ANGLES = CFrame.Angles
  122. EULER = CFrame.fromEulerAnglesXYZ
  123. COS = math.cos
  124. ACOS = math.acos
  125. SIN = math.sin
  126. ASIN = math.asin
  127. ABS = math.abs
  128. MRANDOM = math.random
  129. FLOOR = math.floor
  130. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  131. local NEWMESH = IT(MESH)
  132. if MESH == "SpecialMesh" then
  133. NEWMESH.MeshType = MESHTYPE
  134. if MESHID ~= "nil" and MESHID ~= "" then
  135. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  136. end
  137. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  138. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  139. end
  140. end
  141. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  142. NEWMESH.Scale = SCALE
  143. NEWMESH.Parent = PARENT
  144. return NEWMESH
  145. end
  146. function ApplyAoE(POSITION,RANGE,ISBANISH)
  147. local CHILDREN = workspace:GetDescendants()
  148. for index, CHILD in pairs(CHILDREN) do
  149. if CHILD.ClassName == "Model" and CHILD ~= Character then
  150. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  151. if HUM then
  152. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  153. if TORSO then
  154. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  155. if ISBANISH == true then
  156. Banish(CHILD)
  157. else
  158. if ISBANISH == "Gravity" then
  159. HUM.PlatformStand = true
  160. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  161. local grav = Instance.new("BodyPosition",TORSO)
  162. grav.D = 15
  163. grav.P = 20000
  164. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  165. grav.position = TORSO.Position
  166. grav.Name = "V3BanishForce"..Player.Name
  167. else
  168. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  169. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  170. end
  171. else
  172. HUM.PlatformStand = false
  173. end
  174. end
  175. elseif ISBANISH == "Gravity" then
  176. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  177. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  178. HUM.PlatformStand = false
  179. end
  180. end
  181. end
  182. end
  183. end
  184. end
  185. end
  186. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  187. if FLOOR ~= nil then
  188. for i = 1, AMOUNT do
  189. do
  190. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  191. DEBREE.Material = FLOOR.Material
  192. DEBREE.Color = FLOOR.Color
  193. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  194. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH))
  195. coroutine.resume(coroutine.create(function()
  196. Swait(15)
  197. DEBREE.Parent = workspace
  198. DEBREE.CanCollide = true
  199. Debris:AddItem(DEBREE, SWAIT)
  200. end))
  201. end
  202. end
  203. end
  204. end
  205. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  206. local NEWPART = IT("Part")
  207. NEWPART.formFactor = FORMFACTOR
  208. NEWPART.Reflectance = REFLECTANCE
  209. NEWPART.Transparency = TRANSPARENCY
  210. NEWPART.CanCollide = false
  211. NEWPART.Locked = true
  212. NEWPART.Anchored = true
  213. if ANCHOR == false then
  214. NEWPART.Anchored = false
  215. end
  216. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  217. NEWPART.Name = NAME
  218. NEWPART.Size = SIZE
  219. NEWPART.Position = Torso.Position
  220. NEWPART.Material = MATERIAL
  221. NEWPART:BreakJoints()
  222. NEWPART.Parent = PARENT
  223. return NEWPART
  224. end
  225. Player_Size = 1
  226. Animation_Speed = 3
  227. Frame_Speed = 0.016666666666666666
  228. local Speed = 16
  229. local Effects2 = {}
  230. local weldBetween = function(a, b)
  231. local weldd = Instance.new("ManualWeld")
  232. weldd.Part0 = a
  233. weldd.Part1 = b
  234. weldd.C0 = CFrame.new()
  235. weldd.C1 = b.CFrame:inverse() * a.CFrame
  236. weldd.Parent = a
  237. return weldd
  238. end
  239. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  240. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  241. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  242. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  243. local CHANGEDEFENSE = 0
  244. local CHANGEDAMAGE = 0
  245. local CHANGEMOVEMENT = 0
  246. local ANIM = "Idle"
  247. local ATTACK = false
  248. local EQUIPPED = false
  249. local HOLD = false
  250. local COMBO = 1
  251. local Rooted = false
  252. local SINE = 0
  253. local KEYHOLD = false
  254. local CHANGE = 2 / Animation_Speed
  255. local WALKINGANIM = false
  256. local WALK = 0
  257. local VALUE1 = false
  258. local VALUE2 = false
  259. local ROBLOXIDLEANIMATION = IT("Animation")
  260. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  261. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  262. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  263. WEAPONGUI.Name = "Weapon GUI"
  264. local Effects = IT("Folder", Character)
  265. Effects.Name = "Effects"
  266. local ANIMATOR = Humanoid.Animator
  267. local ANIMATE = Character.Animate
  268. local HITPLAYERSOUNDS = {
  269. "263032172",
  270. "263032182",
  271. "263032200",
  272. "263032221",
  273. "263032252",
  274. "263033191"
  275. }
  276. local HITARMORSOUNDS = {
  277. "199149321",
  278. "199149338",
  279. "199149367",
  280. "199149409",
  281. "199149452"
  282. }
  283. local HITWEAPONSOUNDS = {
  284. "199148971",
  285. "199149025",
  286. "199149072",
  287. "199149109",
  288. "199149119"
  289. }
  290. local SIZE = 1
  291. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  292. local UNANCHOR = true
  293. local SKILLTEXTCOLOR = C3(0.058823529411764705, 0.09803921568627451, 0.058823529411764705)
  294. ArtificialHB = Instance.new("BindableEvent", script)
  295. ArtificialHB.Name = "ArtificialHB"
  296. script:WaitForChild("ArtificialHB")
  297. frame = Frame_Speed
  298. tf = 0
  299. allowframeloss = false
  300. tossremainder = false
  301. lastframe = tick()
  302. script.ArtificialHB:Fire()
  303. game:GetService("RunService").Heartbeat:connect(function(s, p)
  304. tf = tf + s
  305. if tf >= frame then
  306. if allowframeloss then
  307. script.ArtificialHB:Fire()
  308. lastframe = tick()
  309. else
  310. for i = 1, math.floor(tf / frame) do
  311. script.ArtificialHB:Fire()
  312. end
  313. lastframe = tick()
  314. end
  315. if tossremainder then
  316. tf = 0
  317. else
  318. tf = tf - frame * math.floor(tf / frame)
  319. end
  320. end
  321. end)
  322. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  323. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  324. end
  325. function PositiveAngle(NUMBER)
  326. if NUMBER >= 0 then
  327. NUMBER = 0
  328. end
  329. return NUMBER
  330. end
  331. function NegativeAngle(NUMBER)
  332. if NUMBER <= 0 then
  333. NUMBER = 0
  334. end
  335. return NUMBER
  336. end
  337. function Swait(NUMBER)
  338. if NUMBER == 0 or NUMBER == nil then
  339. ArtificialHB.Event:wait()
  340. else
  341. for i = 1, NUMBER do
  342. ArtificialHB.Event:wait()
  343. end
  344. end
  345. end
  346. function QuaternionFromCFrame(cf)
  347. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  348. local trace = m00 + m11 + m22
  349. if trace > 0 then
  350. local s = math.sqrt(1 + trace)
  351. local recip = 0.5 / s
  352. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  353. else
  354. local i = 0
  355. if m00 < m11 then
  356. i = 1
  357. end
  358. if m22 > (i == 0 and m00 or m11) then
  359. i = 2
  360. end
  361. if i == 0 then
  362. local s = math.sqrt(m00 - m11 - m22 + 1)
  363. local recip = 0.5 / s
  364. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  365. elseif i == 1 then
  366. local s = math.sqrt(m11 - m22 - m00 + 1)
  367. local recip = 0.5 / s
  368. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  369. elseif i == 2 then
  370. local s = math.sqrt(m22 - m00 - m11 + 1)
  371. local recip = 0.5 / s
  372. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  373. end
  374. end
  375. end
  376. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  377. local xs, ys, zs = x + x, y + y, z + z
  378. local wx, wy, wz = w * xs, w * ys, w * zs
  379. local xx = x * xs
  380. local xy = x * ys
  381. local xz = x * zs
  382. local yy = y * ys
  383. local yz = y * zs
  384. local zz = z * zs
  385. 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))
  386. end
  387. function QuaternionSlerp(a, b, t)
  388. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  389. local startInterp, finishInterp
  390. if cosTheta >= 1.0E-4 then
  391. if 1 - cosTheta > 1.0E-4 then
  392. local theta = ACOS(cosTheta)
  393. local invSinTheta = 1 / SIN(theta)
  394. startInterp = SIN((1 - t) * theta) * invSinTheta
  395. finishInterp = SIN(t * theta) * invSinTheta
  396. else
  397. startInterp = 1 - t
  398. finishInterp = t
  399. end
  400. elseif 1 + cosTheta > 1.0E-4 then
  401. local theta = ACOS(-cosTheta)
  402. local invSinTheta = 1 / SIN(theta)
  403. startInterp = SIN((t - 1) * theta) * invSinTheta
  404. finishInterp = SIN(t * theta) * invSinTheta
  405. else
  406. startInterp = t - 1
  407. finishInterp = t
  408. end
  409. 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
  410. end
  411. function Clerp(a, b, t)
  412. local qa = {
  413. QuaternionFromCFrame(a)
  414. }
  415. local qb = {
  416. QuaternionFromCFrame(b)
  417. }
  418. local ax, ay, az = a.x, a.y, a.z
  419. local bx, by, bz = b.x, b.y, b.z
  420. local _t = 1 - t
  421. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  422. end
  423. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  424. local frame = IT("Frame")
  425. frame.BackgroundTransparency = TRANSPARENCY
  426. frame.BorderSizePixel = BORDERSIZEPIXEL
  427. frame.Position = POSITION
  428. frame.Size = SIZE
  429. frame.BackgroundColor3 = COLOR
  430. frame.BorderColor3 = BORDERCOLOR
  431. frame.Name = NAME
  432. frame.Parent = PARENT
  433. return frame
  434. end
  435. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  436. local label = IT("TextLabel")
  437. label.BackgroundTransparency = 1
  438. label.Size = UD2(1, 0, 1, 0)
  439. label.Position = UD2(0, 0, 0, 0)
  440. label.TextColor3 = TEXTCOLOR
  441. label.TextStrokeTransparency = STROKETRANSPARENCY
  442. label.TextTransparency = TRANSPARENCY
  443. label.FontSize = TEXTFONTSIZE
  444. label.Font = TEXTFONT
  445. label.BorderSizePixel = BORDERSIZEPIXEL
  446. label.TextScaled = false
  447. label.Text = TEXT
  448. label.Name = NAME
  449. label.Parent = PARENT
  450. return label
  451. end
  452. function NoOutlines(PART)
  453. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  454. end
  455. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  456. local NEWWELD = IT(TYPE)
  457. NEWWELD.Part0 = PART0
  458. NEWWELD.Part1 = PART1
  459. NEWWELD.C0 = C0
  460. NEWWELD.C1 = C1
  461. NEWWELD.Parent = PARENT
  462. return NEWWELD
  463. end
  464. local S = IT("Sound")
  465. function CreateSound(ID, PARENT, VOLUME, PITCH)
  466. local NEWSOUND
  467. coroutine.resume(coroutine.create(function()
  468. NEWSOUND = S:Clone()
  469. NEWSOUND.Parent = PARENT
  470. NEWSOUND.Volume = VOLUME
  471. NEWSOUND.Pitch = PITCH
  472. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  473. Swait()
  474. NEWSOUND:play()
  475. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  476. end))
  477. return NEWSOUND
  478. end
  479. function CFrameFromTopBack(at, top, back)
  480. local right = top:Cross(back)
  481. 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)
  482. end
  483. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  484. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  485. wave.Color = COLOR
  486. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  487. wave.CFrame = CFRAME
  488. coroutine.resume(coroutine.create(function(PART)
  489. for i = 1, WAIT do
  490. Swait()
  491. mesh.Scale = mesh.Scale + GROW
  492. if DOESROT == true then
  493. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  494. end
  495. wave.Transparency = wave.Transparency + 0.5 / WAIT
  496. if wave.Transparency > 0.99 then
  497. wave:remove()
  498. end
  499. end
  500. end))
  501. end
  502. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  503. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  504. wave.Color = COLOR
  505. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  506. wave.CFrame = CFRAME
  507. coroutine.resume(coroutine.create(function(PART)
  508. for i = 1, WAIT do
  509. Swait()
  510. mesh.Scale = mesh.Scale + GROW
  511. wave.Transparency = wave.Transparency + 1 / WAIT
  512. if wave.Transparency > 0.99 then
  513. wave:remove()
  514. end
  515. end
  516. end))
  517. end
  518. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  519. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  520. local mesh
  521. if KIND == "Base" then
  522. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  523. elseif KIND == "Thin" then
  524. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  525. elseif KIND == "Round" then
  526. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  527. end
  528. wave.CFrame = CFRAME
  529. coroutine.resume(coroutine.create(function(PART)
  530. for i = 1, WAIT do
  531. Swait()
  532. mesh.Scale = mesh.Scale + GROW / 10
  533. wave.Transparency = wave.Transparency + 0.5 / WAIT
  534. if wave.Transparency > 0.99 then
  535. wave:remove()
  536. end
  537. end
  538. end))
  539. end
  540. function MakeForm(PART, TYPE)
  541. if TYPE == "Cyl" then
  542. local MSH = IT("CylinderMesh", PART)
  543. elseif TYPE == "Ball" then
  544. local MSH = IT("SpecialMesh", PART)
  545. MSH.MeshType = "Sphere"
  546. elseif TYPE == "Wedge" then
  547. local MSH = IT("SpecialMesh", PART)
  548. MSH.MeshType = "Wedge"
  549. end
  550. end
  551. function CheckTableForString(Table, String)
  552. for i, v in pairs(Table) do
  553. if string.find(string.lower(String), string.lower(v)) then
  554. return true
  555. end
  556. end
  557. return false
  558. end
  559. function CheckIntangible(Hit)
  560. local ProjectileNames = {
  561. "Water",
  562. "Arrow",
  563. "Projectile",
  564. "Effect",
  565. "Rail",
  566. "Lightning",
  567. "Bullet"
  568. }
  569. if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
  570. return true
  571. end
  572. return false
  573. end
  574. Debris = game:GetService("Debris")
  575. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  576. local Direction = CFrame.new(StartPos, Vec).lookVector
  577. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  578. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  579. if RayHit and CheckIntangible(RayHit) then
  580. if DelayIfHit then
  581. wait()
  582. end
  583. RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
  584. end
  585. return RayHit, RayPos, RayNormal
  586. end
  587. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  588. if DoesCourontine == false then
  589. local Direction = CF(Part.Position, ToLocation)
  590. local Distance = (Part.Position - ToLocation).magnitude
  591. for i = 1, AmountOfTime do
  592. Swait()
  593. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  594. Direction = Part.CFrame
  595. end
  596. Part:remove()
  597. elseif DoesCourontine == true then
  598. coroutine.resume(coroutine.create(function()
  599. local Direction = CF(Part.Position, ToLocation)
  600. local Distance = (Part.Position - ToLocation).magnitude
  601. for i = 1, AmountOfTime do
  602. Swait()
  603. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  604. Direction = Part.CFrame
  605. end
  606. Part:remove()
  607. end))
  608. end
  609. end
  610. function turnto(position)
  611. RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  612. end
  613. local naeeym2 = Instance.new("BillboardGui", Character)
  614. naeeym2.AlwaysOnTop = true
  615. naeeym2.Size = UDim2.new(5, 35, 2, 15)
  616. naeeym2.StudsOffset = Vector3.new(0, 3, 0)
  617. naeeym2.Adornee = Character.Head
  618. naeeym2.Name = "Name"
  619. naeeym2.PlayerToHideFrom = Player
  620. local tecks2 = Instance.new("TextLabel", naeeym2)
  621. tecks2.BackgroundTransparency = 1
  622. tecks2.TextScaled = true
  623. tecks2.BorderSizePixel = 0
  624. tecks2.Text = "Micheal the Elemental King"
  625. tecks2.Font = "Fantasy"
  626. tecks2.TextSize = 30
  627. tecks2.TextStrokeTransparency = 0
  628. tecks2.TextColor3 = C3(0.058823529411764705, 0.09803921568627451, 0.058823529411764705)
  629. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  630. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  631. tecks2.Parent = naeeym2
  632. function Transparency(TRANS)
  633. tecks2.TextTransparency = TRANS
  634. tecks2.TextStrokeTransparency = TRANS
  635. for _, c in pairs(Character:GetChildren()) do
  636. if c.ClassName == "Part" and c ~= RootPart then
  637. c.Transparency = TRANS
  638. if c:FindFirstChildOfClass("Decal") then
  639. c:FindFirstChildOfClass("Decal").Transparency = TRANS
  640. end
  641. elseif c.ClassName == "Accessory" then
  642. c.Handle.Transparency = TRANS
  643. elseif c.ClassName == "Model" then
  644. for _, q in pairs(c:GetChildren()) do
  645. if q.ClassName == "Part" then
  646. q.Transparency = TRANS
  647. if q:FindFirstChildOfClass("Decal") then
  648. q:FindFirstChildOfClass("Decal").Transparency = TRANS
  649. end
  650. end
  651. end
  652. end
  653. end
  654. end
  655. local top = Instance.new("Shirt")
  656. top.ShirtTemplate = "rbxassetid://12786196"
  657. top.Parent = Character
  658. top.Name = "Cloth"
  659. local bottom = Instance.new("Pants")
  660. bottom.PantsTemplate = "rbxassetid://326190288"
  661. bottom.Parent = Character
  662. bottom.Name = "Cloth"
  663. Humanoid.Died:connect(function()
  664. Humanoid.Parent = nil
  665. Humanoid.MaxHealth = "inf"
  666. Humanoid.Health = "inf"
  667. refit()
  668. Humanoid.Parent = Character
  669. CreateSound("907330011", Head, 10, 0.8)
  670. end)
  671. 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")
  672. 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")
  673. 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")
  674. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Limit Bomb", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 1")
  675. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Bat Wave", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 2")
  676. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Final Limit", SKILLTEXTCOLOR, 10, "Fantasy", 0, 2, 0, "Text 3")
  677. 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")
  678. local SKILLETEXT = CreateLabel(SKILLEFRAME, "[Q] Wing Hop", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 0, "Text Warp")
  679. function freezenearest(position, range)
  680. for i, v in ipairs(workspace:GetChildren()) do
  681. local body = v:GetChildren()
  682. for part = 1, #body do
  683. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude and v.ClassName == "Model" and v:FindFirstChildOfClass("Humanoid") then
  684. v:BreakJoints()
  685. body[part].Material = "Ice"
  686. body[part].BrickColor = BRICKC("Medium blue")
  687. body[part].Anchored = true
  688. end
  689. end
  690. end
  691. end
  692. function killnearest(position, range, maxstrength)
  693. for i, v in ipairs(workspace:GetChildren()) do
  694. do
  695. local body = v:GetChildren()
  696. for part = 1, #body do
  697. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then
  698. if v.ClassName == "Model" then
  699. v:BreakJoints()
  700. end
  701. local bv = Instance.new("BodyVelocity")
  702. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  703. bv.velocity = CF(position, body[part].Position).lookVector * maxstrength
  704. bv.Parent = body[part]
  705. Debris:AddItem(bv, 0.2)
  706. body[part].Parent = Effects
  707. body[part].Material = "Neon"
  708. body[part].Color = C3(0, 0, 0)
  709. body[part].CanCollide = true
  710. coroutine.resume(coroutine.create(function()
  711. wait(5)
  712. if body[part].Parent == Effects then
  713. body[part]:remove()
  714. end
  715. end))
  716. end
  717. end
  718. if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then
  719. v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength
  720. end
  721. end
  722. end
  723. end
  724. function Sheer_Cold()
  725. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  726. if HITFLOOR ~= nil then
  727. local HITBODIES = {}
  728. ATTACK = true
  729. Rooted = true
  730. CreateSound("1225684085", RightArm, 10, 3)
  731. for i = 1, 120 do
  732. Swait()
  733. MagicSphere(VT(0, 0, 0), 15, CF(RightArm.CFrame * CF(0, -1.2, 0).p, RightArm.CFrame * CF(MRANDOM(-5, 5), -1.2 + MRANDOM(-25, 25), MRANDOM(-5, 5)).p), C3(0.5, 0.5, 1), VT(1, 0.1, 0.1))
  734. 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)
  735. 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)
  736. 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)
  737. 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)
  738. 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)
  739. 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)
  740. end
  741. CreateSound("160772554", RightArm, 10, 0.7)
  742. for i = 1, 25 do
  743. Swait()
  744. freezenearest(RootPart.Position, 80)
  745. 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)
  746. 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)
  747. 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)
  748. 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)
  749. 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)
  750. 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)
  751. end
  752. ATTACK = false
  753. Rooted = false
  754. end
  755. end
  756. function Lunar_Blast()
  757. local HITBODIES = {}
  758. local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly red", "CenterPart", VT(0,0,0))
  759. local HITFLOOR,ECH,NORMAL = Raycast(Mouse.Hit.p+VT(0,2,0), (CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0))).lookVector, 10000000, Character)
  760. CENTER.CFrame = CF(ECH)
  761. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Laser01", VT(25,99999,25))
  762. RAY.Color = C3(0.05,0.05,0.15)
  763. MakeForm(RAY,"Cyl")
  764. RAY.CFrame = CF(ECH)
  765. for i = 1, 75 do
  766. Swait()
  767. RAY.Transparency = RAY.Transparency - 1/75
  768. RAY.Size = RAY.Size - VT(25/75,0,25/75)
  769. MagicSphere(VT(1,1,1),15,CF(ECH)*CF(MRANDOM(-15,15),MRANDOM(0,100),MRANDOM(-15,15)),C3(1,1,1),VT(0,0,0))
  770. end
  771. killnearest(ECH,25,25)
  772. MagicSphere(VT(0,0,0),55,CF(ECH),C3(0.05,0.05,0.15),VT(2,2,2))
  773. for i = 1, 25 do
  774. MagicSphere(VT(1,1,1),i*3,CF(ECH)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(1,1,1),VT(0,0,0))
  775. end
  776. CreateSound("168586621", CENTER, 10, 0.8)
  777. RAY:remove()
  778. Debris:AddItem(CENTER,5)
  779. end
  780. function Limit_Bomb()
  781. local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, SKILLTEXTCOLOR, "CenterPart", VT(0, 0, 0))
  782. local RAY = CreatePart(3, Effects, "Neon", 0, 1, C3(0, 0, 0), "Laser01", VT(25, 25, 25))
  783. RAY.Color = SKILLTEXTCOLOR
  784. MakeForm(RAY, "Ball")
  785. local ECH = Mouse.Hit.p
  786. CENTER.CFrame = CF(Mouse.Hit.p)
  787. RAY.CFrame = CENTER.CFrame
  788. for i = 1, 120 do
  789. Swait()
  790. RAY.Size = RAY.Size * 0.99
  791. RAY.Transparency = RAY.Transparency - 0.016666666666666666
  792. end
  793. killnearest(ECH, 35, 250)
  794. MagicSphere(VT(0, 0, 0), 45, CF(ECH), C3(0, 0, 0), VT(2, 2, 2))
  795. 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))
  796. CreateSound("178452217", CENTER, 10, 1)
  797. Debris:AddItem(CENTER, 5)
  798. RAY:remove()
  799. end
  800. function Bat_Wave()
  801. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
  802. if HITFLOOR ~= nil then
  803. ATTACK = true
  804. Rooted = true
  805. do
  806. local BAT = CreatePart(3, Effects, "Neon", 0, 1, SKILLTEXTCOLOR, "BatBody", VT(3, 3, 3))
  807. BAT.Color = C3(0, 0, 0)
  808. MakeForm(BAT, "Ball")
  809. CreateSound("1177785010", BAT, 10, 1)
  810. for i = 1, 25 do
  811. Swait()
  812. BAT.CFrame = RootPart.CFrame * CF(0, 5, 0)
  813. BAT.Transparency = BAT.Transparency - 0.04
  814. 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)
  815. 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)
  816. 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)
  817. 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)
  818. 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)
  819. 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)
  820. end
  821. local GYRO = IT("BodyGyro", RootPart)
  822. GYRO.D = 100
  823. GYRO.P = 2000
  824. GYRO.MaxTorque = VT(0, 4000000, 0)
  825. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  826. local WING = CreatePart(3, BAT, "Neon", 0, 1, SKILLTEXTCOLOR, "BatWings", VT(2, 2, 2))
  827. WING.Color = C3(0, 0, 0)
  828. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  829. local MSH = CreateMesh("SpecialMesh", WING, "FileMesh", "93715902", "", VT(0, 0, 2), VT(0, 0, 0))
  830. for i = 1, 15 do
  831. Swait()
  832. BAT.CFrame = RootPart.CFrame * CF(0, 5, 0)
  833. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  834. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  835. WING.Transparency = WING.Transparency - 0.06666666666666667
  836. MSH.Scale = MSH.Scale + VT(0.15, 0.1, 0)
  837. 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)
  838. 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)
  839. 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)
  840. 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)
  841. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  842. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  843. end
  844. coroutine.resume(coroutine.create(function()
  845. local LOOP = 0
  846. for i = 1, 70 do
  847. LOOP = LOOP + 1
  848. Swait()
  849. if i < 18 then
  850. MSH.Scale = MSH.Scale + VT(0, 0, 0.3)
  851. MSH.Offset = MSH.Offset + VT(0, 0, 0.3)
  852. end
  853. BAT.CFrame = BAT.CFrame * CF(0, 0, -2)
  854. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  855. if LOOP == 15 then
  856. LOOP = 0
  857. killnearest(VT(BAT.Position.X, HITPOS.Y, BAT.Position.Z), 25, 25)
  858. CreateSound("201858087", BAT, 10, 1)
  859. 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))
  860. end
  861. end
  862. killnearest(BAT.Position, 35, 250)
  863. MagicSphere(VT(0, 0, 0), 45, CF(BAT.Position), C3(0, 0, 0), VT(2, 2, 2))
  864. 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))
  865. CreateSound("178452217", BAT, 10, 1)
  866. WING:remove()
  867. BAT.Transparency = 1
  868. Debris:AddItem(BAT, 5)
  869. end))
  870. GYRO:remove()
  871. ATTACK = false
  872. Rooted = false
  873. end
  874. end
  875. end
  876. function WACKYEFFECT(Table)
  877. local TYPE = (Table.EffectType or "Sphere")
  878. local SIZE = (Table.Size or VT(1,1,1))
  879. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  880. local TRANSPARENCY = (Table.Transparency or 0)
  881. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  882. local CFRAME = (Table.CFrame or Torso.CFrame)
  883. local MOVEDIRECTION = (Table.MoveToPos or nil)
  884. local ROTATION1 = (Table.RotationX or 0)
  885. local ROTATION2 = (Table.RotationY or 0)
  886. local ROTATION3 = (Table.RotationZ or 0)
  887. local MATERIAL = (Table.Material or "Neon")
  888. local COLOR = (Table.Color or C3(1,1,1))
  889. local TIME = (Table.Time or 45)
  890. local SOUNDID = (Table.SoundID or nil)
  891. local SOUNDPITCH = (Table.SoundPitch or nil)
  892. local SOUNDVOLUME = (Table.SoundVolume or nil)
  893. coroutine.resume(coroutine.create(function()
  894. local PLAYSSOUND = false
  895. local SOUND = nil
  896. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  897. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  898. PLAYSSOUND = true
  899. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  900. end
  901. EFFECT.Color = COLOR
  902. local MSH = nil
  903. if TYPE == "Sphere" then
  904. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  905. elseif TYPE == "Block" or TYPE == "Box" then
  906. MSH = IT("BlockMesh",EFFECT)
  907. MSH.Scale = SIZE
  908. elseif TYPE == "Wave" then
  909. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  910. elseif TYPE == "Ring" then
  911. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  912. elseif TYPE == "Slash" then
  913. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  914. elseif TYPE == "Round Slash" then
  915. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  916. elseif TYPE == "Swirl" then
  917. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  918. elseif TYPE == "Skull" then
  919. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  920. elseif TYPE == "Crystal" then
  921. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  922. end
  923. if MSH ~= nil then
  924. local MOVESPEED = nil
  925. if MOVEDIRECTION ~= nil then
  926. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  927. end
  928. local GROWTH = SIZE - ENDSIZE
  929. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  930. if TYPE == "Block" then
  931. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  932. else
  933. EFFECT.CFrame = CFRAME
  934. end
  935. for LOOP = 1, TIME+1 do
  936. Swait()
  937. MSH.Scale = MSH.Scale - GROWTH/TIME
  938. if TYPE == "Wave" then
  939. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  940. end
  941. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  942. if TYPE == "Block" then
  943. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  944. else
  945. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  946. end
  947. if MOVEDIRECTION ~= nil then
  948. local ORI = EFFECT.Orientation
  949. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  950. EFFECT.Orientation = ORI
  951. end
  952. end
  953. if PLAYSSOUND == false then
  954. EFFECT:remove()
  955. else
  956. repeat wait(1) until SOUND.Playing == false
  957. EFFECT:remove()
  958. end
  959. else
  960. if PLAYSSOUND == false then
  961. EFFECT:remove()
  962. else
  963. repeat Swait() until SOUND.Playing == false
  964. EFFECT:remove()
  965. end
  966. end
  967. end))
  968. end
  969.  
  970. function SummonHop()
  971. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
  972. if HITFLOOR ~= nil then
  973. ATTACK = true
  974. Rooted = false
  975. local O1 = MagicRing()
  976. local O2 = MagicRing()
  977. local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z)
  978. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
  979. O2.CFrame = CF(Mouse.Hit.p)
  980. local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
  981. ROOT.CFrame = CF(O2.Position, RootPart.Position)
  982. CreateSound("814168787", O1, 10, 0.7)
  983. CreateSound("814168787", O2, 10, 0.7)
  984. for i = 1, 75 do
  985. Swait()
  986. O1.Size = O1.Size + VT(0.15, 0, 0.15)
  987. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0))
  988. O2.Size = O2.Size + VT(0.15, 0, 0.15)
  989. O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  990. 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(0)), 1 / Animation_Speed)
  991. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(5 + 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  992. 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)
  993. 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)
  994. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  995. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-4.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  996. end
  997. Rooted = true
  998. UNANCHOR = false
  999. RootPart.Anchored = true
  1000. VALUE1 = true
  1001. local RANDOMEFFECT = MRANDOM(1,1)
  1002. if RANDOMEFFECT == 1 then
  1003. for i = 1, 10 do
  1004. wait(0.15)
  1005. coroutine.resume(coroutine.create(function()
  1006. local MINION = CLONE:Clone()
  1007. MINION.Parent = Effects
  1008. MINION.Name = "Shadow"
  1009. MINION.HumanoidRootPart.CFrame = O2.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  1010. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  1011. for _, c in pairs(MINION:GetChildren()) do
  1012. if c.ClassName == "Part" then
  1013. c.Material = "Neon"
  1014. c.Color = C3(0,0,0)
  1015. c.Transparency = 0.25
  1016. if c.Name == "Head" then
  1017. c:ClearAllChildren()
  1018. local MSH = IT("BlockMesh",c)
  1019. MSH.Scale = VT(0.5,1,1)
  1020. end
  1021. end
  1022. end
  1023. local TORSO = MINION.Torso
  1024. local HUMAN = MINION.Humanoid
  1025. HUMAN.WalkSpeed = 20
  1026. HUMAN.MaxHealth = math.huge
  1027. HUMAN.Health = math.huge
  1028. HUMAN.DisplayDistanceType = "None"
  1029. HUMAN.Died:connect(function()
  1030. MINION:remove()
  1031. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  1032. end)
  1033. wait(1)
  1034. local findNearestTorso = function(POS)
  1035. local list = game.Workspace:GetDescendants()
  1036. local torso = nil
  1037. local dist = 500
  1038. local temp = nil
  1039. local human = nil
  1040. local temp2 = nil
  1041. for x = 1, #list do
  1042. temp2 = list[x]
  1043. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  1044. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  1045. human = temp2:findFirstChildOfClass("Humanoid")
  1046. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  1047. if (temp.Position - POS).magnitude < dist then
  1048. torso = temp
  1049. dist = (temp.Position - POS).magnitude
  1050. end
  1051. end
  1052. end
  1053. end
  1054. return torso, dist
  1055. end
  1056. for i = 1, 20 do
  1057. if HUMAN.Health == 0 then
  1058. break
  1059. end
  1060. wait(0.3)
  1061. local target,dist= findNearestTorso(TORSO.Position)
  1062. if target then
  1063. HUMAN:MoveTo(target.Position)
  1064. if dist < 25 then
  1065. CreateSound(348663022, TORSO, 10, 1, true)
  1066. wait(2)
  1067. local ANIM = HUMAN:LoadAnimation(ATANIM)
  1068. ANIM:Play()
  1069. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  1070. killnearest(TORSO.Position,10,85)
  1071. for i = 1, 5 do
  1072. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15)/7.5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1073. end
  1074. break
  1075. end
  1076. end
  1077. end
  1078. MINION:remove()
  1079. end))
  1080. end
  1081. end
  1082. VALUE1 = false
  1083. coroutine.resume(coroutine.create(function()
  1084. for i = 1, 75 do
  1085. Swait()
  1086. O1.Size = O1.Size - VT(0.15, 0, 0.15)
  1087. O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  1088. O2.Size = O2.Size - VT(0.15, 0, 0.15)
  1089. O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  1090. end
  1091. O1:remove()
  1092. O2:remove()
  1093. end))
  1094. UNANCHOR = true
  1095. RootPart.Anchored = false
  1096. ATTACK = false
  1097. Rooted = false
  1098. end
  1099. end
  1100.  
  1101. function Final_Limit()
  1102. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  1103. if HITFLOOR ~= nil then
  1104. do
  1105. local HITBODIES = {}
  1106. ATTACK = true
  1107. Rooted = true
  1108. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "SuperNova", VT(0, 0, 0))
  1109. ABSOLUTE.Color = C3(0, 0, 0)
  1110. MakeForm(ABSOLUTE, "Ball")
  1111. CreateSound("814168787", ABSOLUTE, 10, 0.3)
  1112. CreateSound("1177785010", ABSOLUTE, 10, 0.4)
  1113. for i = 0, 4, 0.1 / Animation_Speed do
  1114. Swait()
  1115. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
  1116. ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
  1117. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  1118. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1, 1, 1))
  1119. MakeForm(CHARGE, "Ball")
  1120. CHARGE.Color = C3(0, 0, 0)
  1121. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -6, MRANDOM(-15, 15))
  1122. FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
  1123. 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)
  1124. 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)
  1125. 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)
  1126. 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)
  1127. 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)
  1128. 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)
  1129. end
  1130. local WING = CreatePart(3, ABSOLUTE, "Neon", 0, 1, SKILLTEXTCOLOR, "BatWings", VT(2, 2, 2))
  1131. WING.Color = C3(0, 0, 0)
  1132. WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
  1133. local MSH = CreateMesh("SpecialMesh", WING, "FileMesh", "93715902", "", VT(0, 0, 2), VT(0, 2, 0))
  1134. for i = 1, 15 do
  1135. Swait()
  1136. WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
  1137. WING.Transparency = WING.Transparency - 0.06666666666666667
  1138. MSH.Scale = MSH.Scale + VT(0.6, 0.4, 0)
  1139. 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)
  1140. 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)
  1141. 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)
  1142. 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)
  1143. 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)
  1144. 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)
  1145. end
  1146. for i = 1, 15 do
  1147. Swait()
  1148. WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
  1149. WING.Transparency = WING.Transparency - 0.06666666666666667
  1150. MSH.Scale = MSH.Scale + VT(0.65, -0.03, 0.8)
  1151. MSH.Offset = MSH.Offset + VT(0, 0, 0.8)
  1152. 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)
  1153. 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)
  1154. 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)
  1155. 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)
  1156. 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)
  1157. 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)
  1158. end
  1159. coroutine.resume(coroutine.create(function()
  1160. local LOOP = 0
  1161. local ech = 0
  1162. for i = 1, 250 do
  1163. LOOP = LOOP + 1
  1164. Swait()
  1165. ABSOLUTE.CFrame = ABSOLUTE.CFrame * CF(0, 0, -0.15)
  1166. WING.CFrame = ABSOLUTE.CFrame * CF(0, 2.5, 1.3)
  1167. 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)
  1168. if LOOP == 25 then
  1169. LOOP = 0
  1170. ech = ech + 1
  1171. killnearest(VT(ABSOLUTE.Position.X, HITPOS.Y, ABSOLUTE.Position.Z), 25 * ech, 25)
  1172. CreateSound("201858087", ABSOLUTE, 10, 0.6)
  1173. for i = 1, 5 do
  1174. 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))
  1175. end
  1176. end
  1177. end
  1178. for i = 1, 10 do
  1179. Swait()
  1180. WING.Transparency = WING.Transparency + 0.1
  1181. end
  1182. WING:remove()
  1183. for i = 1, 10 do
  1184. Swait()
  1185. ABSOLUTE.Transparency = ABSOLUTE.Transparency + 0.1
  1186. end
  1187. ABSOLUTE:remove()
  1188. end))
  1189. ATTACK = false
  1190. Rooted = false
  1191. end
  1192. end
  1193. end
  1194. local Decal = IT("Decal")
  1195. function MagicRing()
  1196. local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
  1197. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
  1198. local decal = Decal:Clone()
  1199. decal.Parent = O1
  1200. decal.Face = "Top"
  1201. decal.Texture = "http://www.roblox.com/asset/?id=917750924"
  1202. local decal2 = Decal:Clone()
  1203. decal2.Parent = O1
  1204. decal2.Face = "Bottom"
  1205. decal2.Texture = "http://www.roblox.com/asset/?id=917750924"
  1206. return O1
  1207. end
  1208.  
  1209. function Hop()
  1210. ATTACK = true
  1211. Rooted = false
  1212. local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
  1213. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(0), RAD(0))
  1214. local decal = Decal:Clone()
  1215. decal.Parent = O1
  1216. decal.Face = "Top"
  1217. decal.Texture = "http://www.roblox.com/asset/?id=249559138"
  1218. local decal2 = Decal:Clone()
  1219. decal2.Parent = O1
  1220. decal2.Face = "Bottom"
  1221. decal2.Texture = "http://www.roblox.com/asset/?id=249559138"
  1222. local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
  1223. local POS = VT(RootPart.Position.X, Mouse.Hit.p.Y + 6, RootPart.Position.Z)
  1224. O2.CFrame = CF(Mouse.Hit.p + VT(0, 6, 0), POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  1225. local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0, 0, 0))
  1226. ROOT.CFrame = CF(O2.Position, RootPart.Position)
  1227. local decal = Decal:Clone()
  1228. decal.Parent = O2
  1229. decal.Face = "Top"
  1230. decal.Texture = "http://www.roblox.com/asset/?id=249559138"
  1231. local decal2 = Decal:Clone()
  1232. decal2.Parent = O2
  1233. decal2.Face = "Bottom"
  1234. decal2.Texture = "http://www.roblox.com/asset/?id=249559138"
  1235. CreateSound("84005018", O1, 10, 0.7)
  1236. CreateSound("84005018", O2, 10, 0.7)
  1237. for i = 1, 75 do
  1238. Swait()
  1239. O1.Size = O1.Size + VT(0.1, 0, 0.1)
  1240. O1.CFrame = RootPart.CFrame * CF(0, 0, -3) * ANGLES(RAD(90), RAD(i), RAD(0))
  1241. O2.Size = O2.Size + VT(0.1, 0, 0.1)
  1242. O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  1243. 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)
  1244. 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)
  1245. 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)
  1246. 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)
  1247. 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)
  1248. 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)
  1249. end
  1250. Rooted = true
  1251. UNANCHOR = false
  1252. RootPart.Anchored = true
  1253. VALUE1 = true
  1254. for i = 1, 15 do
  1255. Transparency(i / 15)
  1256. Swait()
  1257. RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.13)
  1258. 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)
  1259. 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)
  1260. 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)
  1261. 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)
  1262. 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)
  1263. 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)
  1264. end
  1265. RootPart.CFrame = ROOT.CFrame
  1266. ROOT:remove()
  1267. for i = 1, 15 do
  1268. Transparency(1 - i / 15)
  1269. Swait()
  1270. RootPart.CFrame = RootPart.CFrame * CF(0, 0, -0.5)
  1271. 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)
  1272. 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)
  1273. 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)
  1274. 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)
  1275. 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)
  1276. 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)
  1277. end
  1278. VALUE1 = false
  1279. coroutine.resume(coroutine.create(function()
  1280. for i = 1, 75 do
  1281. Swait()
  1282. O1.Size = O1.Size - VT(0.1, 0, 0.1)
  1283. O1.CFrame = O1.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  1284. O2.Size = O2.Size - VT(0.1, 0, 0.1)
  1285. O2.CFrame = O2.CFrame * ANGLES(RAD(0), RAD(i), RAD(0))
  1286. end
  1287. O1:remove()
  1288. O2:remove()
  1289. end))
  1290. UNANCHOR = true
  1291. RootPart.Anchored = false
  1292. ATTACK = false
  1293. Rooted = false
  1294. end
  1295. function MouseDown(Mouse)
  1296. if ATTACK == false then
  1297. end
  1298. end
  1299. function MouseUp(Mouse)
  1300. HOLD = false
  1301. end
  1302. function KeyDown(Key)
  1303. KEYHOLD = true
  1304. if Key == "z" and ATTACK == false then
  1305. Limit_Bomb()
  1306. end
  1307.  
  1308. if Key == "b" and ATTACK == false then
  1309. Bat_Wave()
  1310. end
  1311. if Key == "c" and ATTACK == false then
  1312. Final_Limit()
  1313. end
  1314.  
  1315. if Key == "r" and ATTACK == false then
  1316. SummonHop()
  1317. end
  1318.  
  1319.  
  1320. if Key == "y" and ATTACK == false then
  1321. Sheer_Cold()
  1322. end
  1323.  
  1324. if Key == "q" and ATTACK == false then
  1325. Hop()
  1326. end
  1327. end
  1328. function KeyUp(Key)
  1329. KEYHOLD = false
  1330. end
  1331. Mouse.Button1Down:connect(function(NEWKEY)
  1332. MouseDown(NEWKEY)
  1333. end)
  1334. Mouse.Button1Up:connect(function(NEWKEY)
  1335. MouseUp(NEWKEY)
  1336. end)
  1337. Mouse.KeyDown:connect(function(NEWKEY)
  1338. KeyDown(NEWKEY)
  1339. end)
  1340. Mouse.KeyUp:connect(function(NEWKEY)
  1341. KeyUp(NEWKEY)
  1342. end)
  1343. function unanchor()
  1344. if UNANCHOR == true then
  1345. g = Character:GetChildren()
  1346. for i = 1, #g do
  1347. if g[i].ClassName == "Part" then
  1348. g[i].Anchored = false
  1349. end
  1350. end
  1351. end
  1352. end
  1353. Humanoid.Changed:connect(function(Jump)
  1354. if Jump == "Jump" and Disable_Jump == true then
  1355. Humanoid.Jump = false
  1356. end
  1357. end)
  1358. Humanoid.HipHeight = 2
  1359. Head:ClearAllChildren()
  1360. local FF = IT("ForceField", Character)
  1361. FF.Visible = false
  1362. Speed = 35
  1363. function refit()
  1364. RootJoint.Parent = RootPart
  1365. Neck.Parent = Torso
  1366. RightShoulder.Parent = Torso
  1367. LeftShoulder.Parent = Torso
  1368. RightHip.Parent = Torso
  1369. LeftHip.Parent = Torso
  1370. RootPart.Parent = Character
  1371. LeftArm.Parent = Character
  1372. RightArm.Parent = Character
  1373. RightLeg.Parent = Character
  1374. LeftLeg.Parent = Character
  1375. Torso.Parent = Character
  1376. Head.Parent = Character
  1377. end
  1378. local FOUNDFORGOTTEN = false
  1379. while true do
  1380. Swait()
  1381. ANIMATE.Parent = nil
  1382. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1383. IDLEANIMATION:Play()
  1384. SINE = SINE + CHANGE
  1385. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1386. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1387. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1388. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  1389. if ATTACK == false then
  1390. if TORSOVELOCITY < 1 then
  1391. 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)
  1392. 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)
  1393. 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)
  1394. 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)
  1395. 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)
  1396. 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)
  1397. elseif TORSOVELOCITY > 1 then
  1398. 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)
  1399. 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)
  1400. 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)
  1401. 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)
  1402. 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)
  1403. 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)
  1404. end
  1405. end
  1406. unanchor()
  1407. Humanoid.MaxHealth = "inf"
  1408. Humanoid.Health = "inf"
  1409. if Rooted == false then
  1410. Disable_Jump = false
  1411. Humanoid.WalkSpeed = Speed
  1412. elseif Rooted == true then
  1413. Disable_Jump = true
  1414. Humanoid.WalkSpeed = 0
  1415. end
  1416. for _, c in pairs(Character:GetChildren()) do
  1417. if c.ClassName == "Part" then
  1418. c.Material = "Neon"
  1419. if c:FindFirstChildOfClass("ParticleEmitter") then
  1420. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1421. end
  1422. if c == Torso then
  1423. c.Color = C3(0, 0, 0)
  1424. elseif c == RightArm then
  1425. c.Color = C3(0.058823529411764705, 0.09803921568627451, 0.058823529411764705)
  1426. elseif c == LeftArm then
  1427. c.Color = C3(0.058823529411764705, 0.09803921568627451, 0.058823529411764705)
  1428. elseif c == RightLeg then
  1429. c.Color = C3(0.0196078431372549, 0.03137254901960784, 0.0196078431372549)
  1430. elseif c == LeftLeg then
  1431. c.Color = C3(0.0196078431372549, 0.03137254901960784, 0.0196078431372549)
  1432. elseif c == Head then
  1433. if c:FindFirstChild("Dominus") == nil then
  1434. local M = CreateMesh("SpecialMesh", c, "FileMesh", "96102993", "96103063", VT(1, 1, 1) * 1.1, VT(0, 0, 0))
  1435. M.Name = "Dominus"
  1436. end
  1437. if c:FindFirstChild("face") then
  1438. c.face:remove()
  1439. end
  1440. end
  1441. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1442. c:remove()
  1443. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1444. c:remove()
  1445. end
  1446. end
  1447. FF.Parent = Character
  1448. sick.Parent = Character
  1449. refit()
  1450. script.Parent = WEAPONGUI
  1451. Character.Parent = workspace
  1452. Humanoid.PlatformStand = false
  1453. Humanoid.Name = "Vespertilio"
  1454. for _, c in pairs(game.Players:GetChildren()) do
  1455. if c.Character ~= nil and c.Character.Parent ~= workspace and c.Character.Parent ~= nil then
  1456. c.Character:BreakJoints()
  1457. end
  1458. end
  1459. FOUNDFORGOTTEN = false
  1460. Humanoid.DisplayDistanceType = "None"
  1461. for _, c in pairs(workspace:GetChildren()) do
  1462. if c.ClassName == "Model" then
  1463. for _, q in pairs(c:GetChildren()) do
  1464. if q.Name == "Forgotten Dominus" then
  1465. FOUNDFORGOTTEN = true
  1466. end
  1467. end
  1468. end
  1469. end
  1470. if FOUNDFORGOTTEN == true then
  1471. sick:Stop()
  1472. else
  1473. sick.Playing = true
  1474. end
  1475. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement