Advertisement
Hermaxs

Untitled

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