Advertisement
Axprotss

Angel

May 11th, 2021
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 71.21 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5.     print("FE Compatibility code by Mokiros")
  6.     local rp = RealPlayer
  7.     script.Parent = rp.Character
  8.    
  9.     --RemoteEvent for communicating
  10.     local Event = Instance.new("RemoteEvent")
  11.     Event.Name = "UserInput_Event"
  12.  
  13.     --Fake event to make stuff like Mouse.KeyDown work
  14.     local function fakeEvent()
  15.         local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16.         t.connect = t.Connect
  17.         return t
  18.     end
  19.  
  20.     --Creating fake input objects with fake variables
  21.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25.     end}
  26.     --Merged 2 functions into one by checking amount of arguments
  27.     CAS.UnbindAction = CAS.BindAction
  28.  
  29.     --This function will trigger the events that have been :Connect()'ed
  30.     local function te(self,ev,...)
  31.         local t = m[ev]
  32.         if t and t._fakeEvent then
  33.             for _,f in pairs(t.Functions) do
  34.                 f(...)
  35.             end
  36.         end
  37.     end
  38.     m.TrigEvent = te
  39.     UIS.TrigEvent = te
  40.  
  41.     Event.OnServerEvent:Connect(function(plr,io)
  42.         if plr~=rp then return end
  43.         m.Target = io.Target
  44.         m.Hit = io.Hit
  45.         if not io.isMouse then
  46.             local b = io.UserInputState == Enum.UserInputState.Begin
  47.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49.             end
  50.             for _,t in pairs(CAS.Actions) do
  51.                 for _,k in pairs(t.Keys) do
  52.                     if k==io.KeyCode then
  53.                         t.Function(t.Name,io.UserInputState,io)
  54.                     end
  55.                 end
  56.             end
  57.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59.         end
  60.     end)
  61.     Event.Parent = NLS([==[
  62.     local Player = game:GetService("Players").LocalPlayer
  63.     local Event = script:WaitForChild("UserInput_Event")
  64.  
  65.     local Mouse = Player:GetMouse()
  66.     local UIS = game:GetService("UserInputService")
  67.     local input = function(io,a)
  68.         if a then return end
  69.         --Since InputObject is a client-side instance, we create and pass table instead
  70.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71.     end
  72.     UIS.InputBegan:Connect(input)
  73.     UIS.InputEnded:Connect(input)
  74.  
  75.     local h,t
  76.     --Give the server mouse data 30 times every second, but only if the values changed
  77.     --If player is not moving their mouse, client won't fire events
  78.     while wait(1/30) do
  79.         if h~=Mouse.Hit or t~=Mouse.Target then
  80.             h,t=Mouse.Hit,Mouse.Target
  81.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  82.         end
  83.     end]==],Player.Character)
  84.  
  85.     ----Sandboxed game object that allows the usage of client-side methods and services
  86.     --Real game object
  87.     local _rg = game
  88.  
  89.     --Metatable for fake service
  90.     local fsmt = {
  91.         __index = function(self,k)
  92.             local s = rawget(self,"_RealService")
  93.             if s then return s[k] end
  94.         end,
  95.         __newindex = function(self,k,v)
  96.             local s = rawget(self,"_RealService")
  97.             if s then s[k]=v end
  98.         end,
  99.         __call = function(self,...)
  100.             local s = rawget(self,"_RealService")
  101.             if s then return s(...) end
  102.         end
  103.     }
  104.     local function FakeService(t,RealService)
  105.         t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106.         return setmetatable(t,fsmt)
  107.     end
  108.  
  109.     --Fake game object
  110.     local g = {
  111.         GetService = function(self,s)
  112.             return self[s]
  113.         end,
  114.         Players = FakeService({
  115.             LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116.         },"Players"),
  117.         UserInputService = FakeService(UIS,"UserInputService"),
  118.         ContextActionService = FakeService(CAS,"ContextActionService"),
  119.     }
  120.     rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121.     g.service = g.GetService
  122.    
  123.     g.RunService = FakeService({
  124.         RenderStepped = _rg:GetService("RunService").Heartbeat,
  125.         BindToRenderStep = function(self,name,_,fun)
  126.             self._btrs[name] = self.Heartbeat:Connect(fun)
  127.         end,
  128.         UnbindFromRenderStep = function(self,name)
  129.             self._btrs[name]:Disconnect()
  130.         end,
  131.     },"RunService")
  132.  
  133.     setmetatable(g,{
  134.         __index=function(self,s)
  135.             return _rg:GetService(s) or typeof(_rg[s])=="function"
  136.             and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  137.         end,
  138.         __newindex = fsmt.__newindex,
  139.         __call = fsmt.__call
  140.     })
  141.     --Changing owner to fake player object to support owner:GetMouse()
  142.     game,owner = g,g.Players.LocalPlayer
  143. end
  144.  
  145.  
  146.  
  147. wait(1/60)
  148.  
  149. --// Initializing \\--
  150. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  151. local Plrs = S.Players
  152. local Plr = Plrs.LocalPlayer
  153. local Char = Plr.Character
  154. local Hum = Char:FindFirstChildOfClass'Humanoid'
  155. local RArm = Char["Right Arm"]
  156. local LArm = Char["Left Arm"]
  157. local RLeg = Char["Right Leg"]
  158. local LLeg = Char["Left Leg"]  
  159. local Root = Char:FindFirstChild'HumanoidRootPart'
  160. local Torso = Char.Torso
  161. local Head = Char.Head
  162. local NeutralAnims = true
  163. local Attack = false
  164. local BloodPuddles = {}
  165. local Effects = {}
  166. local Debounces = {Debounces={}}
  167. local Mouse = Plr:GetMouse()
  168. local Hit = {}
  169. local Sine = 0
  170. local Change = 1
  171. local PulseTime = 0
  172. local DustTime = 0
  173.  
  174. local Rooted = false
  175. --// Debounce System \\--
  176.  
  177. function Debounces:New(name,cooldown)
  178.     local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  179.     setmetatable(aaaaa,{__index = Debounces})
  180.     Debounces.Debounces[name] = aaaaa
  181.     return aaaaa
  182. end
  183.  
  184. function Debounces:Use(overrideUsable)
  185.     assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  186.     if(self.Usable or overrideUsable)then
  187.         self.Usable = false
  188.         self.CoolingDown = true
  189.         local LastUse = time()
  190.         self.LastUse = LastUse
  191.         delay(self.Cooldown or 2,function()
  192.             if(self.LastUse == LastUse)then
  193.                 self.CoolingDown = false
  194.                 self.Usable = true
  195.             end
  196.         end)
  197.     end
  198. end
  199.  
  200. function Debounces:Get(name)
  201.     assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  202.     for i,v in next, Debounces.Debounces do
  203.         if(i == name)then
  204.             return v;
  205.         end
  206.     end
  207. end
  208.  
  209. function Debounces:GetProgressPercentage()
  210.     assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  211.     if(self.CoolingDown and not self.Usable)then
  212.         return math.max(
  213.             math.floor(
  214.                 (
  215.                     (time()-self.LastUse)/self.Cooldown or 2
  216.                 )*100
  217.             )
  218.         )
  219.     else
  220.         return 100
  221.     end
  222. end
  223.  
  224. --// Shortcut Variables \\--
  225. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  226. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  227. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  228. 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}
  229. local R3 = {N=Region3.new}
  230. local De = S.Debris
  231. local WS = workspace
  232. local Lght = S.Lighting
  233. local RepS = S.ReplicatedStorage
  234. local IN = Instance.new
  235. --// Instance Creation Functions \\--
  236.  
  237. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  238.     local Sound = IN("Sound")
  239.     Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  240.     Sound.Pitch = pitch or 1
  241.     Sound.Volume = volume or 1
  242.     Sound.Looped = looped or false
  243.     if(autoPlay)then
  244.         coroutine.wrap(function()
  245.             repeat wait() until Sound.IsLoaded
  246.             Sound.Playing = autoPlay or false
  247.         end)()
  248.     end
  249.     if(not looped and effect)then
  250.         Sound.Stopped:connect(function()
  251.             Sound.Volume = 0
  252.             Sound:destroy()
  253.         end)
  254.     elseif(effect)then
  255.         warn("Sound can't be looped and a sound effect!")
  256.     end
  257.     Sound.Parent =parent or Torso
  258.     return Sound
  259. end
  260. function Part(parent,color,material,size,cframe,anchored,cancollide)
  261.     local part = IN("Part")
  262.     part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  263.     part.Material = material or Enum.Material.SmoothPlastic
  264.     part.TopSurface,part.BottomSurface=10,10
  265.     part.Size = size or V3.N(1,1,1)
  266.     part.CFrame = cframe or CF.N(0,0,0)
  267.     part.Anchored = anchored or true
  268.     part.CanCollide = cancollide or false
  269.     part.Parent = parent or Char
  270.     return part
  271. end
  272. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  273.     local class = "SpecialMesh"
  274.     if(meshtype == Enum.MeshType.Brick)then class = 'BlockMesh' end
  275.      
  276.     local part = IN(class)
  277.     if(class == "SpecialMesh")then
  278.         part.MeshId = meshid or ""
  279.         part.TextureId = textid or ""
  280.         part.MeshType = meshtype or Enum.MeshType.Sphere
  281.     end
  282.     part.Scale = scale or V3.N(1,1,1)
  283.     part.Offset = offset or V3.N(0,0,0)
  284.    
  285.     part.Parent = parent
  286.     return part
  287. end
  288.  
  289. NewInstance = function(instance,parent,properties)
  290.     local inst = Instance.new(instance,parent)
  291.     if(properties)then
  292.         for i,v in next, properties do
  293.             pcall(function() inst[i] = v end)
  294.         end
  295.     end
  296.     return inst;
  297. end
  298.  
  299.  
  300.  
  301. --// Extended ROBLOX tables \\--
  302. 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})
  303. --// Customization \\--
  304.  
  305. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  306. local Remove_Hats = true
  307. local Remove_Clothing = true
  308. local PlayerSize = 1
  309. local DamageColor = BrickColor.new'New Yeller'
  310. local MusicID = 835120625
  311.  
  312. --// Weapon and GUI creation, and Character Customization \\--
  313.  
  314. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  315. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  316.  Instance.ClearChildrenOfClass(Char,"Decal",true)
  317. local Effects = IN("Folder",Char)
  318. Effects.Name = "Effects"
  319.  
  320. local Halo = IN("Model",Char)
  321. Halo.Name = "Halo"
  322.  
  323. local Wings = IN("Model",Char)
  324. Wings.Name = "Wings"
  325.  
  326. Hum.DisplayDistanceType = 'None'
  327.  
  328. local naeeym2 = IN("BillboardGui",Char)
  329. naeeym2.AlwaysOnTop = true
  330. naeeym2.Size = UDim2.new(5,35,2,15)
  331. naeeym2.StudsOffset = V3.N(0,2.5,0)
  332. naeeym2.Adornee = Char.Head
  333. naeeym2.Name = "Name"
  334. naeeym2.PlayerToHideFrom = Plr
  335. local tecks2 = IN("TextLabel",naeeym2)
  336. tecks2.BackgroundTransparency = 1
  337. tecks2.TextScaled = true
  338. tecks2.BorderSizePixel = 0
  339. tecks2.Text = "The Angel"
  340. tecks2.Font = Enum.Font.Bodoni
  341. tecks2.TextSize = 30
  342. tecks2.TextStrokeTransparency = 0
  343. tecks2.TextColor3 = C3.N(0,0,0)
  344. tecks2.TextStrokeColor3 = C3.N(1,1,0)
  345. tecks2.Size = UDim2.new(1,0,0.5,0)
  346. tecks2.Parent = naeeym2
  347.  
  348. pcall(function()
  349.     Char.LeftWing:destroy()
  350.     Char.ReaperShadowHead:destroy()
  351. end)
  352.  
  353. for _,v in next, Char:children() do
  354.     if(v:IsA'BasePart' and v.Transparency < 1 and v ~= Head)then
  355.         NewInstance("SelectionBox",v,{Adornee=v,LineThickness=.01,Color3=C3.N(1,1,0)})
  356.         if(v ~= Head)then IN("BlockMesh",v) end
  357.     end
  358. end
  359.  
  360. local HaloHandle = NewInstance("Part",Halo,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,})
  361. local WingHandle = NewInstance("Part",Wings,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,})
  362.  
  363. for i = 1, 360,5 do
  364.     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})
  365.     local weld = NewInstance("Weld",part,{Part0=HaloHandle,Part1=part,C0=CF.A(0,M.R(i),0)*CF.N(0,0,-.6)})
  366. end
  367.  
  368. if(PlayerSize ~= 1)then
  369.     for _,v in next, Char:GetDescendats() do
  370.         if(v:IsA'BasePart')then
  371.             v.Size = v.Size * PlayerSize
  372.         end
  373.     end
  374. end
  375.  
  376. local Music = Sound(Char,MusicID,1,3,true,false,true)
  377. Music.Name = 'Music'
  378.  
  379. -- Wing Creation
  380. local FeatherWelds = {{},{}}
  381. local inc = 1
  382. for aa = 1, 4 do
  383.     local lastFeather;
  384.     FeatherWelds[1][aa] = {}
  385.     for i = 1, 4+inc do
  386.         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)})
  387.         NewInstance("SpecialMesh",feather,{MeshType=Enum.MeshType.Sphere})
  388.         if(lastFeather)then
  389.             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))}))
  390.         else
  391.             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))}))
  392.         end
  393.         lastFeather = feather
  394.     end
  395.     inc = inc + 1
  396. end
  397.  
  398. local inc = 1
  399. for aa = 1, 4 do
  400.     local lastFeather;
  401.     FeatherWelds[2][aa] = {}
  402.     for i = 1, 4+inc do
  403.         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)})
  404.         NewInstance("SpecialMesh",feather,{MeshType=Enum.MeshType.Sphere})
  405.         if(lastFeather)then
  406.             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))}))
  407.         else
  408.             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))}))
  409.         end
  410.         lastFeather = feather
  411.     end
  412.     inc = inc + 1
  413. end
  414.  
  415. --// Stop animations \\--
  416. for _,v in next, Hum:GetPlayingAnimationTracks() do
  417.     v:Stop();
  418. end
  419.  
  420. pcall(game.Destroy,Char:FindFirstChild'Animate')
  421. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  422.  
  423. --// Joints \\--
  424.  
  425. 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)})
  426. 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)})
  427. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  428. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  429. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  430. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  431. local HW = NewInstance('Motor',Char,{Part0=Head,Part1=HaloHandle,C0=CF.N(0,2,0)})
  432. local WW = NewInstance('Motor',Char,{Part0=Torso,Part1=WingHandle,C0=CF.N(0,1.5,1.5)})
  433.  
  434. local LSC0 = LS.C0
  435. local RSC0 = RS.C0
  436. local NKC0 = NK.C0
  437. local LHC0 = LH.C0
  438. local RHC0 = RH.C0
  439. local RJC0 = RJ.C0
  440.  
  441. --// Artificial HB \\--
  442.  
  443. local ArtificialHB = IN("BindableEvent", script)
  444. ArtificialHB.Name = "Heartbeat"
  445.  
  446. script:WaitForChild("Heartbeat")
  447.  
  448. local tf = 0
  449. local allowframeloss = false
  450. local tossremainder = false
  451. local lastframe = tick()
  452. local frame = 1/Frame_Speed
  453. ArtificialHB:Fire()
  454.  
  455. game:GetService("RunService").Heartbeat:connect(function(s, p)
  456.     tf = tf + s
  457.     if tf >= frame then
  458.         if allowframeloss then
  459.             script.Heartbeat:Fire()
  460.             lastframe = tick()
  461.         else
  462.             for i = 1, math.floor(tf / frame) do
  463.                 ArtificialHB:Fire()
  464.             end
  465.             lastframe = tick()
  466.         end
  467.         if tossremainder then
  468.             tf = 0
  469.         else
  470.             tf = tf - frame * math.floor(tf / frame)
  471.         end
  472.     end
  473. end)
  474.  
  475. function swait(num)
  476.     if num == 0 or num == nil then
  477.         ArtificialHB.Event:wait()
  478.     else
  479.         for i = 0, num do
  480.             ArtificialHB.Event:wait()
  481.         end
  482.     end
  483. end
  484.  
  485.  
  486. --// Effect Function(s) \\--
  487.  
  488.  
  489. function Chat(text)
  490.     --if(game.PlaceId ~= 843468296)then
  491.         coroutine.wrap(function()
  492.             if(Char:FindFirstChild'ChatGUI')then Char.ChatGUI:destroy() end
  493.             local BBG = NewInstance("BillboardGui",Char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,3,0),Adornee=Head})
  494.             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)})
  495.             local SND = Sound(Head,418252437,M.RNG(9,11)/10,3,false,false,true)
  496.             for i = 1, #text do
  497.                 delay(i/25, function()
  498.                     SND.Pitch = M.RNG(9,11)/10
  499.                     SND.Volume = 3
  500.                     SND.Parent = Effects
  501.                     SND:Play()
  502.                     Txt.Text = text:sub(1,i)
  503.                 end)
  504.             end
  505.             delay((#text/25)+2, function()
  506.                 Txt.Text = ""
  507.                 for i = 1, #text do
  508.                     Txt.Text = Txt.Text.. string.char(M.RNG(0,126))
  509.                 end
  510.             end)
  511.             delay((#text/25)+3, function()
  512.                 BBG:destroy()
  513.                 SND:destroy()
  514.             end)
  515.         end)()
  516.     --else
  517.     --  Chat2(text)
  518.     --end
  519. end
  520.  
  521. function Chat2(text)
  522.     coroutine.wrap(function()
  523.         if(Char:FindFirstChild'ChatGUI')then Char.ChatGUI:destroy() end
  524.         local BBG = NewInstance("BillboardGui",Char,{Name='ChatGUI',Size=UDim2.new(0,100,0,40),StudsOffset=V3.N(0,3,0),Adornee=Head})
  525.         local offset = 0;
  526.         local xsize = 0;
  527.         for i = 1, #text do
  528.             offset = offset - 16
  529.             xsize = xsize + 32  
  530.             delay(i/25, function()
  531.                 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)})
  532.                 offset = offset + 32
  533.                 while Txt and Txt.Parent do
  534.                     Txt.Rotation = M.RNG(-15,15)
  535.                     swait()
  536.                 end
  537.             end)
  538.         end
  539.         BBG.Size = UDim2.new(0,xsize,0,40)
  540.         delay((#text/25)+3, function()
  541.             for _,v in next, BBG:children() do
  542.                 pcall(function() v.Text = string.char(M.RNG(0,126)) end)
  543.             end
  544.         end)
  545.         delay((#text/25)+4, function()
  546.             BBG:destroy()
  547.         end)
  548.     end)()
  549. end
  550.  
  551.  
  552. function Transparency(trans)
  553.     for _,v in next, Char:children() do
  554.         if(v:IsA'BasePart' and v ~= Root and v ~= HaloHandle and v ~= WingHandle)then
  555.             v.Transparency = trans
  556.             local sbox = v:findFirstChild'SelectionBox'
  557.             if(sbox)then sbox.Transparency=trans end
  558.         elseif(v:IsA'Accessory' and v:FindFirstChild'Handle')then
  559.             v.Handle.Transparency=trans
  560.         end
  561.     end
  562.     for _,v in next, Wings:children() do
  563.         if(v:IsA'BasePart' and v ~= WingHandle)then
  564.             v.Transparency = trans
  565.             local sbox = v:findFirstChild'SelectionBox'
  566.             if(sbox)then sbox.Transparency=trans end
  567.         end
  568.     end
  569.     for _,v in next, Halo:children() do
  570.         if(v:IsA'BasePart' and v ~= HaloHandle)then
  571.             v.Transparency = trans
  572.             local sbox = v:findFirstChild'SelectionBox'
  573.             if(sbox)then sbox.Transparency=trans end
  574.         end
  575.     end
  576. end
  577.  
  578. local FXTable = {}
  579.  
  580. function Bezier(startpos, pos2, pos3, endpos, t)
  581.     local A = startpos:lerp(pos2, t)
  582.     local B  = pos2:lerp(pos3, t)
  583.     local C = pos3:lerp(endpos, t)
  584.     local lerp1 = A:lerp(B, t)
  585.     local lerp2 = B:lerp(C, t)
  586.     local cubic = lerp1:lerp(lerp2, t)
  587.     return cubic
  588. end
  589.  
  590. function Tween(obj,props,time,easing,direction,repeats,backwards)
  591.     local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  592.     local tween = S.TweenService:Create(obj, info, props)
  593.    
  594.     tween:Play()
  595. end
  596.  
  597. coroutine.resume(coroutine.create(function()
  598.     while true do
  599.         for i = 1, #FXTable do
  600.             local data = FXTable[i]
  601.             if(data)then
  602.                 local Frame = data.Frame
  603.                 local FX = data.Effect or 'ResizeAndFade'
  604.                 local Parent = data.Parent or Effects
  605.                 local Color = data.Color or C3.N(0,0,0)
  606.                 local Size = data.Size or V3.N(1,1,1)
  607.                 local MoveDir = data.MoveDirection or nil
  608.                 local MeshData = data.Mesh or nil
  609.                 local SndData = data.Sound or nil
  610.                 local Frames = data.Frames or 45
  611.                 local CFra = data.CFrame or Torso.CFrame
  612.                 local Settings = data.FXSettings or {}
  613.                 local Prt,Msh,Snd = data.Part,data.Mesh,data.Sound
  614.                 local grow = data.Grow
  615.                
  616.                 local MoveSpeed = nil;
  617.                 if(MoveDir)then
  618.                     MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  619.                 end
  620.                 if(FX ~= 'Arc')then
  621.                     Frame = Frame + 1
  622.                     if(FX == "Fade")then
  623.                         Prt.Transparency  = (Frame/Frames)
  624.                     elseif(FX == "Resize")then
  625.                         if(not Settings.EndSize)then
  626.                             Settings.EndSize = V3.N(0,0,0)
  627.                         end
  628.                         if(Settings.EndIsIncrement)then
  629.                             if(Msh)then
  630.                                 Msh.Scale = Msh.Scale + Settings.EndSize
  631.                             else
  632.                                 Prt.Size = Prt.Size + Settings.EndSize
  633.                             end                
  634.                         else
  635.                             if(Msh)then
  636.                                 Msh.Scale = Msh.Scale - grow/Frames
  637.                             else
  638.                                 Prt.Size = Prt.Size - grow/Frames
  639.                             end
  640.                         end
  641.                     elseif(FX == "ResizeAndFade")then
  642.                         if(not Settings.EndSize)then
  643.                             Settings.EndSize = V3.N(0,0,0)
  644.                         end
  645.                         if(Settings.EndIsIncrement)then
  646.                             if(Msh)then
  647.                                 Msh.Scale = Msh.Scale + Settings.EndSize
  648.                             else
  649.                                 Prt.Size = Prt.Size + Settings.EndSize
  650.                             end                
  651.                         else
  652.                             if(Msh)then
  653.                                 Msh.Scale = Msh.Scale - grow/Frames
  654.                             else
  655.                                 Prt.Size = Prt.Size - grow/Frames
  656.                             end
  657.                         end
  658.                         Prt.Transparency = (Frame/Frames)
  659.                     end
  660.                     if(Settings.RandomizeCFrame)then
  661.                         Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  662.                     end
  663.                     if(MoveDir and MoveSpeed)then
  664.                         local Orientation = Prt.Orientation
  665.                         Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  666.                         Prt.Orientation = Orientation
  667.                     end
  668.                     if(Prt.Transparency >= 1 or Frame >= Frames)then
  669.                         Prt:destroy()
  670.                         table.remove(FXTable,i)
  671.                     else
  672.                         data.Frame = Frame
  673.                     end
  674.                 else
  675.                     local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  676.                     if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  677.                     if(start and endP)then
  678.                         local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  679.                         local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  680.                         Frame = Frame + Settings.Speed or 0.01
  681.                         if(Settings.Home)then
  682.                             endP = Settings.Home.CFrame
  683.                         end
  684.                         Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
  685.                         if(Prt.Transparency >= 1 or Frame >= Frames)then
  686.                             if(Settings.RemoveOnGoal)then
  687.                                 Prt:destroy()
  688.                             end
  689.                         end
  690.                     else
  691.                    
  692.                     end
  693.                 end
  694.             end
  695.         end
  696.         swait()
  697.     end
  698. end))
  699.  
  700. function Effect(data)
  701.     local FX = data.Effect or 'ResizeAndFade'
  702.     local Parent = data.Parent or Effects
  703.     local Color = data.Color or C3.N(0,0,0)
  704.     local Size = data.Size or V3.N(1,1,1)
  705.     local MoveDir = data.MoveDirection or nil
  706.     local MeshData = data.Mesh or nil
  707.     local SndData = data.Sound or nil
  708.     local Frames = data.Frames or 45
  709.     local Manual = data.Manual or nil
  710.     local Material = data.Material or nil
  711.     local CFra = data.CFrame or Torso.CFrame
  712.     local Settings = data.FXSettings or {}
  713.     local Shape = data.Shape or Enum.PartType.Block
  714.     local Snd,Prt,Msh;
  715.     if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  716.         Prt = Manual
  717.     else
  718.         Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  719.         Prt.Shape = Shape
  720.     end
  721.     if(typeof(MeshData) == 'table')then
  722.         Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  723.     elseif(typeof(MeshData) == 'Instance')then
  724.         Msh = MeshData:Clone()
  725.         Msh.Parent = Prt
  726.     elseif(Shape == Enum.PartType.Block)then
  727.         Msh = Mesh(Prt,Enum.MeshType.Brick)
  728.     end
  729.     if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  730.         Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  731.     end
  732.     if(Snd)then
  733.         repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  734.         data.Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  735.     end
  736.     data.Part = Prt
  737.     data.Mesh = Msh
  738.     data.Sound = Snd
  739.     data.Frame = 0
  740.     data.Size = (Msh and Msh.Scale or Size)
  741.     Size = (Msh and Msh.Scale or Size)
  742.     data.Grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  743.     table.insert(FXTable,data)
  744.     return Prt,Msh,Snd
  745. end
  746.  
  747. function Zap(data)
  748.     local sCF,eCF = data.StartCFrame,data.EndCFrame
  749.     assert(sCF,"You need a start CFrame!")
  750.     assert(eCF,"You need an end CFrame!")
  751.     local parts = data.PartCount or 15
  752.     local zapRot = data.ZapRotation or {-5,5}
  753.     local startThick = data.StartSize or 3;
  754.     local endThick = data.EndSize or startThick/2;
  755.     local color = data.Color or BrickColor.new'Electric blue'
  756.     local delay = data.Delay or 35
  757.     local delayInc = data.DelayInc or 0
  758.     local lastLightning;
  759.     local MagZ = (sCF.p - eCF.p).magnitude
  760.     local thick = startThick
  761.     local inc = (startThick/parts)-(endThick/parts)
  762.    
  763.     for i = 1, parts do
  764.         local pos = sCF.p
  765.         if(lastLightning)then
  766.             pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p
  767.         end
  768.         delay = delay + delayInc
  769.         local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false)
  770.         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)))
  771.         if(parts == i)then
  772.             local MagZ = (pos-eCF.p).magnitude
  773.             zapPart.Size = V3.N(endThick,endThick,MagZ)
  774.             zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2)
  775.             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)}}
  776.         else
  777.             zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2)
  778.         end
  779.        
  780.         lastLightning = zapPart
  781.         Effect{Effect='Fade',Manual=zapPart,Frames=delay}
  782.        
  783.         thick=thick-inc
  784.        
  785.     end
  786. end
  787.  
  788.  
  789. function SoulSteal(whom)
  790.     local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
  791.     if(torso and torso:IsA'BasePart')then
  792.         local Model = Instance.new("Model",Effects)
  793.         Model.Name = whom.Name.."'s Soul"
  794.         whom:BreakJoints()
  795.         local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  796.         Soul.Name = 'Head'
  797.         NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  798.         Effect{
  799.             Effect="Arc",
  800.             Manual = Soul,
  801.             FXSettings={
  802.                 Start=torso.CFrame,
  803.                 Home = Torso,
  804.                 RemoveOnGoal = true,
  805.             }
  806.         }
  807.         local lastPoint = Soul.CFrame.p
  808.    
  809.         for i = 0, 1, 0.01 do
  810.                 local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  811.                 local mag = (lastPoint - Soul.Position).magnitude
  812.                 Effect{
  813.                     Effect = "Fade",
  814.                     CFrame = point * CF.N(0, mag/2, 0),
  815.                     Size = V3.N(.5,mag+.5,.5),
  816.                     Color = Soul.BrickColor
  817.                 }
  818.                 lastPoint = Soul.CFrame.p
  819.             swait()
  820.         end
  821.         for i = 1, 5 do
  822.             Effect{
  823.                 Effect="Fade",
  824.                 Color = BrickColor.new'Really red',
  825.                 MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  826.             }  
  827.         end
  828.     end
  829. end
  830.  
  831. --// Other Functions \\ --
  832.  
  833. function getRegion(point,range,ignore)
  834.     return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  835. end
  836.  
  837. function CastRay(startPos,endPos,range,ignoreList)
  838.     local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  839.     local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  840.     return part,pos,norm,(pos and (startPos-pos).magnitude)
  841. end
  842.  
  843.  
  844. function WingFlutter(Alpha)
  845.     Alpha = Alpha or .1
  846.     for x = 1, 4 do
  847.         if(FeatherWelds[1][x][1])then
  848.             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)
  849.         end
  850.         for i = 2, #FeatherWelds[1][x] do
  851.             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)
  852.         end
  853.     end
  854.     for x = 1, 4 do
  855.         if(FeatherWelds[2][x][1])then
  856.             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)
  857.         end
  858.         for i = 2, #FeatherWelds[2][x] do
  859.             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)
  860.         end
  861.     end
  862. end
  863.  
  864. function clerp(startCF,endCF,alpha)
  865.     return startCF:lerp(endCF, alpha)
  866. end
  867.  
  868. function GetTorso(char)
  869.     return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  870. end
  871.  
  872. function ShowDamage(Pos, Text, Time, Color)
  873.     local Rate = (1 / 30)
  874.     local Pos = (Pos or Vector3.new(0, 0, 0))
  875.     local Text = (Text or "")
  876.     local Time = (Time or 2)
  877.     local Color = (Color or Color3.new(1, 0, 1))
  878.     local EffectPart = NewInstance("Part",Effects,{
  879.         Material=Enum.Material.SmoothPlastic,
  880.         Reflectance = 0,
  881.         Transparency = 1,
  882.         BrickColor = BrickColor.new(Color),
  883.         Name = "Effect",
  884.         Size = Vector3.new(0,0,0),
  885.         Anchored = true
  886.     })
  887.     local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  888.         Size = UDim2.new(1.25, 0, 1.25, 0),
  889.         Adornee = EffectPart,
  890.     })
  891.     local TextLabel = NewInstance("TextLabel",BillboardGui,{
  892.         BackgroundTransparency = 1,
  893.         Size = UDim2.new(1, 0, 1, 0),
  894.         Text = Text,
  895.         Font = "Arial",
  896.         TextColor3 = Color,
  897.         TextStrokeColor3 = Color3.new(0,0,0),
  898.         TextStrokeTransparency=0,
  899.         TextScaled = true,
  900.     })
  901.     game.Debris:AddItem(EffectPart, (Time))
  902.     EffectPart.Parent = game:GetService("Workspace")
  903.     delay(0, function()
  904.         local Frames = (Time / Rate)
  905.         for Frame = 1, Frames do
  906.             wait(Rate)
  907.             local Percent = (Frame / Frames)
  908.             EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  909.             TextLabel.TextTransparency = Percent
  910.             TextLabel.TextStrokeTransparency = Percent
  911.         end
  912.         if EffectPart and EffectPart.Parent then
  913.             EffectPart:Destroy()
  914.         end
  915.     end)
  916. end
  917.  
  918.  
  919. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  920.     if(who)then
  921.         local hum = who:FindFirstChildOfClass'Humanoid'
  922.         local Damage = M.RNG(minDam,maxDam)
  923.         local canHit = true
  924.         if(hum)then
  925.             for _, p in pairs(Hit) do
  926.                 if p[1] == hum then
  927.                     if(time() - p[2] < 0.1) then
  928.                         canHit = false
  929.                     else
  930.                         Hit[_] = nil
  931.                     end
  932.                 end
  933.             end
  934.             if(canHit)then
  935.                 table.insert(Hit,{hum,time()})
  936.                 if(hum.Health >= math.huge)then
  937.                     who:BreakJoints()
  938.                     if(who:FindFirstChild'Head' and hum.Health > 0)then
  939.                         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))
  940.                     end
  941.                 else
  942.                     local player = S.Players:GetPlayerFromCharacter(who)
  943.                     if(Type == "Fire")then
  944.                         --idk..
  945.                     else
  946.                         local  c = Instance.new("ObjectValue",hum)
  947.                         c.Name = "creator"
  948.                         c.Value = Plr
  949.                         game:service'Debris':AddItem(c,0.35)
  950.                         if(M.RNG(1,100) <= (critChance or 0) and critMult > 1)then
  951.                             if(who:FindFirstChild'Head' and hum.Health > 0)then
  952.                                 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)
  953.                             end
  954.                             hum.Health = hum.Health - Damage*(critMult or 2)
  955.                         else
  956.                             if(who:FindFirstChild'Head' and hum.Health > 0)then
  957.                                 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)
  958.                             end
  959.                             hum.Health = hum.Health - Damage
  960.                         end
  961.                         if(Type == 'Knockback' and GetTorso(who))then
  962.                             local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  963.                             local body = NewInstance('BodyVelocity',GetTorso(who),{
  964.                                 P = 500,
  965.                                 maxForce = V3.N(math.huge,0,math.huge),
  966.                                 velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  967.                             })
  968.                             game:service'Debris':AddItem(body,.5)
  969.                         elseif(Type == "Electric")then
  970.                             if(M.RNG(1,100) >= critChance)then
  971.                                 if(who:FindFirstChild'Head' and hum.Health > 0)then
  972.                                     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)
  973.                                 end
  974.                                 local asd = hum.WalkSpeed/2
  975.                                 hum.WalkSpeed = asd
  976.                                 local paralyzed = true
  977.                                 coroutine.wrap(function()
  978.                                     while paralyzed do
  979.                                         swait(25)
  980.                                         if(M.RNG(1,25) == 1)then
  981.                                             if(who:FindFirstChild'Head' and hum.Health > 0)then
  982.                                                 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)
  983.                                             end
  984.                                             hum.PlatformStand = true
  985.                                         end
  986.                                     end
  987.                                 end)()
  988.                                 delay(4, function()
  989.                                     paralyzed = false
  990.                                     hum.WalkSpeed = hum.WalkSpeed + asd
  991.                                 end)
  992.                             end
  993.                            
  994.                         elseif(Type == 'Knockdown' and GetTorso(who))then
  995.                             local rek = GetTorso(who)
  996.                             hum.PlatformStand = true
  997.                             delay(1,function()
  998.                                 hum.PlatformStand = false
  999.                             end)
  1000.                             local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  1001.                             local bodvol = NewInstance("BodyVelocity",rek,{
  1002.                                 velocity = angle * Knock,
  1003.                                 P = 5000,
  1004.                                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1005.                             })
  1006.                             local rl = NewInstance("BodyAngularVelocity",rek,{
  1007.                                 P = 3000,
  1008.                                 maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1009.                                 angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1010.                             })
  1011.                             game:GetService("Debris"):AddItem(bodvol, .5)
  1012.                             game:GetService("Debris"):AddItem(rl, .5)
  1013.                         end
  1014.                     end
  1015.                 end
  1016.             end
  1017.         end
  1018.     end
  1019. end
  1020.  
  1021. function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult)
  1022.     for _,v in next, getRegion(where,range,{Char}) do
  1023.         if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  1024.             DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult)
  1025.         end
  1026.     end
  1027. end
  1028. function AOEHeal(where,range,amount)
  1029.     local healed = {}
  1030.     for _,v in next, getRegion(where,range,{Char}) do
  1031.         local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  1032.         if(hum and not healed[hum])then
  1033.             hum.Health = hum.Health + amount
  1034.             if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  1035.                 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)
  1036.             end
  1037.         end
  1038.     end
  1039. end
  1040.  
  1041.  
  1042. --// Attack Functions \\--
  1043.  
  1044. function Smite()
  1045.     Zap{
  1046.         StartCFrame=CF.N(Mouse.Hit.p)*CF.N(0,500,0),
  1047.         EndCFrame=CF.N(Mouse.Hit.p),
  1048.         ZapRotation = {-5,5},
  1049.         StartSize = 5,
  1050.         EndSize = 1,
  1051.         Delay=5,
  1052.         DelayInc=1,
  1053.     }
  1054.     AOEDamage(Mouse.Hit.p,3,15,35,false,"Electric",75,1)
  1055. end
  1056.  
  1057. function LightningStorm()
  1058.     Attack = true
  1059.     Rooted = true
  1060.     NeutralAnims = false
  1061.     Hum.AutoRotate = false
  1062.     repeat swait()
  1063.         Root.CFrame = Root.CFrame:lerp(CF.N(Root.CFrame.p,V3.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z)),.1)
  1064.         local Alpha = .3
  1065.         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)
  1066.         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)
  1067.         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)
  1068.         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)
  1069.         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)
  1070.         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)
  1071.         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)
  1072.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1073.         WingFlutter()
  1074.     until not S.UserInputService:IsKeyDown(Enum.KeyCode.C)
  1075.     local where = Mouse.Hit.p
  1076.     for i = 0, 6, .1 do
  1077.         swait()
  1078.         local Alpha = .3
  1079.         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)
  1080.         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)
  1081.         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)
  1082.         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)
  1083.         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)
  1084.         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)
  1085.         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)
  1086.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1087.         WingFlutter()
  1088.     end
  1089.     for i = 0, 1.4, .1 do
  1090.         swait()
  1091.         local Alpha = .3
  1092.         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)
  1093.         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)
  1094.         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)
  1095.         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)
  1096.         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)
  1097.         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)
  1098.         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)
  1099.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1100.         WingFlutter()
  1101.     end
  1102.     for i = 0, .8, .1 do
  1103.         swait()
  1104.         local Alpha = .3
  1105.         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)
  1106.         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)
  1107.         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)
  1108.         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)
  1109.         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)
  1110.         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)
  1111.         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)
  1112.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1113.         WingFlutter()
  1114.     end
  1115.    
  1116.     for i = 0, 6, .1 do
  1117.         pcall(function() Sound(Torso,481719045,1,1,false,true,true) end)
  1118.         local pos = CF.N(where)*CF.N(M.RNG(-1000,1000,100),0,M.RNG(-1000,1000,100))
  1119.         local part,rayPos,norm,dist = CastRay(pos*CF.N(0,500,0).p,pos.p,1500)
  1120.         Zap{
  1121.             StartCFrame=pos*CF.N(0,500,0),
  1122.             EndCFrame=CF.N(rayPos),
  1123.             ZapRotation = {-5,5},
  1124.             StartSize = 1,
  1125.             EndSize = .5,
  1126.             Delay=10,
  1127.             DelayInc=2,
  1128.         }
  1129.         AOEDamage(rayPos,5,45,65,0,'Electric',25,2)
  1130.         swait()
  1131.         local Alpha = .3
  1132.         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)
  1133.         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)
  1134.         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)
  1135.         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)
  1136.         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)
  1137.         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)
  1138.         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)
  1139.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1140.         WingFlutter()
  1141.     end
  1142.     Hum.AutoRotate = true
  1143.     Attack = false
  1144.     NeutralAnims = true
  1145.     Rooted = false
  1146. end
  1147.  
  1148.  
  1149. function HolyBomb()
  1150.     Attack = true
  1151.     Chat2("It's time to cleanse this world!")
  1152.     swait(60)
  1153.     Rooted = true
  1154.     NeutralAnims = false
  1155.     for i = 0, 6, 0.1 do
  1156.         swait()
  1157.         local Alpha = .05
  1158.         Zap{
  1159.             StartCFrame=CF.N(Root.CFrame.p)*CF.N(0,250,0),
  1160.             EndCFrame=CF.N(Root.CFrame.p),
  1161.             ZapRotation = {-15,15},
  1162.             Color=C3.N(1,1,0),
  1163.             StartSize = 1,
  1164.             EndSize = 1,
  1165.             Delay=5,
  1166.             DelayInc=1,
  1167.         }
  1168.         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)
  1169.         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)
  1170.         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)
  1171.         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)
  1172.         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)
  1173.         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)
  1174.         WingFlutter()
  1175.         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)
  1176.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),.3)
  1177.     end
  1178.     for i = 0, .8, 0.1 do
  1179.         swait()
  1180.         local Alpha = .3
  1181.         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)
  1182.         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)
  1183.         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)
  1184.         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)
  1185.         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)
  1186.         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)
  1187.     end
  1188.     delay(1, function()
  1189.         NeutralAnims = true
  1190.         Rooted = false
  1191.     end)
  1192.     local start = NewInstance("Part",Effects,{Anchored=true,CanCollide=false,Transparency=1,CFrame=Root.CFrame})
  1193.     Sound(Char,579687077,.5,2,false,true,true)
  1194.     Sound(Char,239000203,.75,2,false,true,true)
  1195.     for i = 1, 140 do
  1196.         AOEDamage(start.CFrame.p,95,1000,1000,0,'Normal',100,5)
  1197.         Effect{
  1198.             Effect='ResizeAndFade',
  1199.             Mesh={MeshType=Enum.MeshType.Sphere},
  1200.             Color=C3.N(1,1,0),
  1201.             Material=Enum.Material.Neon,
  1202.             CFrame=CF.N(start.CFrame.p)*CF.N(M.RNG(-75,75),M.RNG(-75,75),M.RNG(-75,75)),
  1203.             Frames=60,
  1204.             FXSettings={
  1205.                 EndIsIncrement=true,
  1206.                 EndSize=V3.N(.6,.6,.6)
  1207.             }
  1208.         }
  1209.         swait(1)
  1210.     end
  1211.     Attack = false
  1212. end
  1213.  
  1214. function Lazor()
  1215.     Rooted = true
  1216.     Attack = true
  1217.     Hum.AutoRotate=false
  1218.     NeutralAnims = false
  1219.     Chat2("Begone, sinner.")
  1220.     --Effect{Effect='Resize',Mesh={MeshType=Enum.MeshType.FileMesh},Size=V3.N(1,1,1),CFrame=,Frames=60,FXSettings={EndSize=V3.N(4,4,4)}}
  1221.     local snd = Sound(Torso,705787045,1,1,true,false,false)
  1222.     for i = 0, 6, .1 do
  1223.         Effect{
  1224.             Effect='Fade',
  1225.             Color=BrickColor.new'New Yeller',
  1226.             Size=V3.N((i/2),(i/2),(i/2)),
  1227.             Material=Enum.Material.Neon,
  1228.             Mesh={MeshType=Enum.MeshType.Sphere},
  1229.             Frames=15,
  1230.             CFrame=RArm.CFrame*CF.N(0,-1.5,0),
  1231.             Sound=false
  1232.         }
  1233.         swait()
  1234.         Root.CFrame =Root.CFrame:lerp(CF.N(Root.CFrame.p,V3.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z)),.1)
  1235.         local Alpha = .1
  1236.         Change = .5
  1237.         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)
  1238.         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)
  1239.         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)
  1240.         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)
  1241.         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)
  1242.         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)
  1243.         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)
  1244.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1245.         WingFlutter()
  1246.     end
  1247.     snd:Play()
  1248.     for i = 0, 24, .1 do
  1249.         swait()
  1250.         Effect{
  1251.             Effect='Fade',
  1252.             Color=BrickColor.new'New Yeller',
  1253.             Size=V3.N(3,3,3),
  1254.             Material=Enum.Material.Neon,
  1255.             Mesh={MeshType=Enum.MeshType.Sphere},
  1256.             Frames=15,
  1257.             CFrame=RArm.CFrame*CF.N(0,-1.5,0),
  1258.         }
  1259.         if(Mouse.Target)then
  1260.             Zap{
  1261.                 StartCFrame=RArm.CFrame*CF.N(0,-1.5,0),
  1262.                 EndCFrame=Mouse.Hit,
  1263.                 ZapRotation = {-5,5},
  1264.                 PartCount=10,
  1265.                 StartSize = .5,
  1266.                 EndSize = .5,
  1267.                 Color = C3.N(1,1,0),
  1268.                 DelayInc=0,
  1269.                 Delay =5,
  1270.             }
  1271.         end
  1272.         AOEDamage(Mouse.Hit.p,3,10,15,false,"Electric",25,2)
  1273.         Root.CFrame = Root.CFrame:lerp(CF.N(Root.CFrame.p,V3.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z)),.1)
  1274.         local Alpha = .1
  1275.         Change = .5
  1276.         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)
  1277.         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)
  1278.         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)
  1279.         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)
  1280.         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)
  1281.         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)
  1282.         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)
  1283.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1284.         WingFlutter()
  1285.     end
  1286.     coroutine.wrap(function()
  1287.         for i = 1, 0,-.05 do
  1288.             snd.Volume = i
  1289.             swait()
  1290.         end
  1291.         snd:destroy()
  1292.     end)()
  1293.     Rooted = false
  1294.     Attack = false
  1295.     Hum.AutoRotate=true
  1296.     NeutralAnims = true
  1297. end
  1298.  
  1299. function Teleport()
  1300.     Rooted = true
  1301.     Attack = true
  1302.     Hum.AutoRotate=false
  1303.     NeutralAnims = false
  1304.     repeat swait()
  1305.         Root.CFrame =Root.CFrame:lerp(CF.N(Root.CFrame.p,V3.N(Mouse.Hit.x,Root.CFrame.y,Mouse.Hit.z)),.1)
  1306.         local Alpha = .1
  1307.         Change = .5
  1308.         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)
  1309.         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)
  1310.         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)
  1311.         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)
  1312.         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)
  1313.         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)
  1314.         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)
  1315.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1316.         WingFlutter()
  1317.     until not S.UserInputService:IsKeyDown(Enum.KeyCode.Q)
  1318.     local p = Mouse.Hit.p
  1319.  
  1320.     --
  1321.     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})
  1322.     local decalF = NewInstance("Decal",circle,{Name='Front',Texture="rbxassetid://524002938",Color3=C3.N(1,1,0),Face=Enum.NormalId.Front,Transparency = 1})
  1323.     local decalB = NewInstance("Decal",circle,{Name='Back',Texture="rbxassetid://524002938",Color3=C3.N(1,1,0),Face=Enum.NormalId.Back,Transparency=1})
  1324.     local asd = CF.N(p,Root.Position)
  1325.     local circle2=circle:Clone()
  1326.     circle2.Parent = Effects
  1327.     circle2.CFrame = asd*CF.N(0,4,0)
  1328.     Root.Anchored = true
  1329.     for i = 0, 3, .1 do
  1330.         swait()
  1331.         local Alpha = .1
  1332.         Change = .5
  1333.         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)
  1334.         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)
  1335.         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)
  1336.         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)
  1337.         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)
  1338.         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)
  1339.         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)
  1340.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1341.         WingFlutter()
  1342.         circle.Size = circle.Size + V3.N(.2,.2,0)
  1343.         circle2.Size = circle2.Size + V3.N(.2,.2,0)
  1344.         circle.Front.Transparency=1-(i/3)
  1345.         circle.Back.Transparency=1-(i/3)
  1346.         circle2.Front.Transparency=1-(i/3)
  1347.         circle2.Back.Transparency=1-(i/3)
  1348.        
  1349.         circle.CFrame=circle.CFrame*CF.A(0,0,M.R(5))
  1350.         circle2.CFrame=circle2.CFrame*CF.A(0,0,M.R(5))
  1351.     end
  1352.     Root.Anchored = true
  1353.     for i = 1, 3,.1 do
  1354.         Root.Anchored = true
  1355.         swait()
  1356.         local Alpha = .1
  1357.         Change = .5
  1358.         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)
  1359.         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)
  1360.         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)
  1361.         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)
  1362.         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)
  1363.         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)
  1364.         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)
  1365.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1366.         WingFlutter()
  1367.     end
  1368.     for i = 0, 2, .1 do
  1369.         swait()
  1370.         local Alpha = .1
  1371.         Change = .5
  1372.         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)
  1373.         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)
  1374.         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)
  1375.         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)
  1376.         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)
  1377.         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)
  1378.         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)
  1379.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1380.         WingFlutter()
  1381.         Root.CFrame = Root.CFrame * CF.N(0,0,-.1)
  1382.         Transparency(i/2)
  1383.     end
  1384.     Zap{
  1385.         StartCFrame=Root.CFrame,
  1386.         EndCFrame=asd*CF.N(0,4,0),
  1387.         ZapRotation = {-5,5},
  1388.         PartCount=10,
  1389.         StartSize = 4,
  1390.         EndSize = .5,
  1391.         Color = C3.N(1,1,0),
  1392.         DelayInc=5,
  1393.         Delay = 15,
  1394.     }
  1395.     Root.CFrame = asd*CF.N(0,4,0)
  1396.     Root.Anchored = true
  1397.  
  1398.     for i = 0, 2, .1 do
  1399.         Root.Anchored = true
  1400.         swait()
  1401.         local Alpha = .1
  1402.         Change = .5
  1403.         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)
  1404.         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)
  1405.         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)
  1406.         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)
  1407.         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)
  1408.         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)
  1409.         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)
  1410.         WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1411.         WingFlutter()
  1412.         Root.CFrame = Root.CFrame * CF.N(0,0,-.1)
  1413.         Transparency(1-(i/2))
  1414.     end
  1415.    
  1416.    
  1417.     Transparency(0)
  1418.     coroutine.wrap(function()
  1419.         for i = 0, 3, .1 do
  1420.             swait()
  1421.             local Alpha = .1
  1422.             Change = .5
  1423.             circle.Size = circle.Size - V3.N(.2,.2,0)
  1424.             circle2.Size = circle2.Size - V3.N(.2,.2,0)
  1425.             circle.Front.Transparency=(i/3)
  1426.             circle.Back.Transparency=(i/3)
  1427.             circle2.Front.Transparency=(i/3)
  1428.             circle2.Back.Transparency=(i/3)
  1429.            
  1430.             circle.CFrame=circle.CFrame*CF.A(0,0,-M.R(5))
  1431.             circle2.CFrame=circle2.CFrame*CF.A(0,0,-M.R(5))
  1432.         end
  1433.     end)()
  1434.     Hum.AutoRotate = true
  1435.     Root.Anchored = false
  1436.     Rooted = false
  1437.     Attack = false
  1438.     NeutralAnims = true
  1439. end
  1440.  
  1441. Mouse.KeyDown:connect(function(k)
  1442.     if(Attack)then return end
  1443.     if(k == 'q')then Teleport() end
  1444.     if(k == 'z')then Lazor() end
  1445.     if(k == 'x')then Smite() end
  1446.     if(k == 'v')then HolyBomb() end
  1447.     if(k == 'c')then LightningStorm() end
  1448. end)
  1449.  
  1450.    
  1451. --// Wrap it all up \\--
  1452. while true do
  1453.     swait()
  1454.     Sine = Sine + Change
  1455.    
  1456.     if(not Music or not Music.Parent)then
  1457.         local a = Music.TimePosition
  1458.         Music = Sound(Char,MusicID,1,3,true,false,true)
  1459.         Music.Name = 'Music'
  1460.         Music.TimePosition = a
  1461.     end
  1462.     Music.Playing = true
  1463.     Torso.Color = C3.N(0,0,0)
  1464.     RArm.Color = C3.N(0,0,0)
  1465.     LArm.Color = C3.N(0,0,0)
  1466.     RLeg.Color = C3.N(0,0,0)
  1467.     LLeg.Color = C3.N(0,0,0)
  1468.     Head.Color = C3.N(0,0,0)
  1469.     Music.Volume = 5
  1470.     Music.Pitch = 1
  1471.     Music.Playing = true
  1472.     Hum.HipHeight = 2
  1473.     Sine = Sine + Change
  1474.     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)
  1475.     local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1476.     local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or Walking and "Walk" or "Idle")
  1477.     if(time()-PulseTime > .05)then
  1478.         PulseTime = time()
  1479.         if(hitfloor)then
  1480.             local angles = CF.A(M.RRNG(-15,15),M.RRNG(-45,45),M.RRNG(-45,45))
  1481.             Effect{
  1482.                 Effect='ResizeAndFade',
  1483.                 Color=hitfloor.Color,
  1484.                 Material=hitfloor.Material,
  1485.                 Frames=60,
  1486.                 Mesh={MeshType=Enum.MeshType.FileMesh,MeshId="rbxassetid://662586858",Scale=V3.N(.01,.01,.01)},
  1487.                 CFrame=CF.N(posfloor)*angles,
  1488.                 MoveDirection=CF.N(posfloor)*angles*CF.N(0,6,0).p,
  1489.                 FXSettings = {
  1490.                     EndSize=V3.N(.0005,.0005,.0005),
  1491.                     EndIsIncrement=true
  1492.                 }
  1493.             }
  1494.         end
  1495.         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))
  1496.         local hitfloor2,posfloor2 = workspace:FindPartOnRay(Ray.new(pos.p,((CFrame.new(pos.p,pos.p - Vector3.new(0,1,0))).lookVector).unit * 100), Char)
  1497.        
  1498.         if(hitfloor2)then
  1499.             pos = CF.N(posfloor2)
  1500.             Effect{
  1501.                 Effect='ResizeAndFade',
  1502.                 Color=BrickColor.new'New Yeller',
  1503.                 Size=V3.N(2,2,2),
  1504.                 Material=Enum.Material.Neon,
  1505.                 Mesh={MeshType=Enum.MeshType.Sphere},
  1506.                 Frames=45,
  1507.                 CFrame=pos,
  1508.                 FXSettings = {
  1509.                     EndSize = V3.N(-.01,.25,-.01),
  1510.                     EndIsIncrement = true
  1511.                 }
  1512.             }
  1513.         else
  1514.             Effect{
  1515.                 Effect='ResizeAndFade',
  1516.                 Color=BrickColor.new'New Yeller',
  1517.                 Size=V3.N(2,2,2),
  1518.                 Material=Enum.Material.Neon,
  1519.                 Mesh={MeshType=Enum.MeshType.Sphere},
  1520.                 Frames=45,
  1521.                 CFrame=pos,
  1522.                 FXSettings = {
  1523.                     EndSize = V3.N(-.01,.25,-.01),
  1524.                     EndIsIncrement = true
  1525.                 }
  1526.             }
  1527.         end
  1528.     end
  1529.     Hum.Name = math.random()*100000
  1530.     Hum.MaxHealth = 1e100
  1531.     Hum.Health = 1e100
  1532.     if(M.RNG(1,50) == 1)then
  1533.         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))
  1534.         local hitfloor2,posfloor2 = workspace:FindPartOnRay(Ray.new(pos.p,((CFrame.new(pos.p,pos.p - Vector3.new(0,1,0))).lookVector).unit * 100), Char)
  1535.        
  1536.         if(hitfloor2)then
  1537.             pos = CF.N(posfloor2)
  1538.         end
  1539.         Zap{
  1540.             StartCFrame=Torso.CFrame,
  1541.             EndCFrame=pos,
  1542.             ZapRotation = {-2,2},
  1543.             PartCount=5,
  1544.             StartSize = .5,
  1545.             EndSize = 0,
  1546.             Color = C3.N(1,1,0),
  1547.             DelayInc=5,
  1548.             Delay = 15,
  1549.             Sound=false
  1550.         }
  1551.     end
  1552.     if(Rooted == false)then
  1553.         Hum.WalkSpeed = 32
  1554.         Hum.JumpPower = 75
  1555.     else
  1556.         Hum.WalkSpeed = 0
  1557.         Hum.JumpPower = 0
  1558.     end
  1559.     if(not Effects or not Effects.Parent)then
  1560.         Effects = IN("Model",Char)
  1561.         Effects.Name = "Effects"
  1562.     end
  1563.     if(NeutralAnims)then   
  1564.         if(State == 'Idle')then
  1565.             local Alpha = .1
  1566.             Change = .5
  1567.             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)
  1568.             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)
  1569.             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)
  1570.             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)
  1571.             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)
  1572.             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)
  1573.             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)
  1574.             WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1575.             WingFlutter()
  1576.  
  1577.         elseif(State == 'Walk')then
  1578.             local Alpha = .1
  1579.             Change = .5
  1580.             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)
  1581.             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)
  1582.             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)
  1583.             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)
  1584.             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)
  1585.             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)
  1586.             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)
  1587.             WW.C0 = WW.C0:lerp(CF.N(0,1.5+.3*M.C(Sine/12),1.5),Alpha)
  1588.             WingFlutter()
  1589.         elseif(State == 'Paralyzed')then
  1590.             -- paralyzed
  1591.         elseif(State == 'Sit')then
  1592.             -- sit
  1593.         end
  1594.     end
  1595. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement