Advertisement
heyoooooooooo

Untitled

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