Advertisement
copra50

angel

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