Advertisement
Stp3555

Nebula Angel

Mar 26th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 66.06 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 HaloHandle = NewInstance("Part",Halo,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,})
  220. local WingHandle = NewInstance("Part",Wings,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,})
  221.  
  222. for i = 1, 360,5 do
  223.     local part = NewInstance("Part",Halo,{BrickColor=BrickColor.new"New Yeller",Material=Enum.Material.Neon,Size=V3.N(0.69,0.1,0.3),Anchored=false,CanCollide=false,Locked=true,Transparency=.6})
  224.     local weld = NewInstance("Weld",part,{Part0=HaloHandle,Part1=part,C0=CF.A(0,M.R(i),0)*CF.N(0,0,-.6)})
  225. end
  226.  
  227. if(PlayerSize ~= 1)then
  228.     for _,v in next, Char:GetDescendats() do
  229.         if(v:IsA'BasePart')then
  230.             v.Size = v.Size * PlayerSize
  231.         end
  232.     end
  233. end
  234.  
  235. local Music = Sound(Char,MusicID,1,3,true,false,true)
  236. Music.Name = 'Music'
  237.  
  238. -- Wing Creation
  239. local FeatherWelds = {{},{}}
  240. local inc = 1
  241. for aa = 1, 4 do
  242.     local lastFeather;
  243.     FeatherWelds[1][aa] = {}
  244.     for i = 1, 4+inc do
  245.         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)})
  246.         NewInstance("SpecialMesh",feather,{MeshType=Enum.MeshType.Sphere})
  247.         if(lastFeather)then
  248.             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))}))
  249.         else
  250.             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))}))
  251.         end
  252.         lastFeather = feather
  253.     end
  254.     inc = inc + 1
  255. end
  256.  
  257. local inc = 1
  258. for aa = 1, 4 do
  259.     local lastFeather;
  260.     FeatherWelds[2][aa] = {}
  261.     for i = 1, 4+inc do
  262.         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)})
  263.         NewInstance("SpecialMesh",feather,{MeshType=Enum.MeshType.Sphere})
  264.         if(lastFeather)then
  265.             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))}))
  266.         else
  267.             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))}))
  268.         end
  269.         lastFeather = feather
  270.     end
  271.     inc = inc + 1
  272. end
  273.  
  274. --// Stop animations \\--
  275. for _,v in next, Hum:GetPlayingAnimationTracks() do
  276.     v:Stop();
  277. end
  278.  
  279. pcall(game.Destroy,Char:FindFirstChild'Animate')
  280. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  281.  
  282. --// Joints \\--
  283.  
  284. 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)})
  285. 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)})
  286. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  287. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  288. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  289. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  290. local HW = NewInstance('Motor',Char,{Part0=Head,Part1=HaloHandle,C0=CF.N(0,2,0)})
  291. local WW = NewInstance('Motor',Char,{Part0=Torso,Part1=WingHandle,C0=CF.N(0,1.5,1.5)})
  292.  
  293. local LSC0 = LS.C0
  294. local RSC0 = RS.C0
  295. local NKC0 = NK.C0
  296. local LHC0 = LH.C0
  297. local RHC0 = RH.C0
  298. local RJC0 = RJ.C0
  299.  
  300. --// Artificial HB \\--
  301.  
  302. local ArtificialHB = IN("BindableEvent", script)
  303. ArtificialHB.Name = "Heartbeat"
  304.  
  305. script:WaitForChild("Heartbeat")
  306.  
  307. local tf = 0
  308. local allowframeloss = false
  309. local tossremainder = false
  310. local lastframe = tick()
  311. local frame = 1/Frame_Speed
  312. ArtificialHB:Fire()
  313.  
  314. game:GetService("RunService").Heartbeat:connect(function(s, p)
  315.     tf = tf + s
  316.     if tf >= frame then
  317.         if allowframeloss then
  318.             script.Heartbeat:Fire()
  319.             lastframe = tick()
  320.         else
  321.             for i = 1, math.floor(tf / frame) do
  322.                 ArtificialHB:Fire()
  323.             end
  324.             lastframe = tick()
  325.         end
  326.         if tossremainder then
  327.             tf = 0
  328.         else
  329.             tf = tf - frame * math.floor(tf / frame)
  330.         end
  331.     end
  332. end)
  333.  
  334. function swait(num)
  335.     if num == 0 or num == nil then
  336.         ArtificialHB.Event:wait()
  337.     else
  338.         for i = 0, num do
  339.             ArtificialHB.Event:wait()
  340.         end
  341.     end
  342. end
  343.  
  344.  
  345. --// Effect Function(s) \\--
  346.  
  347.  
  348. function Chat(text)
  349.     --if(game.PlaceId ~= 843468296)then
  350.         coroutine.wrap(function()
  351.             if(Char:FindFirstChild'ChatGUI')then Char.ChatGUI:destroy() end
  352.             local BBG = NewInstance("BillboardGui",Char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,3,0),Adornee=Head})
  353.             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)})
  354.             local SND = Sound(Head,418252437,M.RNG(9,11)/10,3,false,false,true)
  355.             for i = 1, #text do
  356.                 delay(i/25, function()
  357.                     SND.Pitch = M.RNG(9,11)/10
  358.                     SND.Volume = 3
  359.                     SND.Parent = Effects
  360.                     SND:Play()
  361.                     Txt.Text = text:sub(1,i)
  362.                 end)
  363.             end
  364.             delay((#text/25)+2, function()
  365.                 Txt.Text = ""
  366.                 for i = 1, #text do
  367.                     Txt.Text = Txt.Text.. string.char(M.RNG(0,126))
  368.                 end
  369.             end)
  370.             delay((#text/25)+3, function()
  371.                 BBG:destroy()
  372.                 SND:destroy()
  373.             end)
  374.         end)()
  375.     --else
  376.     --  Chat2(text)
  377.     --end
  378. end
  379.  
  380. function Chat2(text)
  381.     coroutine.wrap(function()
  382.         if(Char:FindFirstChild'ChatGUI')then Char.ChatGUI:destroy() end
  383.         local BBG = NewInstance("BillboardGui",Char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,3,0),Adornee=Head})
  384.         local offset = 0;
  385.         local xsize = 0;
  386.         for i = 1, #text do
  387.             offset = offset - 16
  388.             xsize = xsize + 32  
  389.             delay(i/25, function()
  390.                 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)})
  391.                 offset = offset + 32
  392.                 while Txt and Txt.Parent do
  393.                     Txt.Rotation = M.RNG(-15,15)
  394.                     swait()
  395.                 end
  396.             end)
  397.         end
  398.         BBG.Size = UDim2.new(0,xsize,0,40)
  399.         delay((#text/25)+3, function()
  400.             for _,v in next, BBG:children() do
  401.                 pcall(function() v.Text = string.char(M.RNG(0,126)) end)
  402.             end
  403.         end)
  404.         delay((#text/25)+4, function()
  405.             BBG:destroy()
  406.         end)
  407.     end)()
  408. end
  409.  
  410.  
  411. function Transparency(trans)
  412.     for _,v in next, Char:children() do
  413.         if(v:IsA'BasePart' and v ~= Root and v ~= HaloHandle and v ~= WingHandle)then
  414.             v.Transparency = trans
  415.             local sbox = v:findFirstChild'SelectionBox'
  416.             if(sbox)then sbox.Transparency=trans end
  417.         elseif(v:IsA'Accessory' and v:FindFirstChild'Handle')then
  418.             v.Handle.Transparency=trans
  419.         end
  420.     end
  421.     for _,v in next, Wings:children() do
  422.         if(v:IsA'BasePart' and v ~= WingHandle)then
  423.             v.Transparency = trans
  424.             local sbox = v:findFirstChild'SelectionBox'
  425.             if(sbox)then sbox.Transparency=trans end
  426.         end
  427.     end
  428.     for _,v in next, Halo:children() do
  429.         if(v:IsA'BasePart' and v ~= HaloHandle)then
  430.             v.Transparency = trans
  431.             local sbox = v:findFirstChild'SelectionBox'
  432.             if(sbox)then sbox.Transparency=trans end
  433.         end
  434.     end
  435. end
  436.  
  437. local FXTable = {}
  438.  
  439. function Bezier(startpos, pos2, pos3, endpos, t)
  440.     local A = startpos:lerp(pos2, t)
  441.     local B  = pos2:lerp(pos3, t)
  442.     local C = pos3:lerp(endpos, t)
  443.     local lerp1 = A:lerp(B, t)
  444.     local lerp2 = B:lerp(C, t)
  445.     local cubic = lerp1:lerp(lerp2, t)
  446.     return cubic
  447. end
  448.  
  449. function Tween(obj,props,time,easing,direction,repeats,backwards)
  450.     local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  451.     local tween = S.TweenService:Create(obj, info, props)
  452.    
  453.     tween:Play()
  454. end
  455.  
  456. coroutine.resume(coroutine.create(function()
  457.     while true do
  458.         for i = 1, #FXTable do
  459.             local data = FXTable[i]
  460.             if(data)then
  461.                 local Frame = data.Frame
  462.                 local FX = data.Effect or 'ResizeAndFade'
  463.                 local Parent = data.Parent or Effects
  464.                 local Color = data.Color or C3.N(0,0,0)
  465.                 local Size = data.Size or V3.N(1,1,1)
  466.                 local MoveDir = data.MoveDirection or nil
  467.                 local MeshData = data.Mesh or nil
  468.                 local SndData = data.Sound or nil
  469.                 local Frames = data.Frames or 45
  470.                 local CFra = data.CFrame or Torso.CFrame
  471.                 local Settings = data.FXSettings or {}
  472.                 local Prt,Msh,Snd = data.Part,data.Mesh,data.Sound
  473.                 local grow = data.Grow
  474.                
  475.                 local MoveSpeed = nil;
  476.                 if(MoveDir)then
  477.                     MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  478.                 end
  479.                 if(FX ~= 'Arc')then
  480.                     Frame = Frame + 1
  481.                     if(FX == "Fade")then
  482.                         Prt.Transparency  = (Frame/Frames)
  483.                     elseif(FX == "Resize")then
  484.                         if(not Settings.EndSize)then
  485.                             Settings.EndSize = V3.N(0,0,0)
  486.                         end
  487.                         if(Settings.EndIsIncrement)then
  488.                             if(Msh)then
  489.                                 Msh.Scale = Msh.Scale + Settings.EndSize
  490.                             else
  491.                                 Prt.Size = Prt.Size + Settings.EndSize
  492.                             end                
  493.                         else
  494.                             if(Msh)then
  495.                                 Msh.Scale = Msh.Scale - grow/Frames
  496.                             else
  497.                                 Prt.Size = Prt.Size - grow/Frames
  498.                             end
  499.                         end
  500.                     elseif(FX == "ResizeAndFade")then
  501.                         if(not Settings.EndSize)then
  502.                             Settings.EndSize = V3.N(0,0,0)
  503.                         end
  504.                         if(Settings.EndIsIncrement)then
  505.                             if(Msh)then
  506.                                 Msh.Scale = Msh.Scale + Settings.EndSize
  507.                             else
  508.                                 Prt.Size = Prt.Size + Settings.EndSize
  509.                             end                
  510.                         else
  511.                             if(Msh)then
  512.                                 Msh.Scale = Msh.Scale - grow/Frames
  513.                             else
  514.                                 Prt.Size = Prt.Size - grow/Frames
  515.                             end
  516.                         end
  517.                         Prt.Transparency = (Frame/Frames)
  518.                     end
  519.                     if(Settings.RandomizeCFrame)then
  520.                         Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  521.                     end
  522.                     if(MoveDir and MoveSpeed)then
  523.                         local Orientation = Prt.Orientation
  524.                         Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  525.                         Prt.Orientation = Orientation
  526.                     end
  527.                     if(Prt.Transparency >= 1 or Frame >= Frames)then
  528.                         Prt:destroy()
  529.                         table.remove(FXTable,i)
  530.                     else
  531.                         data.Frame = Frame
  532.                     end
  533.                 else
  534.                     local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  535.                     if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  536.                     if(start and endP)then
  537.                         local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  538.                         local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  539.                         Frame = Frame + Settings.Speed or 0.01
  540.                         if(Settings.Home)then
  541.                             endP = Settings.Home.CFrame
  542.                         end
  543.                         Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
  544.                         if(Prt.Transparency >= 1 or Frame >= Frames)then
  545.                             if(Settings.RemoveOnGoal)then
  546.                                 Prt:destroy()
  547.                             end
  548.                         end
  549.                     else
  550.                    
  551.                     end
  552.                 end
  553.             end
  554.         end
  555.         swait()
  556.     end
  557. end))
  558.  
  559. function Effect(data)
  560.     local FX = data.Effect or 'ResizeAndFade'
  561.     local Parent = data.Parent or Effects
  562.     local Color = data.Color or C3.N(0,0,0)
  563.     local Size = data.Size or V3.N(1,1,1)
  564.     local MoveDir = data.MoveDirection or nil
  565.     local MeshData = data.Mesh or nil
  566.     local SndData = data.Sound or nil
  567.     local Frames = data.Frames or 45
  568.     local Manual = data.Manual or nil
  569.     local Material = data.Material or nil
  570.     local CFra = data.CFrame or Torso.CFrame
  571.     local Settings = data.FXSettings or {}
  572.     local Shape = data.Shape or Enum.PartType.Block
  573.     local Snd,Prt,Msh;
  574.     if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  575.         Prt = Manual
  576.     else
  577.         Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  578.         Prt.Shape = Shape
  579.     end
  580.     if(typeof(MeshData) == 'table')then
  581.         Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  582.     elseif(typeof(MeshData) == 'Instance')then
  583.         Msh = MeshData:Clone()
  584.         Msh.Parent = Prt
  585.     elseif(Shape == Enum.PartType.Block)then
  586.         Msh = Mesh(Prt,Enum.MeshType.Brick)
  587.     end
  588.     if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  589.         Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  590.     end
  591.     if(Snd)then
  592.         repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  593.         data.Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  594.     end
  595.     data.Part = Prt
  596.     data.Mesh = Msh
  597.     data.Sound = Snd
  598.     data.Frame = 0
  599.     data.Size = (Msh and Msh.Scale or Size)
  600.     Size = (Msh and Msh.Scale or Size)
  601.     data.Grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  602.     table.insert(FXTable,data)
  603.     return Prt,Msh,Snd
  604. end
  605.  
  606. function Zap(data)
  607.     local sCF,eCF = data.StartCFrame,data.EndCFrame
  608.     assert(sCF,"You need a start CFrame!")
  609.     assert(eCF,"You need an end CFrame!")
  610.     local parts = data.PartCount or 15
  611.     local zapRot = data.ZapRotation or {-5,5}
  612.     local startThick = data.StartSize or 3;
  613.     local endThick = data.EndSize or startThick/2;
  614.     local color = data.Color or BrickColor.new'Electric blue'
  615.     local delay = data.Delay or 35
  616.     local delayInc = data.DelayInc or 0
  617.     local lastLightning;
  618.     local MagZ = (sCF.p - eCF.p).magnitude
  619.     local thick = startThick
  620.     local inc = (startThick/parts)-(endThick/parts)
  621.    
  622.     for i = 1, parts do
  623.         local pos = sCF.p
  624.         if(lastLightning)then
  625.             pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p
  626.         end
  627.         delay = delay + delayInc
  628.         local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false)
  629.         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)))
  630.         if(parts == i)then
  631.             local MagZ = (pos-eCF.p).magnitude
  632.             zapPart.Size = V3.N(endThick,endThick,MagZ)
  633.             zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2)
  634.             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)}}
  635.         else
  636.             zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2)
  637.         end
  638.        
  639.         lastLightning = zapPart
  640.         Effect{Effect='Fade',Manual=zapPart,Frames=delay}
  641.        
  642.         thick=thick-inc
  643.        
  644.     end
  645. end
  646.  
  647.  
  648. function SoulSteal(whom)
  649.     local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
  650.     if(torso and torso:IsA'BasePart')then
  651.         local Model = Instance.new("Model",Effects)
  652.         Model.Name = whom.Name.."'s Soul"
  653.         whom:BreakJoints()
  654.         local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  655.         Soul.Name = 'Head'
  656.         NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  657.         Effect{
  658.             Effect="Arc",
  659.             Manual = Soul,
  660.             FXSettings={
  661.                 Start=torso.CFrame,
  662.                 Home = Torso,
  663.                 RemoveOnGoal = true,
  664.             }
  665.         }
  666.         local lastPoint = Soul.CFrame.p
  667.    
  668.         for i = 0, 1, 0.01 do
  669.                 local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  670.                 local mag = (lastPoint - Soul.Position).magnitude
  671.                 Effect{
  672.                     Effect = "Fade",
  673.                     CFrame = point * CF.N(0, mag/2, 0),
  674.                     Size = V3.N(.5,mag+.5,.5),
  675.                     Color = Soul.BrickColor
  676.                 }
  677.                 lastPoint = Soul.CFrame.p
  678.             swait()
  679.         end
  680.         for i = 1, 5 do
  681.             Effect{
  682.                 Effect="Fade",
  683.                 Color = BrickColor.new'Really red',
  684.                 MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  685.             }  
  686.         end
  687.     end
  688. end
  689.  
  690. --// Other Functions \\ --
  691.  
  692. function getRegion(point,range,ignore)
  693.     return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  694. end
  695.  
  696. function CastRay(startPos,endPos,range,ignoreList)
  697.     local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  698.     local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  699.     return part,pos,norm,(pos and (startPos-pos).magnitude)
  700. end
  701.  
  702.  
  703. function WingFlutter(Alpha)
  704.     Alpha = Alpha or .1
  705.     for x = 1, 4 do
  706.         if(FeatherWelds[1][x][1])then
  707.             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)
  708.         end
  709.         for i = 2, #FeatherWelds[1][x] do
  710.             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)
  711.         end
  712.     end
  713.     for x = 1, 4 do
  714.         if(FeatherWelds[2][x][1])then
  715.             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)
  716.         end
  717.         for i = 2, #FeatherWelds[2][x] do
  718.             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)
  719.         end
  720.     end
  721. end
  722.  
  723. function clerp(startCF,endCF,alpha)
  724.     return startCF:lerp(endCF, alpha)
  725. end
  726.  
  727. function GetTorso(char)
  728.     return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  729. end
  730.  
  731. function ShowDamage(Pos, Text, Time, Color)
  732.     local Rate = (1 / 30)
  733.     local Pos = (Pos or Vector3.new(0, 0, 0))
  734.     local Text = (Text or "")
  735.     local Time = (Time or 2)
  736.     local Color = (Color or Color3.new(1, 0, 1))
  737.     local EffectPart = NewInstance("Part",Effects,{
  738.         Material=Enum.Material.SmoothPlastic,
  739.         Reflectance = 0,
  740.         Transparency = 1,
  741.         BrickColor = BrickColor.new(Color),
  742.         Name = "Effect",
  743.         Size = Vector3.new(0,0,0),
  744.         Anchored = true
  745.     })
  746.     local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  747.         Size = UDim2.new(1.25, 0, 1.25, 0),
  748.         Adornee = EffectPart,
  749.     })
  750.     local TextLabel = NewInstance("TextLabel",BillboardGui,{
  751.         BackgroundTransparency = 1,
  752.         Size = UDim2.new(1, 0, 1, 0),
  753.         Text = Text,
  754.         Font = "Arial",
  755.         TextColor3 = Color,
  756.         TextStrokeColor3 = Color3.new(0,0,0),
  757.         TextStrokeTransparency=0,
  758.         TextScaled = true,
  759.     })
  760.     game.Debris:AddItem(EffectPart, (Time))
  761.     EffectPart.Parent = game:GetService("Workspace")
  762.     delay(0, function()
  763.         local Frames = (Time / Rate)
  764.         for Frame = 1, Frames do
  765.             wait(Rate)
  766.             local Percent = (Frame / Frames)
  767.             EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  768.             TextLabel.TextTransparency = Percent
  769.             TextLabel.TextStrokeTransparency = Percent
  770.         end
  771.         if EffectPart and EffectPart.Parent then
  772.             EffectPart:Destroy()
  773.         end
  774.     end)
  775. end
  776.  
  777.  
  778. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  779.     if(who)then
  780.         local hum = who:FindFirstChildOfClass'Humanoid'
  781.         local Damage = M.RNG(minDam,maxDam)
  782.         local canHit = true
  783.         if(hum)then
  784.             for _, p in pairs(Hit) do
  785.                 if p[1] == hum then
  786.                     if(time() - p[2] < 0.1) then
  787.                         canHit = false
  788.                     else
  789.                         Hit[_] = nil
  790.                     end
  791.                 end
  792.             end
  793.             if(canHit)then
  794.                 table.insert(Hit,{hum,time()})
  795.                 if(hum.Health >= math.huge)then
  796.                     who:BreakJoints()
  797.                     if(who:FindFirstChild'Head' and hum.Health > 0)then
  798.                         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))
  799.                     end
  800.                 else
  801.                     local player = S.Players:GetPlayerFromCharacter(who)
  802.                     if(Type == "Fire")then
  803.                         --idk..
  804.                     else
  805.                         local  c = Instance.new("ObjectValue",hum)
  806.                         c.Name = "creator"
  807.                         c.Value = Plr
  808.                         game:service'Debris':AddItem(c,0.35)
  809.                         if(M.RNG(1,100) <= (critChance or 0) and critMult > 1)then
  810.                             if(who:FindFirstChild'Head' and hum.Health > 0)then
  811.                                 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)
  812.                             end
  813.                             hum.Health = hum.Health - Damage*(critMult or 2)
  814.                         else
  815.                             if(who:FindFirstChild'Head' and hum.Health > 0)then
  816.                                 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)
  817.                             end
  818.                             hum.Health = hum.Health - Damage
  819.                         end
  820.                         if(Type == 'Knockback' and GetTorso(who))then
  821.                             local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  822.                             local body = NewInstance('BodyVelocity',GetTorso(who),{
  823.                                 P = 500,
  824.                                 maxForce = V3.N(math.huge,0,math.huge),
  825.                                 velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  826.                             })
  827.                             game:service'Debris':AddItem(body,.5)
  828.                         elseif(Type == "Electric")then
  829.                             if(M.RNG(1,100) >= critChance)then
  830.                                 if(who:FindFirstChild'Head' and hum.Health > 0)then
  831.                                     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)
  832.                                 end
  833.                                 local asd = hum.WalkSpeed/2
  834.                                 hum.WalkSpeed = asd
  835.                                 local paralyzed = true
  836.                                 coroutine.wrap(function()
  837.                                     while paralyzed do
  838.                                         swait(25)
  839.                                         if(M.RNG(1,25) == 1)then
  840.                                             if(who:FindFirstChild'Head' and hum.Health > 0)then
  841.                                                 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)
  842.                                             end
  843.                                             hum.PlatformStand = true
  844.                                         end
  845.                                     end
  846.                                 end)()
  847.                                 delay(4, function()
  848.                                     paralyzed = false
  849.                                     hum.WalkSpeed = hum.WalkSpeed + asd
  850.                                 end)
  851.                             end
  852.                            
  853.                         elseif(Type == 'Knockdown' and GetTorso(who))then
  854.                             local rek = GetTorso(who)
  855.                             hum.PlatformStand = true
  856.                             delay(1,function()
  857.                                 hum.PlatformStand = false
  858.                             end)
  859.                             local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  860.                             local bodvol = NewInstance("BodyVelocity",rek,{
  861.                                 velocity = angle * Knock,
  862.                                 P = 5000,
  863.                                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  864.                             })
  865.                             local rl = NewInstance("BodyAngularVelocity",rek,{
  866.                                 P = 3000,
  867.                                 maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  868.                                 angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  869.                             })
  870.                             game:GetService("Debris"):AddItem(bodvol, .5)
  871.                             game:GetService("Debris"):AddItem(rl, .5)
  872.                         end
  873.                     end
  874.                 end
  875.             end
  876.         end
  877.     end
  878. end
  879.  
  880. function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult)
  881.     for _,v in next, getRegion(where,range,{Char}) do
  882.         if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  883.             DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult)
  884.         end
  885.     end
  886. end
  887. function AOEHeal(where,range,amount)
  888.     local healed = {}
  889.     for _,v in next, getRegion(where,range,{Char}) do
  890.         local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  891.         if(hum and not healed[hum])then
  892.             hum.Health = hum.Health + amount
  893.             if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  894.                 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)
  895.             end
  896.         end
  897.     end
  898. end
  899.  
  900.  
  901. --// Attack Functions \\--
  902.  
  903. function Smite()
  904.     Zap{
  905.         StartCFrame=CF.N(Mouse.Hit.p)*CF.N(0,500,0),
  906.         EndCFrame=CF.N(Mouse.Hit.p),
  907.         ZapRotation = {-5,5},
  908.         StartSize = 5,
  909.         EndSize = 1,
  910.         Delay=5,
  911.         DelayInc=1,
  912.     }
  913.     AOEDamage(Mouse.Hit.p,3,15,35,false,"Electric",75,1)
  914. end
  915.  
  916. function LightningStorm()
  917.     Attack = true
  918.     Rooted = true
  919.     NeutralAnims = false
  920.     Hum.AutoRotate = false
  921.     repeat swait()
  922.         Root.CFrame = Root.CFrame:lerp(CF.N(Root.CFrame.p,V3.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z)),.1)
  923.         local Alpha = .3
  924.         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)
  925.         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)
  926.         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)
  927.         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)
  928.         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)
  929.         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)
  930.         HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  931.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  932.         WingFlutter()
  933.     until not S.UserInputService:IsKeyDown(Enum.KeyCode.C)
  934.     local where = Mouse.Hit.p
  935.     for i = 0, 6, .1 do
  936.         swait()
  937.         local Alpha = .3
  938.         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)
  939.         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)
  940.         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)
  941.         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)
  942.         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)
  943.         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)
  944.         HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  945.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  946.         WingFlutter()
  947.     end
  948.     for i = 0, 1.4, .1 do
  949.         swait()
  950.         local Alpha = .3
  951.         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)
  952.         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)
  953.         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)
  954.         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)
  955.         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)
  956.         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)
  957.         HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  958.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  959.         WingFlutter()
  960.     end
  961.     for i = 0, .8, .1 do
  962.         swait()
  963.         local Alpha = .3
  964.         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)
  965.         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)
  966.         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)
  967.         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)
  968.         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)
  969.         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)
  970.         HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  971.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  972.         WingFlutter()
  973.     end
  974.    
  975.     for i = 0, 6, .1 do
  976.         pcall(function() Sound(Torso,481719045,1,1,false,true,true) end)
  977.         local pos = CF.N(where)*CF.N(M.RNG(-1000,1000,100),0,M.RNG(-1000,1000,100))
  978.         local part,rayPos,norm,dist = CastRay(pos*CF.N(0,500,0).p,pos.p,1500)
  979.         Zap{
  980.             StartCFrame=pos*CF.N(0,500,0),
  981.             EndCFrame=CF.N(rayPos),
  982.             ZapRotation = {-5,5},
  983.             StartSize = 1,
  984.             EndSize = .5,
  985.             Delay=10,
  986.             DelayInc=2,
  987.         }
  988.         AOEDamage(rayPos,5,45,65,0,'Electric',25,2)
  989.         swait()
  990.         local Alpha = .3
  991.         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)
  992.         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)
  993.         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)
  994.         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)
  995.         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)
  996.         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)
  997.         HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  998.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  999.         WingFlutter()
  1000.     end
  1001.     Hum.AutoRotate = true
  1002.     Attack = false
  1003.     NeutralAnims = true
  1004.     Rooted = false
  1005. end
  1006.  
  1007.  
  1008. function HolyBomb()
  1009.     Attack = true
  1010.     Chat2("It's time to cleanse this world!")
  1011.     swait(60)
  1012.     Rooted = true
  1013.     NeutralAnims = false
  1014.     for i = 0, 6, 0.1 do
  1015.         swait()
  1016.         local Alpha = .05
  1017.         Zap{
  1018.             StartCFrame=CF.N(Root.CFrame.p)*CF.N(0,250,0),
  1019.             EndCFrame=CF.N(Root.CFrame.p),
  1020.             ZapRotation = {-15,15},
  1021.             Color=C3.N(1,1,0),
  1022.             StartSize = 1,
  1023.             EndSize = 1,
  1024.             Delay=5,
  1025.             DelayInc=1,
  1026.         }
  1027.         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)
  1028.         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)
  1029.         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)
  1030.         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)
  1031.         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)
  1032.         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)
  1033.         WingFlutter()
  1034.         HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),.3)
  1035.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),.3)
  1036.     end
  1037.     for i = 0, .8, 0.1 do
  1038.         swait()
  1039.         local Alpha = .3
  1040.         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)
  1041.         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)
  1042.         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)
  1043.         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)
  1044.         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)
  1045.         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)
  1046.     end
  1047.     delay(1, function()
  1048.         NeutralAnims = true
  1049.         Rooted = false
  1050.     end)
  1051.     local start = NewInstance("Part",Effects,{Anchored=true,CanCollide=false,Transparency=1,CFrame=Root.CFrame})
  1052.     Sound(Char,579687077,.5,2,false,true,true)
  1053.     Sound(Char,239000203,.75,2,false,true,true)
  1054.     for i = 1, 140 do
  1055.         AOEDamage(start.CFrame.p,95,1000,1000,0,'Normal',100,5)
  1056.         Effect{
  1057.             Effect='ResizeAndFade',
  1058.             Mesh={MeshType=Enum.MeshType.Sphere},
  1059.             Color=C3.N(1,1,0),
  1060.             Material=Enum.Material.Neon,
  1061.             CFrame=CF.N(start.CFrame.p)*CF.N(M.RNG(-75,75),M.RNG(-75,75),M.RNG(-75,75)),
  1062.             Frames=60,
  1063.             FXSettings={
  1064.                 EndIsIncrement=true,
  1065.                 EndSize=V3.N(.6,.6,.6)
  1066.             }
  1067.         }
  1068.         swait(1)
  1069.     end
  1070.     Attack = false
  1071. end
  1072.  
  1073. function Lazor()
  1074.     Rooted = true
  1075.     Attack = true
  1076.     Hum.AutoRotate=false
  1077.     NeutralAnims = false
  1078.     Chat2("Begone, sinner.")
  1079.     --Effect{Effect='Resize',Mesh={MeshType=Enum.MeshType.FileMesh},Size=V3.N(1,1,1),CFrame=,Frames=60,FXSettings={EndSize=V3.N(4,4,4)}}
  1080.     local snd = Sound(Torso,705787045,1,1,true,false,false)
  1081.     for i = 0, 6, .1 do
  1082.         Effect{
  1083.             Effect='Fade',
  1084.             Color=BrickColor.new'New Yeller',
  1085.             Size=V3.N((i/2),(i/2),(i/2)),
  1086.             Material=Enum.Material.Neon,
  1087.             Mesh={MeshType=Enum.MeshType.Sphere},
  1088.             Frames=15,
  1089.             CFrame=RArm.CFrame*CF.N(0,-1.5,0),
  1090.             Sound=false
  1091.         }
  1092.         swait()
  1093.         Root.CFrame =Root.CFrame:lerp(CF.N(Root.CFrame.p,V3.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z)),.1)
  1094.         local Alpha = .1
  1095.         Change = .5
  1096.         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)
  1097.         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)
  1098.         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)
  1099.         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)
  1100.         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)
  1101.         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)
  1102.         HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  1103.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1104.         WingFlutter()
  1105.     end
  1106.     snd:Play()
  1107.     for i = 0, 24, .1 do
  1108.         swait()
  1109.         Effect{
  1110.             Effect='Fade',
  1111.             Color=BrickColor.new'New Yeller',
  1112.             Size=V3.N(3,3,3),
  1113.             Material=Enum.Material.Neon,
  1114.             Mesh={MeshType=Enum.MeshType.Sphere},
  1115.             Frames=15,
  1116.             CFrame=RArm.CFrame*CF.N(0,-1.5,0),
  1117.         }
  1118.         if(Mouse.Target)then
  1119.             Zap{
  1120.                 StartCFrame=RArm.CFrame*CF.N(0,-1.5,0),
  1121.                 EndCFrame=Mouse.Hit,
  1122.                 ZapRotation = {-5,5},
  1123.                 PartCount=10,
  1124.                 StartSize = .5,
  1125.                 EndSize = .5,
  1126.                 Color = C3.N(1,1,0),
  1127.                 DelayInc=0,
  1128.                 Delay =5,
  1129.             }
  1130.         end
  1131.         AOEDamage(Mouse.Hit.p,3,10,15,false,"Electric",25,2)
  1132.         Root.CFrame = Root.CFrame:lerp(CF.N(Root.CFrame.p,V3.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z)),.1)
  1133.         local Alpha = .1
  1134.         Change = .5
  1135.         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)
  1136.         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)
  1137.         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)
  1138.         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)
  1139.         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)
  1140.         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)
  1141.         HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  1142.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1143.         WingFlutter()
  1144.     end
  1145.     coroutine.wrap(function()
  1146.         for i = 1, 0,-.05 do
  1147.             snd.Volume = i
  1148.             swait()
  1149.         end
  1150.         snd:destroy()
  1151.     end)()
  1152.     Rooted = false
  1153.     Attack = false
  1154.     Hum.AutoRotate=true
  1155.     NeutralAnims = true
  1156. end
  1157.  
  1158. function Teleport()
  1159.     Rooted = true
  1160.     Attack = true
  1161.     Hum.AutoRotate=false
  1162.     NeutralAnims = false
  1163.     repeat swait()
  1164.         Root.CFrame =Root.CFrame:lerp(CF.N(Root.CFrame.p,V3.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z)),.1)
  1165.         local Alpha = .1
  1166.         Change = .5
  1167.         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)
  1168.         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)
  1169.         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)
  1170.         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)
  1171.         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)
  1172.         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)
  1173.         HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  1174.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1175.         WingFlutter()
  1176.     until not S.UserInputService:IsKeyDown(Enum.KeyCode.Q)
  1177.     local p = Mouse.Hit.p
  1178.  
  1179.     --
  1180.     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})
  1181.     local decalF = NewInstance("Decal",circle,{Name='Front',Texture="rbxassetid://524002938",Color3=C3.N(1,1,0),Face=Enum.NormalId.Front,Transparency = 1})
  1182.     local decalB = NewInstance("Decal",circle,{Name='Back',Texture="rbxassetid://524002938",Color3=C3.N(1,1,0),Face=Enum.NormalId.Back,Transparency=1})
  1183.     local asd = CF.N(p,Root.Position)
  1184.     local circle2=circle:Clone()
  1185.     circle2.Parent = Effects
  1186.     circle2.CFrame = asd*CF.N(0,4,0)
  1187.     Root.Anchored = true
  1188.     for i = 0, 3, .1 do
  1189.         swait()
  1190.         local Alpha = .1
  1191.         Change = .5
  1192.         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)
  1193.         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)
  1194.         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)
  1195.         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)
  1196.         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)
  1197.         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)
  1198.         HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  1199.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1200.         WingFlutter()
  1201.         circle.Size = circle.Size + V3.N(.2,.2,0)
  1202.         circle2.Size = circle2.Size + V3.N(.2,.2,0)
  1203.         circle.Front.Transparency=1-(i/3)
  1204.         circle.Back.Transparency=1-(i/3)
  1205.         circle2.Front.Transparency=1-(i/3)
  1206.         circle2.Back.Transparency=1-(i/3)
  1207.        
  1208.         circle.CFrame=circle.CFrame*CF.A(0,0,M.R(5))
  1209.         circle2.CFrame=circle2.CFrame*CF.A(0,0,M.R(5))
  1210.     end
  1211.     Root.Anchored = true
  1212.     for i = 1, 3,.1 do
  1213.         Root.Anchored = true
  1214.         swait()
  1215.         local Alpha = .1
  1216.         Change = .5
  1217.         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)
  1218.         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)
  1219.         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)
  1220.         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)
  1221.         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)
  1222.         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)
  1223.         HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  1224.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1225.         WingFlutter()
  1226.     end
  1227.     for i = 0, 2, .1 do
  1228.         swait()
  1229.         local Alpha = .1
  1230.         Change = .5
  1231.         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)
  1232.         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)
  1233.         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)
  1234.         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)
  1235.         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)
  1236.         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)
  1237.         HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  1238.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1239.         WingFlutter()
  1240.         Root.CFrame = Root.CFrame * CF.N(0,0,-.1)
  1241.         Transparency(i/2)
  1242.     end
  1243.     Zap{
  1244.         StartCFrame=Root.CFrame,
  1245.         EndCFrame=asd*CF.N(0,4,0),
  1246.         ZapRotation = {-5,5},
  1247.         PartCount=10,
  1248.         StartSize = 4,
  1249.         EndSize = .5,
  1250.         Color = C3.N(1,1,0),
  1251.         DelayInc=5,
  1252.         Delay = 15,
  1253.     }
  1254.     Root.CFrame = asd*CF.N(0,4,0)
  1255.     Root.Anchored = true
  1256.  
  1257.     for i = 0, 2, .1 do
  1258.         Root.Anchored = true
  1259.         swait()
  1260.         local Alpha = .1
  1261.         Change = .5
  1262.         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)
  1263.         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)
  1264.         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)
  1265.         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)
  1266.         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)
  1267.         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)
  1268.         HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  1269.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1270.         WingFlutter()
  1271.         Root.CFrame = Root.CFrame * CF.N(0,0,-.1)
  1272.         Transparency(1-(i/2))
  1273.     end
  1274.    
  1275.    
  1276.     Transparency(0)
  1277.     coroutine.wrap(function()
  1278.         for i = 0, 3, .1 do
  1279.             swait()
  1280.             local Alpha = .1
  1281.             Change = .5
  1282.             circle.Size = circle.Size - V3.N(.2,.2,0)
  1283.             circle2.Size = circle2.Size - V3.N(.2,.2,0)
  1284.             circle.Front.Transparency=(i/3)
  1285.             circle.Back.Transparency=(i/3)
  1286.             circle2.Front.Transparency=(i/3)
  1287.             circle2.Back.Transparency=(i/3)
  1288.            
  1289.             circle.CFrame=circle.CFrame*CF.A(0,0,-M.R(5))
  1290.             circle2.CFrame=circle2.CFrame*CF.A(0,0,-M.R(5))
  1291.         end
  1292.     end)()
  1293.     Hum.AutoRotate = true
  1294.     Root.Anchored = false
  1295.     Rooted = false
  1296.     Attack = false
  1297.     NeutralAnims = true
  1298. end
  1299.  
  1300. Mouse.KeyDown:connect(function(k)
  1301.     if(Attack)then return end
  1302.     if(k == 'q')then Teleport() end
  1303.     if(k == 'z')then Lazor() end
  1304.     if(k == 'x')then Smite() end
  1305.     if(k == 'v')then HolyBomb() end
  1306.     if(k == 'c')then LightningStorm() end
  1307. end)
  1308.  
  1309.    
  1310. --// Wrap it all up \\--
  1311. while true do
  1312.     swait()
  1313.     Sine = Sine + Change
  1314.    
  1315.     if(not Music or not Music.Parent)then
  1316.         local a = Music.TimePosition
  1317.         Music = Sound(Char,MusicID,1,3,true,false,true)
  1318.         Music.Name = 'Music'
  1319.         Music.TimePosition = a
  1320.     end
  1321.     Music.Playing = true
  1322.     Torso.Color = C3.N(0,0,0)
  1323.     RArm.Color = C3.N(0,0,0)
  1324.     LArm.Color = C3.N(0,0,0)
  1325.     RLeg.Color = C3.N(0,0,0)
  1326.     LLeg.Color = C3.N(0,0,0)
  1327.     Head.Color = C3.N(0,0,0)
  1328.     Music.Volume = 5
  1329.     Music.Pitch = 1
  1330.     Music.Playing = true
  1331.     Hum.HipHeight = 2
  1332.     Sine = Sine + Change
  1333.     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)
  1334.     local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1335.     local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or Walking and "Walk" or "Idle")
  1336.     if(time()-PulseTime > .05)then
  1337.         PulseTime = time()
  1338.         if(hitfloor)then
  1339.             local angles = CF.A(M.RRNG(-15,15),M.RRNG(-45,45),M.RRNG(-45,45))
  1340.             Effect{
  1341.                 Effect='ResizeAndFade',
  1342.                 Color=hitfloor.Color,
  1343.                 Material=hitfloor.Material,
  1344.                 Frames=60,
  1345.                 Mesh={MeshType=Enum.MeshType.FileMesh,MeshId="rbxassetid://662586858",Scale=V3.N(.01,.01,.01)},
  1346.                 CFrame=CF.N(posfloor)*angles,
  1347.                 MoveDirection=CF.N(posfloor)*angles*CF.N(0,6,0).p,
  1348.                 FXSettings = {
  1349.                     EndSize=V3.N(.0005,.0005,.0005),
  1350.                     EndIsIncrement=true
  1351.                 }
  1352.             }
  1353.         end
  1354.         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))
  1355.         local hitfloor2,posfloor2 = workspace:FindPartOnRay(Ray.new(pos.p,((CFrame.new(pos.p,pos.p - Vector3.new(0,1,0))).lookVector).unit * 100), Char)
  1356.        
  1357.         if(hitfloor2)then
  1358.             pos = CF.N(posfloor2)
  1359.             Effect{
  1360.                 Effect='ResizeAndFade',
  1361.                 Color=BrickColor.new'New Yeller',
  1362.                 Size=V3.N(2,2,2),
  1363.                 Material=Enum.Material.Neon,
  1364.                 Mesh={MeshType=Enum.MeshType.Sphere},
  1365.                 Frames=45,
  1366.                 CFrame=pos,
  1367.                 FXSettings = {
  1368.                     EndSize = V3.N(-.01,.25,-.01),
  1369.                     EndIsIncrement = true
  1370.                 }
  1371.             }
  1372.         else
  1373.             Effect{
  1374.                 Effect='ResizeAndFade',
  1375.                 Color=BrickColor.new'New Yeller',
  1376.                 Size=V3.N(2,2,2),
  1377.                 Material=Enum.Material.Neon,
  1378.                 Mesh={MeshType=Enum.MeshType.Sphere},
  1379.                 Frames=45,
  1380.                 CFrame=pos,
  1381.                 FXSettings = {
  1382.                     EndSize = V3.N(-.01,.25,-.01),
  1383.                     EndIsIncrement = true
  1384.                 }
  1385.             }
  1386.         end
  1387.     end
  1388.     Hum.Name = math.random()*100000
  1389.     Hum.MaxHealth = 1e100
  1390.     Hum.Health = 1e100
  1391.     if(M.RNG(1,50) == 1)then
  1392.         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))
  1393.         local hitfloor2,posfloor2 = workspace:FindPartOnRay(Ray.new(pos.p,((CFrame.new(pos.p,pos.p - Vector3.new(0,1,0))).lookVector).unit * 100), Char)
  1394.        
  1395.         if(hitfloor2)then
  1396.             pos = CF.N(posfloor2)
  1397.         end
  1398.         Zap{
  1399.             StartCFrame=Torso.CFrame,
  1400.             EndCFrame=pos,
  1401.             ZapRotation = {-2,2},
  1402.             PartCount=5,
  1403.             StartSize = .5,
  1404.             EndSize = 0,
  1405.             Color = C3.N(1,1,0),
  1406.             DelayInc=5,
  1407.             Delay = 15,
  1408.             Sound=false
  1409.         }
  1410.     end
  1411.     if(Rooted == false)then
  1412.         Hum.WalkSpeed = 32
  1413.         Hum.JumpPower = 75
  1414.     else
  1415.         Hum.WalkSpeed = 0
  1416.         Hum.JumpPower = 0
  1417.     end
  1418.     if(not Effects or not Effects.Parent)then
  1419.         Effects = IN("Model",Char)
  1420.         Effects.Name = "Effects"
  1421.     end
  1422.     if(NeutralAnims)then   
  1423.         if(State == 'Idle')then
  1424.             local Alpha = .1
  1425.             Change = .5
  1426.             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)
  1427.             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)
  1428.             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)
  1429.             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)
  1430.             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)
  1431.             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)
  1432.             HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  1433.             WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1434.             WingFlutter()
  1435.  
  1436.         elseif(State == 'Walk')then
  1437.             local Alpha = .1
  1438.             Change = .5
  1439.             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)
  1440.             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)
  1441.             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)
  1442.             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)
  1443.             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)
  1444.             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)
  1445.             HW.C0 = HW.C0:lerp(CF.N(0,2,0)*CF.A(M.R(0+15*M.C(Sine/36)),0,M.R(0+15*M.S(Sine/36)))*CF.N(-M.R(0+15*M.S(Sine/36)),0,M.R(0+15*M.C(Sine/36))),Alpha)
  1446.             WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1447.             WingFlutter()
  1448.         elseif(State == 'Paralyzed')then
  1449.             -- paralyzed
  1450.         elseif(State == 'Sit')then
  1451.             -- sit
  1452.         end
  1453.     end
  1454. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement