Advertisement
DarkScriptZEditors

Nebula Angel?

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