Advertisement
Guest User

Angel Script FE

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