Advertisement
Guest User

angle no halo

a guest
Oct 20th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 63.10 KB | None | 0 0
  1. -- Created by Nebula_Zorua --
  2. -- The Angel --
  3. -- A higher being.. Here to smite you evil-doers! --
  4. -- Discord: Nebula the Zorua#6969
  5. -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
  6. wait(1/60)
  7.  
  8. --// Initializing \\--
  9. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  10. local Plrs = S.Players
  11. local Plr = Plrs.LocalPlayer
  12. local Char = Plr.Character
  13. local Hum = Char:FindFirstChildOfClass'Humanoid'
  14. local RArm = Char["Right Arm"]
  15. local LArm = Char["Left Arm"]
  16. local RLeg = Char["Right Leg"]
  17. local LLeg = Char["Left Leg"]
  18. local Root = Char:FindFirstChild'HumanoidRootPart'
  19. local Torso = Char.Torso
  20. local Head = Char.Head
  21. local NeutralAnims = true
  22. local Attack = false
  23. local BloodPuddles = {}
  24. local Effects = {}
  25. local Debounces = {Debounces={}}
  26. local Mouse = Plr:GetMouse()
  27. local Hit = {}
  28. local Sine = 0
  29. local Change = 1
  30. local PulseTime = 0
  31. local DustTime = 0
  32.  
  33. local Rooted = false
  34. --// Debounce System \\--
  35.  
  36. function Debounces:New(name,cooldown)
  37. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  38. setmetatable(aaaaa,{__index = Debounces})
  39. Debounces.Debounces[name] = aaaaa
  40. return aaaaa
  41. end
  42.  
  43. function Debounces:Use(overrideUsable)
  44. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  45. if(self.Usable or overrideUsable)then
  46. self.Usable = false
  47. self.CoolingDown = true
  48. local LastUse = time()
  49. self.LastUse = LastUse
  50. delay(self.Cooldown or 2,function()
  51. if(self.LastUse == LastUse)then
  52. self.CoolingDown = false
  53. self.Usable = true
  54. end
  55. end)
  56. end
  57. end
  58.  
  59. function Debounces:Get(name)
  60. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  61. for i,v in next, Debounces.Debounces do
  62. if(i == name)then
  63. return v;
  64. end
  65. end
  66. end
  67.  
  68. function Debounces:GetProgressPercentage()
  69. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  70. if(self.CoolingDown and not self.Usable)then
  71. return math.max(
  72. math.floor(
  73. (
  74. (time()-self.LastUse)/self.Cooldown or 2
  75. )*100
  76. )
  77. )
  78. else
  79. return 100
  80. end
  81. end
  82.  
  83. --// Shortcut Variables \\--
  84. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  85. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  86. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  87. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG = function(min,max,div) return math.random(min,max)/(div or 1) end,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  88. local R3 = {N=Region3.new}
  89. local De = S.Debris
  90. local WS = workspace
  91. local Lght = S.Lighting
  92. local RepS = S.ReplicatedStorage
  93. local IN = Instance.new
  94. --// Instance Creation Functions \\--
  95.  
  96. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  97. local Sound = IN("Sound")
  98. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  99. Sound.Pitch = pitch or 1
  100. Sound.Volume = volume or 1
  101. Sound.Looped = looped or false
  102. if(autoPlay)then
  103. coroutine.wrap(function()
  104. repeat wait() until Sound.IsLoaded
  105. Sound.Playing = autoPlay or false
  106. end)()
  107. end
  108. if(not looped and effect)then
  109. Sound.Stopped:connect(function()
  110. Sound.Volume = 0
  111. Sound:destroy()
  112. end)
  113. elseif(effect)then
  114. warn("Sound can't be looped and a sound effect!")
  115. end
  116. Sound.Parent =parent or Torso
  117. return Sound
  118. end
  119. function Part(parent,color,material,size,cframe,anchored,cancollide)
  120. local part = IN("Part")
  121. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  122. part.Material = material or Enum.Material.SmoothPlastic
  123. part.TopSurface,part.BottomSurface=10,10
  124. part.Size = size or V3.N(1,1,1)
  125. part.CFrame = cframe or CF.N(0,0,0)
  126. part.Anchored = anchored or true
  127. part.CanCollide = cancollide or false
  128. part.Parent = parent or Char
  129. return part
  130. end
  131. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  132. local class = "SpecialMesh"
  133. if(meshtype == Enum.MeshType.Brick)then class = 'BlockMesh' end
  134.  
  135. local part = IN(class)
  136. if(class == "SpecialMesh")then
  137. part.MeshId = meshid or ""
  138. part.TextureId = textid or ""
  139. part.MeshType = meshtype or Enum.MeshType.Sphere
  140. end
  141. part.Scale = scale or V3.N(1,1,1)
  142. part.Offset = offset or V3.N(0,0,0)
  143.  
  144. part.Parent = parent
  145. return part
  146. end
  147.  
  148. NewInstance = function(instance,parent,properties)
  149. local inst = Instance.new(instance,parent)
  150. if(properties)then
  151. for i,v in next, properties do
  152. pcall(function() inst[i] = v end)
  153. end
  154. end
  155. return inst;
  156. end
  157.  
  158.  
  159.  
  160. --// Extended ROBLOX tables \\--
  161. local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  162. --// Customization \\--
  163.  
  164. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  165. local Remove_Hats = true
  166. local Remove_Clothing = true
  167. local PlayerSize = 1
  168. local DamageColor = BrickColor.new'New Yeller'
  169. local MusicID = 835120625
  170.  
  171. --// Weapon and GUI creation, and Character Customization \\--
  172.  
  173. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  174. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  175. Instance.ClearChildrenOfClass(Char,"Decal",true)
  176. local Effects = IN("Folder",Char)
  177. Effects.Name = "Effects"
  178.  
  179. local Halo = IN("Model",Char)
  180. Halo.Name = "Halo"
  181.  
  182. local Wings = IN("Model",Char)
  183. Wings.Name = "Wings"
  184.  
  185. Hum.DisplayDistanceType = 'None'
  186.  
  187. local naeeym2 = IN("BillboardGui",Char)
  188. naeeym2.AlwaysOnTop = true
  189. naeeym2.Size = UDim2.new(5,35,2,15)
  190. naeeym2.StudsOffset = V3.N(0,2.5,0)
  191. naeeym2.Adornee = Char.Head
  192. naeeym2.Name = "Name"
  193. naeeym2.PlayerToHideFrom = Plr
  194. local tecks2 = IN("TextLabel",naeeym2)
  195. tecks2.BackgroundTransparency = 1
  196. tecks2.TextScaled = true
  197. tecks2.BorderSizePixel = 0
  198. tecks2.Text = "The Angel"
  199. tecks2.Font = Enum.Font.Bodoni
  200. tecks2.TextSize = 30
  201. tecks2.TextStrokeTransparency = 0
  202. tecks2.TextColor3 = C3.N(0,0,0)
  203. tecks2.TextStrokeColor3 = C3.N(1,1,0)
  204. tecks2.Size = UDim2.new(1,0,0.5,0)
  205. tecks2.Parent = naeeym2
  206.  
  207. pcall(function()
  208. Char.LeftWing:destroy()
  209. Char.ReaperShadowHead:destroy()
  210. end)
  211.  
  212. for _,v in next, Char:children() do
  213. if(v:IsA'BasePart' and v.Transparency < 1 and v ~= Head)then
  214. NewInstance("SelectionBox",v,{Adornee=v,LineThickness=.01,Color3=C3.N(1,1,0)})
  215. if(v ~= Head)then IN("BlockMesh",v) end
  216. end
  217. end
  218.  
  219. local WingHandle = NewInstance("Part",Wings,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,})
  220.  
  221. if(PlayerSize ~= 1)then
  222. for _,v in next, Char:GetDescendats() do
  223. if(v:IsA'BasePart')then
  224. v.Size = v.Size * PlayerSize
  225. end
  226. end
  227. end
  228.  
  229. local Music = Sound(Char,MusicID,1,3,true,false,true)
  230. Music.Name = 'Music'
  231.  
  232. -- Wing Creation
  233. local FeatherWelds = {{},{}}
  234. local inc = 1
  235. for aa = 1, 4 do
  236. local lastFeather;
  237. FeatherWelds[1][aa] = {}
  238. for i = 1, 4+inc do
  239. local feather = NewInstance("Part",Wings,{CustomPhysicalProperties=PhysicalProperties.new(0,0,0,0,0),TopSurface=10,BottomSurface=10,Size=V3.N(2,.5,.75),CanCollide=false,Color=C3.N(1,1,1)})
  240. NewInstance("SpecialMesh",feather,{MeshType=Enum.MeshType.Sphere})
  241. if(lastFeather)then
  242. table.insert(FeatherWelds[1][aa],NewInstance("Weld",feather,{Part0=lastFeather,Part1=feather,C0=CF.N(.5,.25,0)*CF.A(0,0,M.R(-5))}))
  243. else
  244. table.insert(FeatherWelds[1][aa],NewInstance("Weld",feather,{Part0=feather,Part1=WingHandle,C0=CF.N(-2,aa/4,0)*CF.A(0,0,M.R(-5))}))
  245. end
  246. lastFeather = feather
  247. end
  248. inc = inc + 1
  249. end
  250.  
  251. local inc = 1
  252. for aa = 1, 4 do
  253. local lastFeather;
  254. FeatherWelds[2][aa] = {}
  255. for i = 1, 4+inc do
  256. local feather = NewInstance("Part",Wings,{CustomPhysicalProperties=PhysicalProperties.new(0,0,0,0,0),TopSurface=10,BottomSurface=10,Size=V3.N(2,.5,.75),CanCollide=false,Color=C3.N(1,1,1)})
  257. NewInstance("SpecialMesh",feather,{MeshType=Enum.MeshType.Sphere})
  258. if(lastFeather)then
  259. table.insert(FeatherWelds[2][aa],NewInstance("Weld",feather,{Part0=lastFeather,Part1=feather,C0=CF.N(-.5,.25,0)*CF.A(0,0,M.R(5))}))
  260. else
  261. table.insert(FeatherWelds[2][aa],NewInstance("Weld",feather,{Part0=feather,Part1=WingHandle,C0=CF.N(2,aa/4,0)*CF.A(0,0,M.R(5))}))
  262. end
  263. lastFeather = feather
  264. end
  265. inc = inc + 1
  266. end
  267.  
  268. --// Stop animations \\--
  269. for _,v in next, Hum:GetPlayingAnimationTracks() do
  270. v:Stop();
  271. end
  272.  
  273. pcall(game.Destroy,Char:FindFirstChild'Animate')
  274. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  275.  
  276. --// Joints \\--
  277.  
  278. local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  279. local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  280. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  281. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  282. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  283. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  284. local WW = NewInstance('Motor',Char,{Part0=Torso,Part1=WingHandle,C0=CF.N(0,1.5,1.5)})
  285.  
  286. local LSC0 = LS.C0
  287. local RSC0 = RS.C0
  288. local NKC0 = NK.C0
  289. local LHC0 = LH.C0
  290. local RHC0 = RH.C0
  291. local RJC0 = RJ.C0
  292.  
  293. --// Artificial HB \\--
  294.  
  295. local ArtificialHB = IN("BindableEvent", script)
  296. ArtificialHB.Name = "Heartbeat"
  297.  
  298. script:WaitForChild("Heartbeat")
  299.  
  300. local tf = 0
  301. local allowframeloss = false
  302. local tossremainder = false
  303. local lastframe = tick()
  304. local frame = 1/Frame_Speed
  305. ArtificialHB:Fire()
  306.  
  307. game:GetService("RunService").Heartbeat:connect(function(s, p)
  308. tf = tf + s
  309. if tf >= frame then
  310. if allowframeloss then
  311. script.Heartbeat:Fire()
  312. lastframe = tick()
  313. else
  314. for i = 1, math.floor(tf / frame) do
  315. ArtificialHB:Fire()
  316. end
  317. lastframe = tick()
  318. end
  319. if tossremainder then
  320. tf = 0
  321. else
  322. tf = tf - frame * math.floor(tf / frame)
  323. end
  324. end
  325. end)
  326.  
  327. function swait(num)
  328. if num == 0 or num == nil then
  329. ArtificialHB.Event:wait()
  330. else
  331. for i = 0, num do
  332. ArtificialHB.Event:wait()
  333. end
  334. end
  335. end
  336.  
  337.  
  338. --// Effect Function(s) \\--
  339.  
  340.  
  341. function Chat(text)
  342. --if(game.PlaceId ~= 843468296)then
  343. coroutine.wrap(function()
  344. if(Char:FindFirstChild'ChatGUI')then Char.ChatGUI:destroy() end
  345. local BBG = NewInstance("BillboardGui",Char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,3,0),Adornee=Head})
  346. local Txt = NewInstance("TextLabel",BBG,{Text = "",BackgroundTransparency=1,TextColor3=C3.N(1,1,0),BorderSizePixel=0,Font=Enum.Font.Garamond,TextSize=30,TextStrokeTransparency=1,Size=UDim2.new(1,0,.5,0)})
  347. local SND = Sound(Head,418252437,M.RNG(9,11)/10,3,false,false,true)
  348. for i = 1, #text do
  349. delay(i/25, function()
  350. SND.Pitch = M.RNG(9,11)/10
  351. SND.Volume = 3
  352. SND.Parent = Effects
  353. SND:Play()
  354. Txt.Text = text:sub(1,i)
  355. end)
  356. end
  357. delay((#text/25)+2, function()
  358. Txt.Text = ""
  359. for i = 1, #text do
  360. Txt.Text = Txt.Text.. string.char(M.RNG(0,126))
  361. end
  362. end)
  363. delay((#text/25)+3, function()
  364. BBG:destroy()
  365. SND:destroy()
  366. end)
  367. end)()
  368. --else
  369. -- Chat2(text)
  370. --end
  371. end
  372.  
  373. function Chat2(text)
  374. coroutine.wrap(function()
  375. if(Char:FindFirstChild'ChatGUI')then Char.ChatGUI:destroy() end
  376. local BBG = NewInstance("BillboardGui",Char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,3,0),Adornee=Head})
  377. local offset = 0;
  378. local xsize = 0;
  379. for i = 1, #text do
  380. offset = offset - 16
  381. xsize = xsize + 32
  382. delay(i/25, function()
  383. local Txt = NewInstance("TextLabel",BBG,{Text = text:sub(i,i),Position=UDim2.new(0,offset,0,0),BackgroundTransparency=1,TextColor3=C3.N(1,1,0),BorderSizePixel=0,Font=Enum.Font.Garamond,TextSize=40,TextStrokeTransparency=1,Size=UDim2.new(1,0,.5,0)})
  384. offset = offset + 32
  385. while Txt and Txt.Parent do
  386. Txt.Rotation = M.RNG(-15,15)
  387. swait()
  388. end
  389. end)
  390. end
  391. BBG.Size = UDim2.new(0,xsize,0,40)
  392. delay((#text/25)+3, function()
  393. for _,v in next, BBG:children() do
  394. pcall(function() v.Text = string.char(M.RNG(0,126)) end)
  395. end
  396. end)
  397. delay((#text/25)+4, function()
  398. BBG:destroy()
  399. end)
  400. end)()
  401. end
  402.  
  403.  
  404. function Transparency(trans)
  405. for _,v in next, Char:children() do
  406. if(v:IsA'BasePart' and v ~= Root and v ~= WingHandle)then
  407. v.Transparency = trans
  408. local sbox = v:findFirstChild'SelectionBox'
  409. if(sbox)then sbox.Transparency=trans end
  410. elseif(v:IsA'Accessory' and v:FindFirstChild'Handle')then
  411. v.Handle.Transparency=trans
  412. end
  413. end
  414. for _,v in next, Wings:children() do
  415. if(v:IsA'BasePart' and v ~= WingHandle)then
  416. v.Transparency = trans
  417. local sbox = v:findFirstChild'SelectionBox'
  418. if(sbox)then sbox.Transparency=trans end
  419. end
  420. end
  421. end
  422.  
  423. local FXTable = {}
  424.  
  425. function Bezier(startpos, pos2, pos3, endpos, t)
  426. local A = startpos:lerp(pos2, t)
  427. local B = pos2:lerp(pos3, t)
  428. local C = pos3:lerp(endpos, t)
  429. local lerp1 = A:lerp(B, t)
  430. local lerp2 = B:lerp(C, t)
  431. local cubic = lerp1:lerp(lerp2, t)
  432. return cubic
  433. end
  434.  
  435. function Tween(obj,props,time,easing,direction,repeats,backwards)
  436. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  437. local tween = S.TweenService:Create(obj, info, props)
  438.  
  439. tween:Play()
  440. end
  441.  
  442. coroutine.resume(coroutine.create(function()
  443. while true do
  444. for i = 1, #FXTable do
  445. local data = FXTable[i]
  446. if(data)then
  447. local Frame = data.Frame
  448. local FX = data.Effect or 'ResizeAndFade'
  449. local Parent = data.Parent or Effects
  450. local Color = data.Color or C3.N(0,0,0)
  451. local Size = data.Size or V3.N(1,1,1)
  452. local MoveDir = data.MoveDirection or nil
  453. local MeshData = data.Mesh or nil
  454. local SndData = data.Sound or nil
  455. local Frames = data.Frames or 45
  456. local CFra = data.CFrame or Torso.CFrame
  457. local Settings = data.FXSettings or {}
  458. local Prt,Msh,Snd = data.Part,data.Mesh,data.Sound
  459. local grow = data.Grow
  460.  
  461. local MoveSpeed = nil;
  462. if(MoveDir)then
  463. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  464. end
  465. if(FX ~= 'Arc')then
  466. Frame = Frame + 1
  467. if(FX == "Fade")then
  468. Prt.Transparency = (Frame/Frames)
  469. elseif(FX == "Resize")then
  470. if(not Settings.EndSize)then
  471. Settings.EndSize = V3.N(0,0,0)
  472. end
  473. if(Settings.EndIsIncrement)then
  474. if(Msh)then
  475. Msh.Scale = Msh.Scale + Settings.EndSize
  476. else
  477. Prt.Size = Prt.Size + Settings.EndSize
  478. end
  479. else
  480. if(Msh)then
  481. Msh.Scale = Msh.Scale - grow/Frames
  482. else
  483. Prt.Size = Prt.Size - grow/Frames
  484. end
  485. end
  486. elseif(FX == "ResizeAndFade")then
  487. if(not Settings.EndSize)then
  488. Settings.EndSize = V3.N(0,0,0)
  489. end
  490. if(Settings.EndIsIncrement)then
  491. if(Msh)then
  492. Msh.Scale = Msh.Scale + Settings.EndSize
  493. else
  494. Prt.Size = Prt.Size + Settings.EndSize
  495. end
  496. else
  497. if(Msh)then
  498. Msh.Scale = Msh.Scale - grow/Frames
  499. else
  500. Prt.Size = Prt.Size - grow/Frames
  501. end
  502. end
  503. Prt.Transparency = (Frame/Frames)
  504. end
  505. if(Settings.RandomizeCFrame)then
  506. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  507. end
  508. if(MoveDir and MoveSpeed)then
  509. local Orientation = Prt.Orientation
  510. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  511. Prt.Orientation = Orientation
  512. end
  513. if(Prt.Transparency >= 1 or Frame >= Frames)then
  514. Prt:destroy()
  515. table.remove(FXTable,i)
  516. else
  517. data.Frame = Frame
  518. end
  519. else
  520. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  521. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  522. if(start and endP)then
  523. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  524. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  525. Frame = Frame + Settings.Speed or 0.01
  526. if(Settings.Home)then
  527. endP = Settings.Home.CFrame
  528. end
  529. Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
  530. if(Prt.Transparency >= 1 or Frame >= Frames)then
  531. if(Settings.RemoveOnGoal)then
  532. Prt:destroy()
  533. end
  534. end
  535. else
  536.  
  537. end
  538. end
  539. end
  540. end
  541. swait()
  542. end
  543. end))
  544.  
  545. function Effect(data)
  546. local FX = data.Effect or 'ResizeAndFade'
  547. local Parent = data.Parent or Effects
  548. local Color = data.Color or C3.N(0,0,0)
  549. local Size = data.Size or V3.N(1,1,1)
  550. local MoveDir = data.MoveDirection or nil
  551. local MeshData = data.Mesh or nil
  552. local SndData = data.Sound or nil
  553. local Frames = data.Frames or 45
  554. local Manual = data.Manual or nil
  555. local Material = data.Material or nil
  556. local CFra = data.CFrame or Torso.CFrame
  557. local Settings = data.FXSettings or {}
  558. local Shape = data.Shape or Enum.PartType.Block
  559. local Snd,Prt,Msh;
  560. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  561. Prt = Manual
  562. else
  563. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  564. Prt.Shape = Shape
  565. end
  566. if(typeof(MeshData) == 'table')then
  567. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  568. elseif(typeof(MeshData) == 'Instance')then
  569. Msh = MeshData:Clone()
  570. Msh.Parent = Prt
  571. elseif(Shape == Enum.PartType.Block)then
  572. Msh = Mesh(Prt,Enum.MeshType.Brick)
  573. end
  574. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  575. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  576. end
  577. if(Snd)then
  578. repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  579. data.Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  580. end
  581. data.Part = Prt
  582. data.Mesh = Msh
  583. data.Sound = Snd
  584. data.Frame = 0
  585. data.Size = (Msh and Msh.Scale or Size)
  586. Size = (Msh and Msh.Scale or Size)
  587. data.Grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  588. table.insert(FXTable,data)
  589. return Prt,Msh,Snd
  590. end
  591.  
  592. function Zap(data)
  593. local sCF,eCF = data.StartCFrame,data.EndCFrame
  594. assert(sCF,"You need a start CFrame!")
  595. assert(eCF,"You need an end CFrame!")
  596. local parts = data.PartCount or 15
  597. local zapRot = data.ZapRotation or {-5,5}
  598. local startThick = data.StartSize or 3;
  599. local endThick = data.EndSize or startThick/2;
  600. local color = data.Color or BrickColor.new'Electric blue'
  601. local delay = data.Delay or 35
  602. local delayInc = data.DelayInc or 0
  603. local lastLightning;
  604. local MagZ = (sCF.p - eCF.p).magnitude
  605. local thick = startThick
  606. local inc = (startThick/parts)-(endThick/parts)
  607.  
  608. for i = 1, parts do
  609. local pos = sCF.p
  610. if(lastLightning)then
  611. pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p
  612. end
  613. delay = delay + delayInc
  614. local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false)
  615. local posie = CF.N(pos,eCF.p)*CF.N(0,0,MagZ/parts).p+V3.N(M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)))
  616. if(parts == i)then
  617. local MagZ = (pos-eCF.p).magnitude
  618. zapPart.Size = V3.N(endThick,endThick,MagZ)
  619. zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2)
  620. Effect{Effect='ResizeAndFade',Size=V3.N(thick,thick,thick),CFrame=eCF*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),Color=color,Frames=delay*2,FXSettings={EndSize=V3.N(thick*8,thick*8,thick*8)}}
  621. else
  622. zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2)
  623. end
  624.  
  625. lastLightning = zapPart
  626. Effect{Effect='Fade',Manual=zapPart,Frames=delay}
  627.  
  628. thick=thick-inc
  629.  
  630. end
  631. end
  632.  
  633.  
  634. function SoulSteal(whom)
  635. local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
  636. if(torso and torso:IsA'BasePart')then
  637. local Model = Instance.new("Model",Effects)
  638. Model.Name = whom.Name.."'s Soul"
  639. whom:BreakJoints()
  640. local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  641. Soul.Name = 'Head'
  642. NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  643. Effect{
  644. Effect="Arc",
  645. Manual = Soul,
  646. FXSettings={
  647. Start=torso.CFrame,
  648. Home = Torso,
  649. RemoveOnGoal = true,
  650. }
  651. }
  652. local lastPoint = Soul.CFrame.p
  653.  
  654. for i = 0, 1, 0.01 do
  655. local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  656. local mag = (lastPoint - Soul.Position).magnitude
  657. Effect{
  658. Effect = "Fade",
  659. CFrame = point * CF.N(0, mag/2, 0),
  660. Size = V3.N(.5,mag+.5,.5),
  661. Color = Soul.BrickColor
  662. }
  663. lastPoint = Soul.CFrame.p
  664. swait()
  665. end
  666. for i = 1, 5 do
  667. Effect{
  668. Effect="Fade",
  669. Color = BrickColor.new'Really red',
  670. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  671. }
  672. end
  673. end
  674. end
  675.  
  676. --// Other Functions \\ --
  677.  
  678. function getRegion(point,range,ignore)
  679. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  680. end
  681.  
  682. function CastRay(startPos,endPos,range,ignoreList)
  683. local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  684. local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  685. return part,pos,norm,(pos and (startPos-pos).magnitude)
  686. end
  687.  
  688.  
  689. function WingFlutter(Alpha)
  690. Alpha = Alpha or .1
  691. for x = 1, 4 do
  692. if(FeatherWelds[1][x][1])then
  693. FeatherWelds[1][x][1].C0 = FeatherWelds[1][x][1].C0:lerp(CF.N(-2-.5*M.C(Sine/24),x/4,0-.2*-M.S(Sine/24)),Alpha)
  694. end
  695. for i = 2, #FeatherWelds[1][x] do
  696. FeatherWelds[1][x][i].C0 = FeatherWelds[1][x][i].C0:lerp(CF.N(.5,.25,0)*CF.A(0,0,M.R(-5+2*M.C(Sine/12))),Alpha)
  697. end
  698. end
  699. for x = 1, 4 do
  700. if(FeatherWelds[2][x][1])then
  701. FeatherWelds[2][x][1].C0 = FeatherWelds[2][x][1].C0:lerp(CF.N(2+.5*M.C(Sine/24),x/4,0-.4*M.S(Sine/24)),Alpha)
  702. end
  703. for i = 2, #FeatherWelds[2][x] do
  704. FeatherWelds[2][x][i].C0 = FeatherWelds[2][x][i].C0:lerp(CF.N(-.5,.25,0)*CF.A(0,0,M.R(5-2*M.C(Sine/12))),Alpha)
  705. end
  706. end
  707. end
  708.  
  709. function clerp(startCF,endCF,alpha)
  710. return startCF:lerp(endCF, alpha)
  711. end
  712.  
  713. function GetTorso(char)
  714. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  715. end
  716.  
  717. function ShowDamage(Pos, Text, Time, Color)
  718. local Rate = (1 / 30)
  719. local Pos = (Pos or Vector3.new(0, 0, 0))
  720. local Text = (Text or "")
  721. local Time = (Time or 2)
  722. local Color = (Color or Color3.new(1, 0, 1))
  723. local EffectPart = NewInstance("Part",Effects,{
  724. Material=Enum.Material.SmoothPlastic,
  725. Reflectance = 0,
  726. Transparency = 1,
  727. BrickColor = BrickColor.new(Color),
  728. Name = "Effect",
  729. Size = Vector3.new(0,0,0),
  730. Anchored = true
  731. })
  732. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  733. Size = UDim2.new(1.25, 0, 1.25, 0),
  734. Adornee = EffectPart,
  735. })
  736. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  737. BackgroundTransparency = 1,
  738. Size = UDim2.new(1, 0, 1, 0),
  739. Text = Text,
  740. Font = "Arial",
  741. TextColor3 = Color,
  742. TextStrokeColor3 = Color3.new(0,0,0),
  743. TextStrokeTransparency=0,
  744. TextScaled = true,
  745. })
  746. game.Debris:AddItem(EffectPart, (Time))
  747. EffectPart.Parent = game:GetService("Workspace")
  748. delay(0, function()
  749. local Frames = (Time / Rate)
  750. for Frame = 1, Frames do
  751. wait(Rate)
  752. local Percent = (Frame / Frames)
  753. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  754. TextLabel.TextTransparency = Percent
  755. TextLabel.TextStrokeTransparency = Percent
  756. end
  757. if EffectPart and EffectPart.Parent then
  758. EffectPart:Destroy()
  759. end
  760. end)
  761. end
  762.  
  763.  
  764. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  765. if(who)then
  766. local hum = who:FindFirstChildOfClass'Humanoid'
  767. local Damage = M.RNG(minDam,maxDam)
  768. local canHit = true
  769. if(hum)then
  770. for _, p in pairs(Hit) do
  771. if p[1] == hum then
  772. if(time() - p[2] < 0.1) then
  773. canHit = false
  774. else
  775. Hit[_] = nil
  776. end
  777. end
  778. end
  779. if(canHit)then
  780. table.insert(Hit,{hum,time()})
  781. if(hum.Health >= math.huge)then
  782. who:BreakJoints()
  783. if(who:FindFirstChild'Head' and hum.Health > 0)then
  784. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "INSTANT", 1.5, C3.N(1,0,0))
  785. end
  786. else
  787. local player = S.Players:GetPlayerFromCharacter(who)
  788. if(Type == "Fire")then
  789. --idk..
  790. else
  791. local c = Instance.new("ObjectValue",hum)
  792. c.Name = "creator"
  793. c.Value = Plr
  794. game:service'Debris':AddItem(c,0.35)
  795. if(M.RNG(1,100) <= (critChance or 0) and critMult > 1)then
  796. if(who:FindFirstChild'Head' and hum.Health > 0)then
  797. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[CRIT] "..Damage*(critMult or 2), 1.5, BrickColor.new'New Yeller'.Color)
  798. end
  799. hum.Health = hum.Health - Damage*(critMult or 2)
  800. else
  801. if(who:FindFirstChild'Head' and hum.Health > 0)then
  802. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), Damage, 1.5, DamageColor.Color)
  803. end
  804. hum.Health = hum.Health - Damage
  805. end
  806. if(Type == 'Knockback' and GetTorso(who))then
  807. local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  808. local body = NewInstance('BodyVelocity',GetTorso(who),{
  809. P = 500,
  810. maxForce = V3.N(math.huge,0,math.huge),
  811. velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  812. })
  813. game:service'Debris':AddItem(body,.5)
  814. elseif(Type == "Electric")then
  815. if(M.RNG(1,100) >= critChance)then
  816. if(who:FindFirstChild'Head' and hum.Health > 0)then
  817. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[PARALYZED]", 1.5, BrickColor.new"New Yeller".Color)
  818. end
  819. local asd = hum.WalkSpeed/2
  820. hum.WalkSpeed = asd
  821. local paralyzed = true
  822. coroutine.wrap(function()
  823. while paralyzed do
  824. swait(25)
  825. if(M.RNG(1,25) == 1)then
  826. if(who:FindFirstChild'Head' and hum.Health > 0)then
  827. ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[STATIC]", 1.5, BrickColor.new"New Yeller".Color)
  828. end
  829. hum.PlatformStand = true
  830. end
  831. end
  832. end)()
  833. delay(4, function()
  834. paralyzed = false
  835. hum.WalkSpeed = hum.WalkSpeed + asd
  836. end)
  837. end
  838.  
  839. elseif(Type == 'Knockdown' and GetTorso(who))then
  840. local rek = GetTorso(who)
  841. hum.PlatformStand = true
  842. delay(1,function()
  843. hum.PlatformStand = false
  844. end)
  845. local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  846. local bodvol = NewInstance("BodyVelocity",rek,{
  847. velocity = angle * Knock,
  848. P = 5000,
  849. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  850. })
  851. local rl = NewInstance("BodyAngularVelocity",rek,{
  852. P = 3000,
  853. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  854. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  855. })
  856. game:GetService("Debris"):AddItem(bodvol, .5)
  857. game:GetService("Debris"):AddItem(rl, .5)
  858. end
  859. end
  860. end
  861. end
  862. end
  863. end
  864. end
  865.  
  866. function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult)
  867. for _,v in next, getRegion(where,range,{Char}) do
  868. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  869. DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult)
  870. end
  871. end
  872. end
  873. function AOEHeal(where,range,amount)
  874. local healed = {}
  875. for _,v in next, getRegion(where,range,{Char}) do
  876. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  877. if(hum and not healed[hum])then
  878. hum.Health = hum.Health + amount
  879. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  880. ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Lime green'.Color)
  881. end
  882. end
  883. end
  884. end
  885.  
  886.  
  887. --// Attack Functions \\--
  888.  
  889. function Smite()
  890. Zap{
  891. StartCFrame=CF.N(Mouse.Hit.p)*CF.N(0,500,0),
  892. EndCFrame=CF.N(Mouse.Hit.p),
  893. ZapRotation = {-5,5},
  894. StartSize = 5,
  895. EndSize = 1,
  896. Delay=5,
  897. DelayInc=1,
  898. }
  899. AOEDamage(Mouse.Hit.p,3,15,35,false,"Electric",75,1)
  900. end
  901.  
  902. function LightningStorm()
  903. Attack = true
  904. Rooted = true
  905. NeutralAnims = false
  906. Hum.AutoRotate = false
  907. repeat swait()
  908. Root.CFrame = Root.CFrame:lerp(CF.N(Root.CFrame.p,V3.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z)),.1)
  909. local Alpha = .3
  910. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0109784482, 0.00629424211+.25*M.C(Sine/12), 0.00456619123, 0, 0.00628576428, 0.999979854, 0, 0.99998033, -0.00628576661, -0.999999702, -7.27595761e-12, 0)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
  911. LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  912. RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
  913. LS.C0 = clerp(LS.C0,CFrame.new(-1.51089513, 0.618211091+.1*M.C(Sine/12), -0.00361234695, 0.982347131, 0.18641524, 0.0156120034, -0.186530694, 0.982429147, 0.00628500059, -0.0141660646, -0.0090861693, 0.999858379)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  914. RS.C0 = clerp(RS.C0,CFrame.new(1.17289495, 0.616719723+.1*M.C(Sine/12), 0.011598235, -0.52721566, -0.849588335, 0.0156120034, 0.849726856, -0.527186096, 0.00628500059, 0.0028907666, 0.0165794864, 0.999858379)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  915. NK.C0 = clerp(NK.C0,CFrame.new(0.00954779983, 1.49905622, 0.00156322215, -1.82539225e-07, 0.0574940294, -0.998345554, 0.00628540665, 0.998326242, 0.0574929155, 0.999979854, -0.00627500098, -0.000361557119),Alpha)
  916. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  917. WingFlutter()
  918. until not S.UserInputService:IsKeyDown(Enum.KeyCode.C)
  919. local where = Mouse.Hit.p
  920. for i = 0, 6, .1 do
  921. swait()
  922. local Alpha = .3
  923. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0109784482, 0.00629424211+.25*M.C(Sine/12), 0.00456619123, 0, 0.00628576428, 0.999979854, 0, 0.99998033, -0.00628576661, -0.999999702, -7.27595761e-12, 0)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
  924. LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  925. RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
  926. LS.C0 = clerp(LS.C0,CFrame.new(-1.51089513, 0.618211091+.1*M.C(Sine/12), -0.00361234695, 0.982347131, 0.18641524, 0.0156120034, -0.186530694, 0.982429147, 0.00628500059, -0.0141660646, -0.0090861693, 0.999858379)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  927. RS.C0 = clerp(RS.C0,CFrame.new(1.17289495, 0.616719723+.1*M.C(Sine/12), 0.011598235, -0.52721566, -0.849588335, 0.0156120034, 0.849726856, -0.527186096, 0.00628500059, 0.0028907666, 0.0165794864, 0.999858379)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  928. NK.C0 = clerp(NK.C0,CFrame.new(0.00954779983, 1.49905622, 0.00156322215, -1.82539225e-07, 0.0574940294, -0.998345554, 0.00628540665, 0.998326242, 0.0574929155, 0.999979854, -0.00627500098, -0.000361557119),Alpha)
  929. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  930. WingFlutter()
  931. end
  932. for i = 0, 1.4, .1 do
  933. swait()
  934. local Alpha = .3
  935. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0109784482, 0.00629424211+.25*M.C(Sine/12), 0.00456619123, 0, 0.00628576428, 0.999979854, 0, 0.99998033, -0.00628576661, -0.999999702, -7.27595761e-12, 0)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
  936. LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  937. RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
  938. LS.C0 = clerp(LS.C0,CFrame.new(-1.51089513, 0.618211091+.1*M.C(Sine/12), -0.00361234695, 0.982347131, 0.18641524, 0.0156120034, -0.186530694, 0.982429147, 0.00628500059, -0.0141660646, -0.0090861693, 0.999858379)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  939. RS.C0 = clerp(RS.C0,CFrame.new(1.39888549, 0.921575725+.1*M.C(Sine/12), 0.00929622632, -0.917422354, -0.397608638, 0.0156120034, 0.397739291, -0.917477012, 0.00628500059, 0.0118246814, 0.0119755063, 0.999858379)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  940. NK.C0 = clerp(NK.C0,CFrame.new(0.00954779983, 1.49905622, 0.00156322215, -1.82539225e-07, 0.0574940294, -0.998345554, 0.00628540665, 0.998326242, 0.0574929155, 0.999979854, -0.00627500098, -0.000361557119),Alpha)
  941. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  942. WingFlutter()
  943. end
  944. for i = 0, .8, .1 do
  945. swait()
  946. local Alpha = .3
  947. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0109784482, 0.00629424211+.25*M.C(Sine/12), 0.00456619123, 0, 0.00628576428, 0.999979854, 0, 0.99998033, -0.00628576661, -0.999999702, -7.27595761e-12, 0)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
  948. LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  949. RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
  950. LS.C0 = clerp(LS.C0,CFrame.new(-1.51089513, 0.618211091+.1*M.C(Sine/12), -0.00361234695, 0.982347131, 0.18641524, 0.0156120034, -0.186530694, 0.982429147, 0.00628500059, -0.0141660646, -0.0090861693, 0.999858379)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  951. RS.C0 = clerp(RS.C0,CFrame.new(1.39452517, 0.577189744, 0.0083861379, 0.913589835, -0.406337589, 0.0156120034, 0.406289399, 0.913722992, 0.00628500059, -0.0168188754, 0.000601077918, 0.999858379)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  952. NK.C0 = clerp(NK.C0,CFrame.new(0.00954779983, 1.49905622, 0.00156322215, -1.82539225e-07, 0.0574940294, -0.998345554, 0.00628540665, 0.998326242, 0.0574929155, 0.999979854, -0.00627500098, -0.000361557119),Alpha)
  953. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  954. WingFlutter()
  955. end
  956.  
  957. for i = 0, 6, .1 do
  958. pcall(function() Sound(Torso,481719045,1,1,false,true,true) end)
  959. local pos = CF.N(where)*CF.N(M.RNG(-1000,1000,100),0,M.RNG(-1000,1000,100))
  960. local part,rayPos,norm,dist = CastRay(pos*CF.N(0,500,0).p,pos.p,1500)
  961. Zap{
  962. StartCFrame=pos*CF.N(0,500,0),
  963. EndCFrame=CF.N(rayPos),
  964. ZapRotation = {-5,5},
  965. StartSize = 1,
  966. EndSize = .5,
  967. Delay=10,
  968. DelayInc=2,
  969. }
  970. AOEDamage(rayPos,5,45,65,0,'Electric',25,2)
  971. swait()
  972. local Alpha = .3
  973. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0109784482, 0.00629424211+.25*M.C(Sine/12), 0.00456619123, 0, 0.00628576428, 0.999979854, 0, 0.99998033, -0.00628576661, -0.999999702, -7.27595761e-12, 0)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
  974. LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  975. RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
  976. LS.C0 = clerp(LS.C0,CFrame.new(-1.51089513, 0.618211091+.1*M.C(Sine/12), -0.00361234695, 0.982347131, 0.18641524, 0.0156120034, -0.186530694, 0.982429147, 0.00628500059, -0.0141660646, -0.0090861693, 0.999858379)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  977. RS.C0 = clerp(RS.C0,CFrame.new(1.39452517, 0.577189744, 0.0083861379, 0.913589835, -0.406337589, 0.0156120034, 0.406289399, 0.913722992, 0.00628500059, -0.0168188754, 0.000601077918, 0.999858379)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  978. NK.C0 = clerp(NK.C0,CFrame.new(0.00954779983, 1.49905622, 0.00156322215, -1.82539225e-07, 0.0574940294, -0.998345554, 0.00628540665, 0.998326242, 0.0574929155, 0.999979854, -0.00627500098, -0.000361557119),Alpha)
  979. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  980. WingFlutter()
  981. end
  982. Hum.AutoRotate = true
  983. Attack = false
  984. NeutralAnims = true
  985. Rooted = false
  986. end
  987.  
  988.  
  989. function HolyBomb()
  990. Attack = true
  991. Chat2("It's time to cleanse this world!")
  992. swait(60)
  993. Rooted = true
  994. NeutralAnims = false
  995. for i = 0, 6, 0.1 do
  996. swait()
  997. local Alpha = .05
  998. Zap{
  999. StartCFrame=CF.N(Root.CFrame.p)*CF.N(0,250,0),
  1000. EndCFrame=CF.N(Root.CFrame.p),
  1001. ZapRotation = {-15,15},
  1002. Color=C3.N(1,1,0),
  1003. StartSize = 1,
  1004. EndSize = 1,
  1005. Delay=5,
  1006. DelayInc=1,
  1007. }
  1008. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20455468e-13, 0.00629198179, 1.40559132e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  1009. LH.C0 = clerp(LH.C0,CFrame.new(-0.507250547, -0.110386491, -0.672860861, 0.999877751, -0.00782374945, 0.013510122, -9.81397825e-05, 0.862201095, 0.506566346, -0.0156116877, -0.506505728, 0.862094939),Alpha)
  1010. RH.C0 = clerp(RH.C0,CFrame.new(0.487759113, -0.105839849, -0.680253506, 0.999877751, -0.00782374945, 0.013510122, -9.81397825e-05, 0.862201095, 0.506566346, -0.0156116877, -0.506505728, 0.862094939),Alpha)
  1011. LS.C0 = clerp(LS.C0,CFrame.new(-1.04961777, 0.162827805, -0.367515624, 0.65209949, -0.758071303, 0.00966797117, 0.478066534, 0.401272744, -0.781301916, 0.588403046, 0.514108539, 0.624078274),Alpha)
  1012. RS.C0 = clerp(RS.C0,CFrame.new(1.01012444, 0.107069746, -0.463154793, 0.633318067, 0.773830771, 0.00966686849, -0.478192717, 0.401122361, -0.781301916, -0.608473003, 0.490190029, 0.624078274),Alpha)
  1013. NK.C0 = clerp(NK.C0,CFrame.new(6.11957148e-06, 1.44927096, -0.405988753, 0.999999583, 7.24568963e-07, -6.8731606e-07, 6.33735908e-09, 0.684226215, 0.729269981, 1.00024045e-06, -0.729269683, 0.684225917),Alpha)
  1014. WingFlutter()
  1015. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),.3)
  1016. end
  1017. for i = 0, .8, 0.1 do
  1018. swait()
  1019. local Alpha = .3
  1020. RJ.C0 = clerp(RJ.C0,CFrame.new(0.00439098151, 0.0666924566, 0.281248361, 0.999959052, 0.00860917568, -0.00265517179, -0.0086270012, 0.830053985, -0.557616353, -0.00259668194, 0.557616353, 0.830094337),Alpha)
  1021. LH.C0 = clerp(LH.C0,CFrame.new(-0.497570813, -0.936474979, -0.0477344394, 0.999878109, -0.00782567263, 0.0135120051, -9.73803981e-05, 0.862202823, 0.506563246, -0.0156142879, -0.506502926, 0.862096965),Alpha)
  1022. RH.C0 = clerp(RH.C0,CFrame.new(0.497439325, -0.931922615, -0.0551193655, 0.999878109, -0.00782567263, 0.0135120051, -9.73803981e-05, 0.862202823, 0.506563246, -0.0156142879, -0.506502926, 0.862096965),Alpha)
  1023. LS.C0 = clerp(LS.C0,CFrame.new(-1.30848432, 0.518583834, 0.0627421439, 0.758070946, 0.652100444, 0.0096699167, -0.401271075, 0.478066146, -0.781302929, -0.514110804, 0.588402867, 0.624077141),Alpha)
  1024. RS.C0 = clerp(RS.C0,CFrame.new(1.42235136, 0.462758094, -0.0433900952, 0.77383244, -0.633316636, 0.00966930948, 0.401121885, 0.478191316, -0.781302929, 0.49018833, 0.608476162, 0.624077141),Alpha)
  1025. NK.C0 = clerp(NK.C0,CFrame.new(0.00874680094, 1.45278561, 0.153901845, 0.999851108, 0.0168225225, 0.00386164617, -0.014445669, 0.938051641, -0.346193999, -0.00944628194, 0.346086651, 0.938155115),Alpha)
  1026. end
  1027. delay(1, function()
  1028. NeutralAnims = true
  1029. Rooted = false
  1030. end)
  1031. local start = NewInstance("Part",Effects,{Anchored=true,CanCollide=false,Transparency=1,CFrame=Root.CFrame})
  1032. Sound(Char,579687077,.5,2,false,true,true)
  1033. Sound(Char,239000203,.75,2,false,true,true)
  1034. for i = 1, 140 do
  1035. AOEDamage(start.CFrame.p,95,1000,1000,0,'Normal',100,5)
  1036. Effect{
  1037. Effect='ResizeAndFade',
  1038. Mesh={MeshType=Enum.MeshType.Sphere},
  1039. Color=C3.N(1,1,0),
  1040. Material=Enum.Material.Neon,
  1041. CFrame=CF.N(start.CFrame.p)*CF.N(M.RNG(-75,75),M.RNG(-75,75),M.RNG(-75,75)),
  1042. Frames=60,
  1043. FXSettings={
  1044. EndIsIncrement=true,
  1045. EndSize=V3.N(.6,.6,.6)
  1046. }
  1047. }
  1048. swait(1)
  1049. end
  1050. Attack = false
  1051. end
  1052.  
  1053. function Lazor()
  1054. Rooted = true
  1055. Attack = true
  1056. Hum.AutoRotate=false
  1057. NeutralAnims = false
  1058. Chat2("Begone, sinner.")
  1059. --Effect{Effect='Resize',Mesh={MeshType=Enum.MeshType.FileMesh},Size=V3.N(1,1,1),CFrame=,Frames=60,FXSettings={EndSize=V3.N(4,4,4)}}
  1060. local snd = Sound(Torso,705787045,1,1,true,false,false)
  1061. for i = 0, 6, .1 do
  1062. Effect{
  1063. Effect='Fade',
  1064. Color=BrickColor.new'New Yeller',
  1065. Size=V3.N((i/2),(i/2),(i/2)),
  1066. Material=Enum.Material.Neon,
  1067. Mesh={MeshType=Enum.MeshType.Sphere},
  1068. Frames=15,
  1069. CFrame=RArm.CFrame*CF.N(0,-1.5,0),
  1070. Sound=false
  1071. }
  1072. swait()
  1073. Root.CFrame =Root.CFrame:lerp(CF.N(Root.CFrame.p,V3.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z)),.1)
  1074. local Alpha = .1
  1075. Change = .5
  1076. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20625471e-13, 0+.25*M.C(Sine/12), -6.20266655e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
  1077. LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1078. RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
  1079. LS.C0 = clerp(LS.C0,CFrame.new(-1.09520316, 0.319447398+.1*M.C(Sine/12), 0.380316556, 0.862274766, -0.50140965, 0.071203351, 0.413908899, 0.77874434, 0.471420079, -0.291823745, -0.377021939, 0.879029453)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1080. RS.C0 = clerp(RS.C0,CFrame.new(1.46309233, 0.634022355+.1*M.C(Sine/12), 0.0835287869, -0.816918671, -0.539614618, 0.203615591, -0.392316222, 0.261119068, -0.881989181, 0.422766358, -0.800395131, -0.425012559),Alpha)
  1081. NK.C0 = clerp(NK.C0,CFrame.new(-7.09252117e-06, 1.4989512, -0.0144005567, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
  1082. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1083. WingFlutter()
  1084. end
  1085. snd:Play()
  1086. for i = 0, 24, .1 do
  1087. swait()
  1088. Effect{
  1089. Effect='Fade',
  1090. Color=BrickColor.new'New Yeller',
  1091. Size=V3.N(3,3,3),
  1092. Material=Enum.Material.Neon,
  1093. Mesh={MeshType=Enum.MeshType.Sphere},
  1094. Frames=15,
  1095. CFrame=RArm.CFrame*CF.N(0,-1.5,0),
  1096. }
  1097. if(Mouse.Target)then
  1098. Zap{
  1099. StartCFrame=RArm.CFrame*CF.N(0,-1.5,0),
  1100. EndCFrame=Mouse.Hit,
  1101. ZapRotation = {-5,5},
  1102. PartCount=10,
  1103. StartSize = .5,
  1104. EndSize = .5,
  1105. Color = C3.N(1,1,0),
  1106. DelayInc=0,
  1107. Delay =5,
  1108. }
  1109. end
  1110. AOEDamage(Mouse.Hit.p,3,10,15,false,"Electric",25,2)
  1111. Root.CFrame = Root.CFrame:lerp(CF.N(Root.CFrame.p,V3.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z)),.1)
  1112. local Alpha = .1
  1113. Change = .5
  1114. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20625471e-13, 0+.25*M.C(Sine/12), -6.20266655e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
  1115. LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1116. RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
  1117. LS.C0 = clerp(LS.C0,CFrame.new(-1.09520316, 0.319447398+.1*M.C(Sine/12), 0.380316556, 0.862274766, -0.50140965, 0.071203351, 0.413908899, 0.77874434, 0.471420079, -0.291823745, -0.377021939, 0.879029453)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1118. RS.C0 = clerp(RS.C0,CFrame.new(1.42641699, 0.76597631+.1*M.C(Sine/12), -0.207831383, 0.954205394, 0.219142094, 0.203637421, 0.275958538, -0.38200587, -0.881996989, -0.115491927, 0.897801638, -0.424986154),Alpha)
  1119. NK.C0 = clerp(NK.C0,CFrame.new(-7.09252117e-06, 1.4989512, -0.0144005567, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
  1120. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1121. WingFlutter()
  1122. end
  1123. coroutine.wrap(function()
  1124. for i = 1, 0,-.05 do
  1125. snd.Volume = i
  1126. swait()
  1127. end
  1128. snd:destroy()
  1129. end)()
  1130. Rooted = false
  1131. Attack = false
  1132. Hum.AutoRotate=true
  1133. NeutralAnims = true
  1134. end
  1135.  
  1136. function Teleport()
  1137. Rooted = true
  1138. Attack = true
  1139. Hum.AutoRotate=false
  1140. NeutralAnims = false
  1141. repeat swait()
  1142. Root.CFrame =Root.CFrame:lerp(CF.N(Root.CFrame.p,V3.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z)),.1)
  1143. local Alpha = .1
  1144. Change = .5
  1145. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20625471e-13, 0+.25*M.C(Sine/12), -6.20266655e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
  1146. LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1147. RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
  1148. LS.C0 = clerp(LS.C0,CFrame.new(-1.30013025, 0.503248096+.1*M.C(Sine/12), -0.596688211, 0.828000546, -0.560713708, -6.38549547e-10, 0.003524723, 0.00520492578, -0.999980271, 0.560702682, 0.827984214, 0.00628613681),Alpha)
  1149. RS.C0 = clerp(RS.C0,CFrame.new(1.27528536, 0.496638358+.1*M.C(Sine/12), -0.579756379, 0.810091436, 0.586290658, -1.40121659e-09, -0.00368550443, 0.00509234518, -0.999980271, -0.586279035, 0.810075462, 0.00628613681),Alpha)
  1150. NK.C0 = clerp(NK.C0,CFrame.new(-7.09252117e-06, 1.4989512, -0.0144005567, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
  1151. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1152. WingFlutter()
  1153. until not S.UserInputService:IsKeyDown(Enum.KeyCode.Q)
  1154. local p = Mouse.Hit.p
  1155.  
  1156. --
  1157. local circle = NewInstance("Part",Effects,{CFrame=Root.CFrame*CF.N(0,0,-2),Size=V3.N(.05,.05,.05),Transparency=1,Anchored=true,CanCollide=false})
  1158. local decalF = NewInstance("Decal",circle,{Name='Front',Texture="rbxassetid://524002938",Color3=C3.N(1,1,0),Face=Enum.NormalId.Front,Transparency = 1})
  1159. local decalB = NewInstance("Decal",circle,{Name='Back',Texture="rbxassetid://524002938",Color3=C3.N(1,1,0),Face=Enum.NormalId.Back,Transparency=1})
  1160. local asd = CF.N(p,Root.Position)
  1161. local circle2=circle:Clone()
  1162. circle2.Parent = Effects
  1163. circle2.CFrame = asd*CF.N(0,4,0)
  1164. Root.Anchored = true
  1165. for i = 0, 3, .1 do
  1166. swait()
  1167. local Alpha = .1
  1168. Change = .5
  1169. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20625471e-13, 0+.25*M.C(Sine/12), -6.20266655e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
  1170. LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1171. RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
  1172. LS.C0 = clerp(LS.C0,CFrame.new(-1.21875513, 0.506383479+.1*M.C(Sine/12), -0.0979118943, 0.810091376, 0.586290598, 2.45534384e-08, -0.00368548767, 0.0050923666, -0.999980271, -0.586278975, 0.810075402, 0.00628614426),Alpha)
  1173. RS.C0 = clerp(RS.C0,CFrame.new(1.20952582, 0.499788254+.1*M.C(Sine/12), -0.0786797404, 0.828000546, -0.560713649, -2.55837147e-08, 0.0035247067, 0.00520494673, -0.999980271, 0.560702622, 0.827984214, 0.00628614519),Alpha)
  1174. NK.C0 = clerp(NK.C0,CFrame.new(-7.09252117e-06, 1.4989512, -0.0144005567, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
  1175. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1176. WingFlutter()
  1177. circle.Size = circle.Size + V3.N(.2,.2,0)
  1178. circle2.Size = circle2.Size + V3.N(.2,.2,0)
  1179. circle.Front.Transparency=1-(i/3)
  1180. circle.Back.Transparency=1-(i/3)
  1181. circle2.Front.Transparency=1-(i/3)
  1182. circle2.Back.Transparency=1-(i/3)
  1183.  
  1184. circle.CFrame=circle.CFrame*CF.A(0,0,M.R(5))
  1185. circle2.CFrame=circle2.CFrame*CF.A(0,0,M.R(5))
  1186. end
  1187. Root.Anchored = true
  1188. for i = 1, 3,.1 do
  1189. Root.Anchored = true
  1190. swait()
  1191. local Alpha = .1
  1192. Change = .5
  1193. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20625471e-13, 0+.25*M.C(Sine/12), -6.20266655e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
  1194. LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1195. RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
  1196. LS.C0 = clerp(LS.C0,CFrame.new(-1.09520316, 0.319447398+.1*M.C(Sine/12), 0.380316556, 0.862274766, -0.50140965, 0.071203351, 0.413908899, 0.77874434, 0.471420079, -0.291823745, -0.377021939, 0.879029453)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1197. RS.C0 = clerp(RS.C0,CFrame.new(1.38953996, 0.579314649+.1*M.C(Sine/12), 0.00156672322, 0.963396549, -0.267624378, 0.0156119959, 0.267557263, 0.9635216, 0.0062854127, -0.0167246256, -0.0018782462, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1198. NK.C0 = clerp(NK.C0,CFrame.new(-7.09252117e-06, 1.4989512, -0.0144005567, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
  1199. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1200. WingFlutter()
  1201. end
  1202. for i = 0, 2, .1 do
  1203. swait()
  1204. local Alpha = .1
  1205. Change = .5
  1206. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00288401172, -0.186870754+.25*M.C(Sine/12), -0.184415281, 0.999970019, -0.00748212682, -0.00185852405, 0.00747100171, 0.880958676, 0.473134309, -0.00190276653, -0.473133981, 0.880988002)*CF.A(-M.R(10+5*M.S(Sine/12)),0,0),Alpha)
  1207. LH.C0 = clerp(LH.C0,CFrame.new(-0.455414772, -0.964986682, 0.0489092469, 0.999094486, 0.0300228745, 0.0301540364, -0.0396850631, 0.913133621, 0.405724436, -0.0153536471, -0.406553656, 0.913497925)*CF.A(0,M.R(2+7*M.C(Sine/12)),-M.R(2+7*M.C(Sine/12))),Alpha)
  1208. RH.C0 = clerp(RH.C0,CFrame.new(0.544458926, -0.964868069, 0.0333667099, 0.999092519, 0.0301021822, 0.0301397741, -0.0397526845, 0.913105845, 0.405780286, -0.015305927, -0.406610161, 0.913473606)*CF.A(0,-M.R(2+7*M.C(Sine/12)),M.R(2+7*M.C(Sine/12))),Alpha)
  1209. LS.C0 = clerp(LS.C0,CFrame.new(-1.36389351, 0.578486085+.1*M.C(Sine/12), 0.180077106, -0.966345549, 0.257006437, -0.0111429691, 0.189922124, 0.683552086, -0.704759717, -0.173510939, -0.683157504, -0.709358692)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1210. RS.C0 = clerp(RS.C0,CFrame.new(1.36815977, 0.578247666+.1*M.C(Sine/12), 0.13745755, 0.960469842, -0.278161407, 0.0111425305, 0.189813495, 0.683640122, 0.704703569, -0.203638792, -0.674731433, 0.709414363)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1211. NK.C0 = clerp(NK.C0,CFrame.new(0.00204973482, 1.42796898, 0.117728591, 0.999878228, 0.00747100171, 0.0137089603, -9.46668442e-05, 0.880958676, -0.473193318, -0.0156122521, 0.473134309, 0.880851984),Alpha)
  1212. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1213. WingFlutter()
  1214. Root.CFrame = Root.CFrame * CF.N(0,0,-.1)
  1215. Transparency(i/2)
  1216. end
  1217. Zap{
  1218. StartCFrame=Root.CFrame,
  1219. EndCFrame=asd*CF.N(0,4,0),
  1220. ZapRotation = {-5,5},
  1221. PartCount=10,
  1222. StartSize = 4,
  1223. EndSize = .5,
  1224. Color = C3.N(1,1,0),
  1225. DelayInc=5,
  1226. Delay = 15,
  1227. }
  1228. Root.CFrame = asd*CF.N(0,4,0)
  1229. Root.Anchored = true
  1230.  
  1231. for i = 0, 2, .1 do
  1232. Root.Anchored = true
  1233. swait()
  1234. local Alpha = .1
  1235. Change = .5
  1236. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00288401172, -0.186870754+.25*M.C(Sine/12), -0.184415281, 0.999970019, -0.00748212682, -0.00185852405, 0.00747100171, 0.880958676, 0.473134309, -0.00190276653, -0.473133981, 0.880988002)*CF.A(-M.R(10+5*M.S(Sine/12)),0,0),Alpha)
  1237. LH.C0 = clerp(LH.C0,CFrame.new(-0.455414772, -0.964986682, 0.0489092469, 0.999094486, 0.0300228745, 0.0301540364, -0.0396850631, 0.913133621, 0.405724436, -0.0153536471, -0.406553656, 0.913497925)*CF.A(0,M.R(2+7*M.C(Sine/12)),-M.R(2+7*M.C(Sine/12))),Alpha)
  1238. RH.C0 = clerp(RH.C0,CFrame.new(0.544458926, -0.964868069, 0.0333667099, 0.999092519, 0.0301021822, 0.0301397741, -0.0397526845, 0.913105845, 0.405780286, -0.015305927, -0.406610161, 0.913473606)*CF.A(0,-M.R(2+7*M.C(Sine/12)),M.R(2+7*M.C(Sine/12))),Alpha)
  1239. LS.C0 = clerp(LS.C0,CFrame.new(-1.36389351, 0.578486085+.1*M.C(Sine/12), 0.180077106, -0.966345549, 0.257006437, -0.0111429691, 0.189922124, 0.683552086, -0.704759717, -0.173510939, -0.683157504, -0.709358692)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1240. RS.C0 = clerp(RS.C0,CFrame.new(1.36815977, 0.578247666+.1*M.C(Sine/12), 0.13745755, 0.960469842, -0.278161407, 0.0111425305, 0.189813495, 0.683640122, 0.704703569, -0.203638792, -0.674731433, 0.709414363)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1241. NK.C0 = clerp(NK.C0,CFrame.new(0.00204973482, 1.42796898, 0.117728591, 0.999878228, 0.00747100171, 0.0137089603, -9.46668442e-05, 0.880958676, -0.473193318, -0.0156122521, 0.473134309, 0.880851984),Alpha)
  1242. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1243. WingFlutter()
  1244. Root.CFrame = Root.CFrame * CF.N(0,0,-.1)
  1245. Transparency(1-(i/2))
  1246. end
  1247.  
  1248.  
  1249. Transparency(0)
  1250. coroutine.wrap(function()
  1251. for i = 0, 3, .1 do
  1252. swait()
  1253. local Alpha = .1
  1254. Change = .5
  1255. circle.Size = circle.Size - V3.N(.2,.2,0)
  1256. circle2.Size = circle2.Size - V3.N(.2,.2,0)
  1257. circle.Front.Transparency=(i/3)
  1258. circle.Back.Transparency=(i/3)
  1259. circle2.Front.Transparency=(i/3)
  1260. circle2.Back.Transparency=(i/3)
  1261.  
  1262. circle.CFrame=circle.CFrame*CF.A(0,0,-M.R(5))
  1263. circle2.CFrame=circle2.CFrame*CF.A(0,0,-M.R(5))
  1264. end
  1265. end)()
  1266. Hum.AutoRotate = true
  1267. Root.Anchored = false
  1268. Rooted = false
  1269. Attack = false
  1270. NeutralAnims = true
  1271. end
  1272.  
  1273. Mouse.KeyDown:connect(function(k)
  1274. if(Attack)then return end
  1275. if(k == 'q')then Teleport() end
  1276. if(k == 'z')then Lazor() end
  1277. if(k == 'x')then Smite() end
  1278. if(k == 'v')then HolyBomb() end
  1279. if(k == 'c')then LightningStorm() end
  1280. end)
  1281.  
  1282.  
  1283. --// Wrap it all up \\--
  1284. while true do
  1285. swait()
  1286. Sine = Sine + Change
  1287.  
  1288. if(not Music or not Music.Parent)then
  1289. local a = Music.TimePosition
  1290. Music = Sound(Char,MusicID,1,3,true,false,true)
  1291. Music.Name = 'Music'
  1292. Music.TimePosition = a
  1293. end
  1294. Music.Playing = true
  1295. Torso.Color = C3.N(0,0,0)
  1296. RArm.Color = C3.N(0,0,0)
  1297. LArm.Color = C3.N(0,0,0)
  1298. RLeg.Color = C3.N(0,0,0)
  1299. LLeg.Color = C3.N(0,0,0)
  1300. Head.Color = C3.N(0,0,0)
  1301. Music.Volume = 5
  1302. Music.Pitch = 1
  1303. Music.Playing = true
  1304. Hum.HipHeight = 2
  1305. Sine = Sine + Change
  1306. local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * 100), Char)
  1307. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1308. local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or Walking and "Walk" or "Idle")
  1309. if(time()-PulseTime > .05)then
  1310. PulseTime = time()
  1311. if(hitfloor)then
  1312. local angles = CF.A(M.RRNG(-15,15),M.RRNG(-45,45),M.RRNG(-45,45))
  1313. Effect{
  1314. Effect='ResizeAndFade',
  1315. Color=hitfloor.Color,
  1316. Material=hitfloor.Material,
  1317. Frames=60,
  1318. Mesh={MeshType=Enum.MeshType.FileMesh,MeshId="rbxassetid://662586858",Scale=V3.N(.01,.01,.01)},
  1319. CFrame=CF.N(posfloor)*angles,
  1320. MoveDirection=CF.N(posfloor)*angles*CF.N(0,6,0).p,
  1321. FXSettings = {
  1322. EndSize=V3.N(.0005,.0005,.0005),
  1323. EndIsIncrement=true
  1324. }
  1325. }
  1326. end
  1327. local pos = CF.N(Torso.CFrame.p)*CF.N(0,-2,0)*CF.A(0,M.RRNG(-180,180),0)*CF.N(0,0,M.RNG(-15,-5))
  1328. local hitfloor2,posfloor2 = workspace:FindPartOnRay(Ray.new(pos.p,((CFrame.new(pos.p,pos.p - Vector3.new(0,1,0))).lookVector).unit * 100), Char)
  1329.  
  1330. if(hitfloor2)then
  1331. pos = CF.N(posfloor2)
  1332. Effect{
  1333. Effect='ResizeAndFade',
  1334. Color=BrickColor.new'New Yeller',
  1335. Size=V3.N(2,2,2),
  1336. Material=Enum.Material.Neon,
  1337. Mesh={MeshType=Enum.MeshType.Sphere},
  1338. Frames=45,
  1339. CFrame=pos,
  1340. FXSettings = {
  1341. EndSize = V3.N(-.01,.25,-.01),
  1342. EndIsIncrement = true
  1343. }
  1344. }
  1345. else
  1346. Effect{
  1347. Effect='ResizeAndFade',
  1348. Color=BrickColor.new'New Yeller',
  1349. Size=V3.N(2,2,2),
  1350. Material=Enum.Material.Neon,
  1351. Mesh={MeshType=Enum.MeshType.Sphere},
  1352. Frames=45,
  1353. CFrame=pos,
  1354. FXSettings = {
  1355. EndSize = V3.N(-.01,.25,-.01),
  1356. EndIsIncrement = true
  1357. }
  1358. }
  1359. end
  1360. end
  1361. Hum.Name = math.random()*100000
  1362. Hum.MaxHealth = 1e100
  1363. Hum.Health = 1e100
  1364. if(M.RNG(1,50) == 1)then
  1365. local pos = CF.N(Torso.CFrame.p)*CF.N(0,-2,0)*CF.A(0,M.RRNG(-180,180),0)*CF.N(0,0,M.RNG(-30,-15))
  1366. local hitfloor2,posfloor2 = workspace:FindPartOnRay(Ray.new(pos.p,((CFrame.new(pos.p,pos.p - Vector3.new(0,1,0))).lookVector).unit * 100), Char)
  1367.  
  1368. if(hitfloor2)then
  1369. pos = CF.N(posfloor2)
  1370. end
  1371. Zap{
  1372. StartCFrame=Torso.CFrame,
  1373. EndCFrame=pos,
  1374. ZapRotation = {-2,2},
  1375. PartCount=5,
  1376. StartSize = .5,
  1377. EndSize = 0,
  1378. Color = C3.N(1,1,0),
  1379. DelayInc=5,
  1380. Delay = 15,
  1381. Sound=false
  1382. }
  1383. end
  1384. if(Rooted == false)then
  1385. Hum.WalkSpeed = 32
  1386. Hum.JumpPower = 75
  1387. else
  1388. Hum.WalkSpeed = 0
  1389. Hum.JumpPower = 0
  1390. end
  1391. if(not Effects or not Effects.Parent)then
  1392. Effects = IN("Model",Char)
  1393. Effects.Name = "Effects"
  1394. end
  1395. if(NeutralAnims)then
  1396. if(State == 'Idle')then
  1397. local Alpha = .1
  1398. Change = .5
  1399. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20625471e-13, 0+.25*M.C(Sine/12), -6.20266655e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(-M.R(3+5*M.S(Sine/12)),0,0),Alpha)
  1400. LH.C0 = clerp(LH.C0,CFrame.new(-0.443078369, -0.366475701, -0.69529891, 0.999093771, 0.0300307292, 0.0301540978, -0.039692279, 0.913133621, 0.405723602, -0.0153505448, -0.406552792, 0.913497925)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1401. RH.C0 = clerp(RH.C0,CFrame.new(0.563508928, -0.975499094, 0.0143494867, 0.992422402, -0.121874072, 0.0156119959, 0.121789157, 0.992536128, 0.0062854127, -0.0162614994, -0.00433641672, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),-M.R(0+5*M.C(Sine/12))),Alpha)
  1402. LS.C0 = clerp(LS.C0,CFrame.new(-1.09520316, 0.319447398+.1*M.C(Sine/12), 0.380316556, 0.862274766, -0.50140965, 0.071203351, 0.413908899, 0.77874434, 0.471420079, -0.291823745, -0.377021939, 0.879029453)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1403. RS.C0 = clerp(RS.C0,CFrame.new(1.38953996, 0.579314649+.1*M.C(Sine/12), 0.00156672322, 0.963396549, -0.267624378, 0.0156119959, 0.267557263, 0.9635216, 0.0062854127, -0.0167246256, -0.0018782462, 0.999858022)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1404. NK.C0 = clerp(NK.C0,CFrame.new(-7.09252117e-06, 1.4989512, -0.0144005567, 0.999999225, 3.67464963e-07, -1.62050128e-07, -3.56478267e-07, 0.997964799, 0.0637686923, 1.8440187e-07, -0.0637686551, 0.997963905),Alpha)
  1405. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1406. WingFlutter()
  1407.  
  1408. elseif(State == 'Walk')then
  1409. local Alpha = .1
  1410. Change = .5
  1411. RJ.C0 = clerp(RJ.C0,CFrame.new(-0.00288401172, -0.186870754+.25*M.C(Sine/12), -0.184415281, 0.999970019, -0.00748212682, -0.00185852405, 0.00747100171, 0.880958676, 0.473134309, -0.00190276653, -0.473133981, 0.880988002)*CF.A(-M.R(10+5*M.S(Sine/12)),0,0),Alpha)
  1412. LH.C0 = clerp(LH.C0,CFrame.new(-0.455414772, -0.964986682, 0.0489092469, 0.999094486, 0.0300228745, 0.0301540364, -0.0396850631, 0.913133621, 0.405724436, -0.0153536471, -0.406553656, 0.913497925)*CF.A(0,M.R(2+7*M.C(Sine/12)),-M.R(2+7*M.C(Sine/12))),Alpha)
  1413. RH.C0 = clerp(RH.C0,CFrame.new(0.544458926, -0.964868069, 0.0333667099, 0.999092519, 0.0301021822, 0.0301397741, -0.0397526845, 0.913105845, 0.405780286, -0.015305927, -0.406610161, 0.913473606)*CF.A(0,-M.R(2+7*M.C(Sine/12)),M.R(2+7*M.C(Sine/12))),Alpha)
  1414. LS.C0 = clerp(LS.C0,CFrame.new(-1.36389351, 0.578486085+.1*M.C(Sine/12), 0.180077106, -0.966345549, 0.257006437, -0.0111429691, 0.189922124, 0.683552086, -0.704759717, -0.173510939, -0.683157504, -0.709358692)*CF.A(0,M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1415. RS.C0 = clerp(RS.C0,CFrame.new(1.36815977, 0.578247666+.1*M.C(Sine/12), 0.13745755, 0.960469842, -0.278161407, 0.0111425305, 0.189813495, 0.683640122, 0.704703569, -0.203638792, -0.674731433, 0.709414363)*CF.A(0,-M.R(0+5*M.C(Sine/12)),M.R(0+5*M.C(Sine/12))),Alpha)
  1416. NK.C0 = clerp(NK.C0,CFrame.new(0.00204973482, 1.42796898, 0.117728591, 0.999878228, 0.00747100171, 0.0137089603, -9.46668442e-05, 0.880958676, -0.473193318, -0.0156122521, 0.473134309, 0.880851984),Alpha)
  1417. WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1418. WingFlutter()
  1419. elseif(State == 'Paralyzed')then
  1420. -- paralyzed
  1421. elseif(State == 'Sit')then
  1422. -- sit
  1423. end
  1424. end
  1425. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement