SHARE
TWEET

FE Chara

a guest Nov 17th, 2019 146 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Use Paid Exploit.") end
  2. print("FE Compatibility: by TheWanderYT")
  3. InternalData = {}
  4. do
  5.     script.Parent = owner.Character
  6.     local Event = Instance.new("RemoteEvent")
  7.     Event.Name = "UserInput"
  8.     local function NewFakeEvent()
  9.         local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
  10.         return Fake
  11.     end
  12.     local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  13.     local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  14.     local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  15.         self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  16.     end};ContextActionService.UnBindAction = ContextActionService.BindAction
  17.     local function TriggerEvent(self,Event,...)
  18.         local Trigger = Mouse[Event]
  19.         if Trigger and Trigger.fakeEvent and Trigger.Function then
  20.             Trigger.Function(...)
  21.         end
  22.     end
  23.     Mouse.TrigEvent = TriggerEvent
  24.     UserInputService.TrigEvent = TriggerEvent
  25.     Event.OnServerEvent:Connect(function(FiredBy,Input)
  26.         if FiredBy.Name ~= owner.Name then end
  27.         if Input.MouseEvent then
  28.             Mouse.Target = Input.Target
  29.             Mouse.Hit = Input.Hit
  30.         else
  31.             local Begin = Input.UserInputState == Enum.UserInputState.Begin
  32.             if Input.UserInputType == Enum.UserInputType.MouseButton1 then
  33.                 return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
  34.             end
  35.             for _,Action in pairs(ContextActionService.Actions) do
  36.                 for _,Key in pairs(Action.Keys) do
  37.                     if Key==Input.KeyCode then
  38.                         Action.Function(Action.Name,Input.UserInputState,Input)
  39.                     end
  40.                 end
  41.             end
  42.             Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  43.             UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  44.         end
  45.     end)
  46.     InternalData["Mouse"] = Mouse
  47.     InternalData["ContextActionService"] = ContextActionService
  48.     InternalData["UserInputService"] = UserInputService
  49.     Event.Parent = NLS([[
  50.         local Player = owner
  51.         local Event = script:WaitForChild("UserInput")
  52.         local UserInputService = game:GetService("UserInputService")
  53.         local Mouse = Player:GetMouse()
  54.         local Input = function(Input,gameProcessedEvent)
  55.             if gameProcessedEvent then return end
  56.             Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  57.         end
  58.         UserInputService.InputBegan:Connect(Input)
  59.         UserInputService.InputEnded:Connect(Input)
  60.         local Hit,Target
  61.         while wait(1/30) do
  62.             if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  63.                 Hit,Target = Mouse.Hit,Mouse.Target
  64.                 Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  65.             end
  66.         end
  67.     ]],owner.Character)
  68. end
  69. RealGame = game;game = setmetatable({},{
  70.     __index = function (self,Index)
  71.         local Sandbox = function (Thing)
  72.             if Thing:IsA("Player") then
  73.                 local RealPlayer = Thing
  74.                 return setmetatable({},{
  75.                     __index = function (self,Index)
  76.                         local Type = type(RealPlayer[Index])
  77.                         if Type == "function" then
  78.                             if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  79.                                 return function (self)
  80.                                     return InternalData["Mouse"]
  81.                                 end
  82.                             end
  83.                             return function (self,...)
  84.                                 return RealPlayer[Index](RealPlayer,...)
  85.                             end
  86.                         else
  87.                             if Index == "PlrObj" then
  88.                                 return RealPlayer
  89.                             end
  90.                             return RealPlayer[Index]
  91.                         end
  92.                     end;
  93.                     __tostring = function(self)
  94.                         return RealPlayer.Name
  95.                     end
  96.                 })
  97.             end
  98.         end
  99.         if RealGame[Index] then
  100.             local Type = type(RealGame[Index])
  101.             if Type == "function" then
  102.                 if Index:lower() == "getservice" or Index:lower() == "service" then
  103.                     return function (self,Service)
  104.                         if Service:lower() == "players" then
  105.                             return setmetatable({},{
  106.                                 __index = function (self2,Index2)
  107.                                     local RealService = RealGame:GetService(Service)
  108.                                     local Type2 = type(Index2)
  109.                                     if Type2 == "function" then
  110.                                         return function (self,...)
  111.                                             return RealService[Index2](RealService,...)
  112.                                         end
  113.                                     else
  114.                                         if Index2:lower() == "localplayer" then
  115.                                             return Sandbox(owner)
  116.                                         end
  117.                                         return RealService[Index2]
  118.                                     end
  119.                                 end;
  120.                                 __tostring = function(self)
  121.                                     return RealGame:GetService(Service).Name
  122.                                 end
  123.                             })
  124.                         elseif Service:lower() == "contextactionservice" then
  125.                             return InternalData["ContextActionService"]
  126.                         elseif Service:lower() == "contextactionservice" then
  127.                             return InternalData["UserInputService"]
  128.                         elseif Service:lower() == "runservice" then
  129.                             return setmetatable({},{
  130.                                 __index = function(self2,Index2)
  131.                                     local RealService = RealGame:GetService(Service)
  132.                                     local Type2 = type(Index2)
  133.                                     if Type2 == "function" then
  134.                                         return function (self,...)
  135.                                             return RealService[Index2](RealService,...)
  136.                                         end
  137.                                     else
  138.                                         if Index2:lower() == "bindtorenderstep" then
  139.                                             return function (self,Name,Priority,Function)
  140.                                                 return RealGame:GetService("RunService").Stepped:Connect(Function)
  141.                                             end
  142.                                         end
  143.                                         if Index2:lower() == "renderstepped" then
  144.                                             return RealService["Stepped"]
  145.                                         end
  146.                                         return RealService[Index2]
  147.                                     end
  148.                                 end
  149.                             })
  150.                         else
  151.                             return RealGame:GetService(Service)
  152.                         end
  153.                     end
  154.                 end
  155.                 return function (self,...)
  156.                     return RealGame[Index](RealGame,...)
  157.                 end
  158.             else
  159.                 if game:GetService(Index) then
  160.                     return game:GetService(Index)
  161.                 end
  162.                 return RealGame[Index]
  163.             end
  164.         else
  165.             return nil
  166.         end
  167.     end
  168. });Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
  169. print("Complete! Running...")
  170.  
  171.  
  172. --//Paste script below this line.
  173.  
  174. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  175. local Plrs = S.Players
  176. local Plr = owner
  177. local Char = Plr.Character
  178. local Hum = Char:FindFirstChildOfClass'Humanoid'
  179. local RArm = Char["Right Arm"]
  180. local LArm = Char["Left Arm"]
  181. local RLeg = Char["Right Leg"]
  182. local LLeg = Char["Left Leg"]  
  183. local Root = Char:FindFirstChild'HumanoidRootPart'
  184. local Torso = Char.Torso
  185. local Head = Char.Head
  186. local NeutralAnims = true
  187. local Attack = false
  188. local BloodPuddles = {}
  189. local Effects = {}
  190. local Debounces = {Debounces={}}
  191. local Hit = {}
  192. local Sine = 0
  193. local Change = 1
  194. local Souls = 0
  195. --// Debounce System \\--
  196.  
  197.  
  198. function Debounces:New(name,cooldown)
  199.     local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  200.     setmetatable(aaaaa,{__index = Debounces})
  201.     Debounces.Debounces[name] = aaaaa
  202.     return aaaaa
  203. end
  204.  
  205. function Debounces:Use(overrideUsable)
  206.     assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  207.     if(self.Usable or overrideUsable)then
  208.         self.Usable = false
  209.         self.CoolingDown = true
  210.         local LastUse = time()
  211.         self.LastUse = LastUse
  212.         delay(self.Cooldown or 2,function()
  213.             if(self.LastUse == LastUse)then
  214.                 self.CoolingDown = false
  215.                 self.Usable = true
  216.             end
  217.         end)
  218.     end
  219. end
  220.  
  221. function Debounces:Get(name)
  222.     assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  223.     for i,v in next, Debounces.Debounces do
  224.         if(i == name)then
  225.             return v;
  226.         end
  227.     end
  228. end
  229.  
  230. function Debounces:GetProgressPercentage()
  231.     assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  232.     if(self.CoolingDown and not self.Usable)then
  233.         return math.max(
  234.             math.floor(
  235.                 (
  236.                     (time()-self.LastUse)/self.Cooldown or 2
  237.                 )*100
  238.             )
  239.         )
  240.     else
  241.         return 100
  242.     end
  243. end
  244.  
  245. --// Shortcut Variables \\--
  246. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  247. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  248. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  249. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  250. local R3 = {N=Region3.new}
  251. local De = S.Debris
  252. local WS = workspace
  253. local Lght = S.Lighting
  254. local RepS = S.ReplicatedStorage
  255. local IN = Instance.new
  256. local CSK = ColorSequenceKeypoint.new
  257. local CS = ColorSequence.new
  258. --// Instance Creation Functions \\--
  259.  
  260. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  261.     local Sound = IN("Sound")
  262.     Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  263.     Sound.Pitch = pitch or 1
  264.     Sound.Volume = volume or 1
  265.     Sound.Looped = looped or false
  266.     if(autoPlay)then
  267.         coroutine.wrap(function()
  268.             repeat wait() until Sound.IsLoaded
  269.             Sound.Playing = autoPlay or false
  270.         end)()
  271.     end
  272.     if(not looped and effect)then
  273.         Sound.Stopped:connect(function()
  274.             Sound.Volume = 0
  275.             Sound:destroy()
  276.         end)
  277.     elseif(effect)then
  278.         warn("Sound can't be looped and a sound effect!")
  279.     end
  280.     Sound.Parent =parent or Torso
  281.     return Sound
  282. end
  283. function Part(parent,color,material,size,cframe,anchored,cancollide)
  284.     local part = IN("Part")
  285.     part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  286.     part.Material = (material or Enum.Material.SmoothPlastic)
  287.     part.TopSurface,part.BottomSurface=10,10
  288.     part.Size = (size or V3.N(1,1,1))
  289.     part.CFrame = (cframe or CF.N(0,0,0))
  290.     part.Anchored = (anchored or false)
  291.     part.CanCollide = (cancollide or false)
  292.     part.Parent = (parent or Char)
  293.     return part
  294. end
  295. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  296.     local part = IN("SpecialMesh")
  297.     part.MeshId = meshid or ""
  298.     part.TextureId = textid or ""
  299.     part.Scale = scale or V3.N(1,1,1)
  300.     part.Offset = offset or V3.N(0,0,0)
  301.     part.MeshType = meshtype or Enum.MeshType.Sphere
  302.     part.Parent = parent
  303.     return part
  304. end
  305.  
  306. NewInstance = function(instance,parent,properties)
  307.     local inst = Instance.new(instance,parent)
  308.     if(properties)then
  309.         for i,v in next, properties do
  310.             pcall(function() inst[i] = v end)
  311.         end
  312.     end
  313.     return inst;
  314. end
  315.  
  316.  
  317.  
  318. --// Extended ROBLOX tables \\--
  319. 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})
  320. --// Customization \\--
  321.  
  322. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  323. local Remove_Hats = false
  324. local Remove_Clothing = true
  325. local PlayerSize = 1
  326. local DamageColor = BrickColor.new'Really red'
  327. local MusicID = 935501955
  328. local WalkSpeed = 8
  329. local MaxSouls = 100
  330. local MaxHealth = 500
  331.  
  332.  
  333. if(_G.RefusedAnimation == nil) then _G.RefusedAnimation = false end
  334.  
  335. --// Weapon and GUI creation, and Character Customization \\--
  336.  
  337. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  338. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  339. local Effects = IN("Folder",Char)
  340. Effects.Name = "Effects"
  341.  
  342. Hum.MaxHealth = MaxHealth
  343. Hum.Health = MaxHealth
  344.  
  345. local Knife = NewInstance("Part",Char,{Name='Knife',Size=V3.N(.4,3,.7),Anchored=false,CanCollide=false,Locked=true,Archivable=false,Reflectance=.01,Color=C3.N(0,0,0)})
  346. local KnifeMesh = Mesh(Knife,Enum.MeshType.FileMesh,"rbxassetid://121944778","rbxassetid://362719969",V3.N(1,1,1),V3.N())
  347. local AuraEmitter = NewInstance("ParticleEmitter",Knife,{EmissionDirection='Back',Color=CS{CSK(0,C3.N(1,0,0)),CSK(0.5,C3.N(1,1,0)),CSK(1,C3.RGB(255,191,0))},LightEmission=.5,LightInfluence=0,Size=NumberSequence.new(0.3),Texture="rbxassetid://141116476",Transparency=NumberSequence.new(0,1),LockedToPart=true,Lifetime=NumberRange.new(1),Rate=150,Speed=NumberRange.new(0)})
  348. local FireEmitter = NewInstance("ParticleEmitter",Knife,{EmissionDirection='Back',Color=CS(C3.N(1,0,0),C3.N(1,0,0)),LightEmission=.5,LightInfluence=0,Size=NumberSequence.new{NumberSequenceKeypoint.new(0,.5,0),NumberSequenceKeypoint.new(0.755,0,0),NumberSequenceKeypoint.new(1,0,0)},Texture="rbxassetid://141116476",Transparency=NumberSequence.new(0.35,1),Lifetime=NumberRange.new(1,2),Rate=150,Speed=NumberRange.new(3)})
  349.  
  350. local KTrail = NewInstance("Trail",Knife,{
  351.     Attachment0=NewInstance("Attachment",Knife,{Position=V3.N(0,-.4,0)}),
  352.     Attachment1=NewInstance("Attachment",Knife,{Position=V3.N(0,1.2,0)}),
  353.     Color=CS(C3.N(1,0,0)),
  354.     Enabled=false,
  355.     Transparency=NumberSequence.new(0,1),
  356.     Lifetime=1.25,
  357. })
  358. local Hair = Part(Char,C3.N(0,0,0),Enum.Material.SmoothPlastic,V3.N(1,1,1),CF.N(),false,false)
  359. local HairMesh = Mesh(Hair,Enum.MeshType.FileMesh,"rbxassetid://250264520","rbxassetid://75975464",V3.N(1.05,1.05,1.05),V3.N())
  360.  
  361. NewInstance("PointLight",Knife,{Color=C3.N(1,0,0),Range=10,Brightness=3})
  362.  
  363.  
  364. Hum.DisplayDistanceType = 'None'
  365.  
  366. local naeeym2 = IN("BillboardGui",Char)
  367. naeeym2.AlwaysOnTop = true
  368. naeeym2.Size = UDim2.new(5,35,2,15)
  369. naeeym2.StudsOffset = V3.N(0,2.5,0)
  370. naeeym2.Adornee = Char.Head
  371. naeeym2.Name = "Name"
  372. naeeym2.PlayerToHideFrom = Plr
  373. local tecks2 = IN("TextLabel",naeeym2)
  374. tecks2.BackgroundTransparency = 1
  375. tecks2.TextScaled = true
  376. tecks2.BorderSizePixel = 0
  377. tecks2.Text = "Chara"
  378. tecks2.Font = Enum.Font.Bodoni
  379. tecks2.TextSize = 30
  380. tecks2.TextStrokeTransparency = 0
  381. tecks2.TextColor3 = C3.N(0,0,0)
  382. tecks2.TextStrokeColor3 = C3.N(.7,0,0)
  383. tecks2.Size = UDim2.new(1,0,0.5,0)
  384. tecks2.Parent = naeeym2
  385.  
  386.  
  387. IN("Shirt",Char)
  388. IN("Pants",Char)
  389.  
  390. Hum.WalkSpeed = WalkSpeed
  391. if(PlayerSize ~= 1)then
  392.     for _,v in next, Char:GetDescendats() do
  393.         if(v:IsA'BasePart')then
  394.             v.Size = v.Size * PlayerSize
  395.         end
  396.     end
  397. end
  398.  
  399.  
  400. for i = 1, 35 do
  401.     local FACE = Part(Char,C3.N(0,0,0),Enum.Material.Neon,V3.N(1.01,.5,1.01),CF.N(),false,false)
  402.     FACE.Transparency = 0+(i-1)/35.2
  403.     FACE.Name = 'ShadowFace'
  404.     Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  405.     NewInstance("Weld",Head,{Part0=Head,Part1=FACE,C0=CF.N(0,.35-(i-1)/75,0)})
  406.     --CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  407. end
  408.  
  409. local LEye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  410. local LEyeM = Mesh(LEye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  411. local LEyeW = NewInstance("Weld",LEye,{Part0=Head,Part1=LEye,C0=CF.N(-.2,.2,-.49)})
  412.  
  413. local REye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  414. local REyeM = Mesh(REye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  415. local REyeW = NewInstance("Weld",REye,{Part0=Head,Part1=REye,C0=CF.N(.2,.2,-.49)})
  416.  
  417.  
  418. pcall(function()
  419.     Char.LeftWing:destroy()
  420.     Char.ReaperShadowHead:destroy()
  421. end)
  422.  
  423.  
  424. local Music = Sound(Torso,MusicID,1,3,true,false,true)
  425. Music.Name = 'Music'
  426.  
  427. --// Stop animations \\--
  428. for _,v in next, Hum:GetPlayingAnimationTracks() do
  429.     v:Stop();
  430. end
  431.  
  432. pcall(game.Destroy,Char:FindFirstChild'Animate')
  433. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  434.  
  435. --// Joints \\--
  436.  
  437. 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)})
  438. 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)})
  439. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  440. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  441. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  442. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  443. local HW = NewInstance('Motor',Char,{Part0=RArm,Part1=Knife,C0=CF.N(0,-1,-1)*CF.A(M.R(-90),0,0)})
  444. local HW2 = NewInstance('Motor',Char,{Part0=Head,Part1=Hair,C0=CF.N(0,.25,0)})
  445.  
  446. local LSC0 = LS.C0
  447. local RSC0 = RS.C0
  448. local NKC0 = NK.C0
  449. local LHC0 = LH.C0
  450. local RHC0 = RH.C0
  451. local RJC0 = RJ.C0
  452.  
  453. --// Artificial HB \\--
  454.  
  455. local ArtificialHB = IN("BindableEvent", script)
  456. ArtificialHB.Name = "Heartbeat"
  457.  
  458. script:WaitForChild("Heartbeat")
  459.  
  460. local tf = 0
  461. local allowframeloss = false
  462. local tossremainder = false
  463. local lastframe = tick()
  464. local frame = 1/Frame_Speed
  465. ArtificialHB:Fire()
  466.  
  467. game:GetService("RunService").Heartbeat:connect(function(s, p)
  468.     tf = tf + s
  469.     if tf >= frame then
  470.         if allowframeloss then
  471.             script.Heartbeat:Fire()
  472.             lastframe = tick()
  473.         else
  474.             for i = 1, math.floor(tf / frame) do
  475.                 ArtificialHB:Fire()
  476.             end
  477.             lastframe = tick()
  478.         end
  479.         if tossremainder then
  480.             tf = 0
  481.         else
  482.             tf = tf - frame * math.floor(tf / frame)
  483.         end
  484.     end
  485. end)
  486.  
  487. function swait(num)
  488.     if num == 0 or num == nil then
  489.         ArtificialHB.Event:wait()
  490.     else
  491.         for i = 0, num do
  492.             ArtificialHB.Event:wait()
  493.         end
  494.     end
  495. end
  496.  
  497.  
  498. --// Effect Function(s) \\--
  499.  
  500. function Bezier(startpos, pos2, pos3, endpos, t)
  501.     local A = startpos:lerp(pos2, t)
  502.     local B  = pos2:lerp(pos3, t)
  503.     local C = pos3:lerp(endpos, t)
  504.     local lerp1 = A:lerp(B, t)
  505.     local lerp2 = B:lerp(C, t)
  506.     local cubic = lerp1:lerp(lerp2, t)
  507.     return cubic
  508. end
  509.  
  510. function Tween(obj,props,time,easing,direction,repeats,backwards)
  511.     local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  512.     local tween = S.TweenService:Create(obj, info, props)
  513.    
  514.     tween:Play()
  515. end
  516.  
  517. local FXTable = {}
  518.  
  519. coroutine.resume(coroutine.create(function()
  520.     while true do
  521.         for i = 1, #FXTable do
  522.             local data = FXTable[i]
  523.             if(data)then
  524.                 local Frame = data.Frame
  525.                 local FX = data.Effect or 'ResizeAndFade'
  526.                 local Parent = data.Parent or Effects
  527.                 local Color = data.Color or C3.N(0,0,0)
  528.                 local Size = data.Size or V3.N(1,1,1)
  529.                 local MoveDir = data.MoveDirection or nil
  530.                 local MeshData = data.Mesh or nil
  531.                 local SndData = data.Sound or nil
  532.                 local Frames = data.Frames or 45
  533.                 local CFra = data.CFrame or Torso.CFrame
  534.                 local Settings = data.FXSettings or {}
  535.                 local Prt,Msh,Snd = data.Part,data.Mesh,data.Sound
  536.                 local grow = data.Grow
  537.                
  538.                 local MoveSpeed = nil;
  539.                 if(MoveDir)then
  540.                     MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  541.                 end
  542.                 if(FX ~= 'Arc')then
  543.                     Frame = Frame + 1
  544.                     if(FX == "Fade")then
  545.                         Prt.Transparency  = (Frame/Frames)
  546.                     elseif(FX == "Resize")then
  547.                         if(not Settings.EndSize)then
  548.                             Settings.EndSize = V3.N(0,0,0)
  549.                         end
  550.                         if(Settings.EndIsIncrement)then
  551.                             if(Msh)then
  552.                                 Msh.Scale = Msh.Scale + Settings.EndSize
  553.                             else
  554.                                 Prt.Size = Prt.Size + Settings.EndSize
  555.                             end                
  556.                         else
  557.                             if(Msh)then
  558.                                 Msh.Scale = Msh.Scale - grow/Frames
  559.                             else
  560.                                 Prt.Size = Prt.Size - grow/Frames
  561.                             end
  562.                         end
  563.                     elseif(FX == "ResizeAndFade")then
  564.                         if(not Settings.EndSize)then
  565.                             Settings.EndSize = V3.N(0,0,0)
  566.                         end
  567.                         if(Settings.EndIsIncrement)then
  568.                             if(Msh)then
  569.                                 Msh.Scale = Msh.Scale + Settings.EndSize
  570.                             else
  571.                                 Prt.Size = Prt.Size + Settings.EndSize
  572.                             end                
  573.                         else
  574.                             if(Msh)then
  575.                                 Msh.Scale = Msh.Scale - grow/Frames
  576.                             else
  577.                                 Prt.Size = Prt.Size - grow/Frames
  578.                             end
  579.                         end
  580.                         Prt.Transparency = (Frame/Frames)
  581.                     end
  582.                     if(Settings.RandomizeCFrame)then
  583.                         Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  584.                     end
  585.                     if(MoveDir and MoveSpeed)then
  586.                         local Orientation = Prt.Orientation
  587.                         Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  588.                         Prt.Orientation = Orientation
  589.                     end
  590.                     if(Prt.Transparency >= 1 or Frame >= Frames)then
  591.                         Prt:destroy()
  592.                         table.remove(FXTable,i)
  593.                     else
  594.                         data.Frame = Frame
  595.                     end
  596.                 else
  597.                     local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  598.                     if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  599.                     if(start and endP)then
  600.                         local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  601.                         local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  602.                         Frame = Frame + (Settings.Speed or 0.01)
  603.                         if(Settings.Home)then
  604.                             endP = Settings.Home.CFrame
  605.                         end
  606.                         Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  607.                         if(Prt.Transparency >= 1 or Frame >= Frames)then
  608.                             if(Settings.RemoveOnGoal)then
  609.                                 Prt:destroy()
  610.                             end
  611.                         end
  612.                     else
  613.                         Prt:destroy()
  614.                     end
  615.                 end
  616.             end
  617.         end
  618.         swait()
  619.     end
  620. end))
  621.  
  622. function Effect(data)
  623.     local FX = data.Effect or 'ResizeAndFade'
  624.     local Parent = data.Parent or Effects
  625.     local Color = data.Color or C3.N(0,0,0)
  626.     local Size = data.Size or V3.N(1,1,1)
  627.     local MoveDir = data.MoveDirection or nil
  628.     local MeshData = data.Mesh or nil
  629.     local SndData = data.Sound or nil
  630.     local Frames = data.Frames or 45
  631.     local Manual = data.Manual or nil
  632.     local Material = data.Material or nil
  633.     local CFra = data.CFrame or Torso.CFrame
  634.     local Settings = data.FXSettings or {}
  635.     local Shape = data.Shape or Enum.PartType.Block
  636.     local Snd,Prt,Msh;
  637.     coroutine.wrap(function()
  638.         if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  639.             Prt = Manual
  640.         else
  641.             Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  642.             Prt.Shape = Shape
  643.         end
  644.         if(typeof(MeshData) == 'table')then
  645.             Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  646.         elseif(typeof(MeshData) == 'Instance')then
  647.             Msh = MeshData:Clone()
  648.             Msh.Parent = Prt
  649.         elseif(Shape == Enum.PartType.Block)then
  650.             Msh = Mesh(Prt,Enum.MeshType.Brick)
  651.         end
  652.         if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  653.             Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  654.         end
  655.         if(Snd)then
  656.             repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  657.             Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  658.         end
  659.         Size = (Msh and Msh.Scale or Size)
  660.         local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  661.        
  662.         local MoveSpeed = nil;
  663.         if(MoveDir)then
  664.             MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  665.         end
  666.         if(FX ~= 'Arc')then
  667.             for Frame = 1, Frames do
  668.                 if(FX == "Fade")then
  669.                     Prt.Transparency  = (Frame/Frames)
  670.                 elseif(FX == "Resize")then
  671.                     if(not Settings.EndSize)then
  672.                         Settings.EndSize = V3.N(0,0,0)
  673.                     end
  674.                     if(Settings.EndIsIncrement)then
  675.                         if(Msh)then
  676.                             Msh.Scale = Msh.Scale + Settings.EndSize
  677.                         else
  678.                             Prt.Size = Prt.Size + Settings.EndSize
  679.                         end                
  680.                     else
  681.                         if(Msh)then
  682.                             Msh.Scale = Msh.Scale - grow/Frames
  683.                         else
  684.                             Prt.Size = Prt.Size - grow/Frames
  685.                         end
  686.                     end
  687.                 elseif(FX == "ResizeAndFade")then
  688.                     if(not Settings.EndSize)then
  689.                         Settings.EndSize = V3.N(0,0,0)
  690.                     end
  691.                     if(Settings.EndIsIncrement)then
  692.                         if(Msh)then
  693.                             Msh.Scale = Msh.Scale + Settings.EndSize
  694.                         else
  695.                             Prt.Size = Prt.Size + Settings.EndSize
  696.                         end                
  697.                     else
  698.                         if(Msh)then
  699.                             Msh.Scale = Msh.Scale - grow/Frames
  700.                         else
  701.                             Prt.Size = Prt.Size - grow/Frames
  702.                         end
  703.                     end
  704.                     Prt.Transparency = (Frame/Frames)
  705.                 end
  706.                 if(Settings.RandomizeCFrame)then
  707.                     Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  708.                 end
  709.                 if(MoveDir and MoveSpeed)then
  710.                     local Orientation = Prt.Orientation
  711.                     Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  712.                     Prt.Orientation = Orientation
  713.                 end
  714.                 swait()
  715.             end
  716.             Prt:destroy()
  717.         else
  718.             local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  719.             if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  720.             if(start and endP)then
  721.                 local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  722.                 local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  723.                 for Frame = 0, 1, (Settings.Speed or 0.01) do
  724.                     if(Settings.Home)then
  725.                         endP = Settings.Home.CFrame
  726.                     end
  727.                     Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  728.                 end
  729.                 if(Settings.RemoveOnGoal)then
  730.                     Prt:destroy()
  731.                 end
  732.             else
  733.                 Prt:destroy()
  734.                 assert(start,"You need a start position!")
  735.                 assert(endP,"You need a start position!")
  736.             end
  737.         end
  738.     end)()
  739.     return Prt,Msh,Snd
  740. end
  741.  
  742.  
  743.  
  744. function SoulSteal(whom,human)
  745.     local torso = (whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart' or whom:FindFirstChild'Torso')
  746.     local succ, health, alive = pcall(function() return whom:FindFirstChildOfClass'Humanoid'.Health, whom:FindFirstChildOfClass'Humanoid'.Health > 0 end)
  747.     if(torso and torso:IsA'BasePart' and alive == true)then
  748.         whom:FindFirstChildOfClass'Humanoid'.Health = 0
  749.         whom:BreakJoints()
  750.         local Model = IN("Model",Effects)
  751.         warn('Soul stolen from '..whom.Name)
  752.         Model.Name = whom.Name.."'s Soul"
  753.         local Soul = Part(Model,(human and BrickColor.new'Really red' or BrickColor.new(C3.N(1,1,1))),'Glass',V3.N(1,1,1),torso.CFrame,true,false)
  754.         Soul.CanCollide=false
  755.         Mesh(Soul,Enum.MeshType.Sphere)
  756.         Soul.Name = 'Head'
  757.         if(whom.Name == 'CKbackup')then
  758.             Soul.Color = C3.N(1,1,1)
  759.             local DripEmitter = NewInstance("ParticleEmitter",Soul,{EmissionDirection='Bottom',Color=CS(Soul.Color),LightEmission=.5,LightInfluence=0,Size=NumberSequence.new(0.3),Texture="rbxassetid://243132757",Transparency=NumberSequence.new(0,1),LockedToPart=false,Lifetime=NumberRange.new(1),Rate=150,Speed=NumberRange.new(5)})
  760.         end
  761.         local Hoom = NewInstance("Humanoid",Model,{MaxHealth=(health <= 10000 and health/2 or 10000),Health=(health <= 10000 and health/2 or 10000)})
  762.         local AT0 = NewInstance("Attachment",Soul,{Position=V3.N(0,.5,0)})
  763.         local AT1 = NewInstance("Attachment",Soul,{Position=V3.N(0,-.5,0)})
  764.         local Trail = NewInstance("Trail",Soul,{Attachment0=AT0,Attachment1=AT1,Transparency=NumberSequence.new(0),FaceCamera = true,Texture="rbxassetid://945758042",LightEmission=.3,Color=CS(Soul.Color),Lifetime=.5,MinLength=0})
  765.         NewInstance("PointLight",Soul,{Color=Soul.Color,Range=10,Brightness=(human and 3 or .5)})
  766.        
  767.         local turdso = Soul:Clone()
  768.         turdso.Name = "Torso"
  769.         turdso.CanCollide = false
  770.         turdso.Anchored = true
  771.         turdso.CFrame = Soul.CFrame
  772.         turdso.Parent = Model
  773.         turdso.Size = V3.N()
  774.         turdso.Transparency=1
  775.         local Distance = math.huge
  776.         repeat
  777.             Soul.CFrame = CF.N(Soul.Position,Torso.Position)*CF.N(0,0,-1)
  778.             turdso.CFrame = Soul.CFrame
  779.             Distance = (Soul.CFrame.p-Torso.CFrame.p).magnitude
  780.             swait()
  781.         until Hoom.Health <= 0 or not Soul.Parent or Distance <= 1.2
  782.         if(Soul.Parent and Hoom.Health > 0)then
  783.             Model:destroy()
  784.             Effect{
  785.                 Effect="ResizeAndFade",
  786.                 Mesh={Enum.MeshType.Sphere},
  787.                 Color = Soul.Color,
  788.                 CFrame=Torso.CFrame,
  789.                 Size=V3.N(3,3,3),
  790.                 Material=Enum.Material.Neon,
  791.                 Sound={SoundId=444667859,Pitch=1,Volume=2.5},
  792.                 FXSettings={
  793.                     EndSize=V3.N(6,6,6),
  794.                 }
  795.             }
  796.             Souls = Souls + (human and 1 or .1)
  797.             warn("Souls: "..Souls)
  798.             MaxHealth = MaxHealth + Hoom.Health
  799.             Hum.Health = Hum.Health + Hoom.Health
  800.             for i = 1, 5 do
  801.                 Effect{
  802.                     Effect="Fade",
  803.                     Color = Soul.Color,
  804.                     MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  805.                 }  
  806.             end
  807.         else
  808.            
  809.             warn("Soul destroyed!")
  810.             for i = 1, 5 do
  811.                 Effect{
  812.                     Effect="Fade",
  813.                     Color = Soul.Color,
  814.                     CFrame=Soul.CFrame,
  815.                     MoveDirection = (Soul.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  816.                 }  
  817.             end
  818.             Effect{
  819.                 Effect="ResizeAndFade",
  820.                 Mesh={Enum.MeshType.Sphere},
  821.                 Sound={SoundId=444667859,Pitch=1,Volume=5},
  822.                 Color = Soul.Color,
  823.                 CFrame=Soul.CFrame,
  824.                 Size=V3.N(3,3,3),
  825.                 Material=Enum.Material.Neon,
  826.                 FXSettings={
  827.                     EndSize=V3.N(6,6,6),
  828.                 }
  829.             }
  830.             Model:destroy()
  831.         end
  832.     end
  833. end
  834.  
  835. --// Other Functions \\ --
  836.  
  837. function getRegion(point,range,ignore)
  838.     return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  839. end
  840.  
  841. function clerp(startCF,endCF,alpha)
  842.     return startCF:lerp(endCF, alpha)
  843. end
  844.  
  845. function GetTorso(char)
  846.     return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  847. end
  848.  
  849. function ShowDamage(Pos, Text, Time, Color)
  850.     coroutine.wrap(function()
  851.     local Rate = (1 / Frame_Speed)
  852.     local Pos = (Pos or Vector3.new(0, 0, 0))
  853.     local Text = (Text or "")
  854.     local Time = (Time or 2)
  855.     local Color = (Color or Color3.new(1, 0, 1))
  856.     local EffectPart = NewInstance("Part",Effects,{
  857.         Material=Enum.Material.SmoothPlastic,
  858.         Reflectance = 0,
  859.         Transparency = 1,
  860.         BrickColor = BrickColor.new(Color),
  861.         Name = "Effect",
  862.         Size = Vector3.new(0,0,0),
  863.         Anchored = true,
  864.         CFrame = CF.N(Pos)
  865.     })
  866.     local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  867.         Size = UDim2.new(1.25, 0, 1.25, 0),
  868.         Adornee = EffectPart,
  869.     })
  870.     local TextLabel = NewInstance("TextLabel",BillboardGui,{
  871.         BackgroundTransparency = 1,
  872.         Size = UDim2.new(1, 0, 1, 0),
  873.         Text = Text,
  874.         Font = "Arcade",
  875.         TextColor3 = Color,
  876.         TextStrokeColor3 = Color3.new(0,0,0),
  877.         TextStrokeTransparency=0,
  878.         TextScaled = true,
  879.     })
  880.     S.Debris:AddItem(EffectPart, (Time))
  881.     EffectPart.Parent = workspace
  882.     delay(0, function()
  883.         Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  884.         local Frames = (Time / Rate)
  885.         for Frame = 1, Frames do
  886.             swait()
  887.             local Percent = (Frame / Frames)
  888.             TextLabel.TextTransparency = Percent
  889.             TextLabel.TextStrokeTransparency = Percent
  890.         end
  891.         if EffectPart and EffectPart.Parent then
  892.             EffectPart:Destroy()
  893.         end
  894.     end) end)()
  895. end
  896.  
  897. function Kill(whom)
  898.     if(whom.Name ~= 'Nebula_Zorua')then
  899.         local isPlr = Plrs:GetPlayerFromCharacter(whom) ~= nil
  900.         coroutine.wrap(SoulSteal)(whom,isPlr)
  901.         for _,v in next, whom:children() do
  902.             if(v:IsA'BasePart')then
  903.                 v.Parent = Effects
  904.                 v:ClearAllChildren()
  905.                 v.Anchored = true
  906.                 v.CanCollide = false
  907.                 v.Transparency = 1
  908.                 local dust = NewInstance("ParticleEmitter",v,{
  909.                     Color = ColorSequence.new(C3.N(1,1,1)),
  910.                     LightEmission=0,
  911.                     LightInfluence=1,
  912.                     Size=NumberSequence.new{NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)},
  913.                     Texture="rbxassetid://284205403",
  914.                     Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
  915.                     Lifetime = NumberRange.new(1),
  916.                     Rate=150,
  917.                     Acceleration = V3.N(0,10,0),
  918.                     Speed = NumberRange.new(5),
  919.                     Enabled = true
  920.                 })
  921.                 delay(1, function()
  922.                     dust.Enabled = false
  923.                     S.Debris:AddItem(v,2)
  924.                 end)
  925.             end
  926.         end
  927.     else
  928.         warn"nope. nawt happenin'"
  929.     end
  930. end
  931.  
  932. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  933.     if(who)then
  934.         local hum = who:FindFirstChildOfClass'Humanoid'
  935.         local Damage = M.RNG(minDam,maxDam)
  936.         local canHit = true
  937.         if(hum)then
  938.             for _, p in pairs(Hit) do
  939.                 if p[1] == hum then
  940.                     if(time() - p[2] < 0.4) then
  941.                         canHit = false
  942.                     else
  943.                         Hit[_] = nil
  944.                     end
  945.                 end
  946.             end
  947.             if(canHit)then
  948.                 table.insert(Hit,{hum,time()})
  949.                 if(GetTorso(who))then
  950.                     Sound(GetTorso(who),406913243,1,10,false,true,true)
  951.                 end
  952.                 if(hum.Health >= math.huge)then
  953.                     Kill(who)
  954.                     if(who:FindFirstChild'Head' and hum.Health > 0)then
  955.                         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", 3, DamageColor.Color)
  956.                     end
  957.                 else
  958.                     local player = S.Players:GetPlayerFromCharacter(who)
  959.                     if(Type == "Fire")then
  960.                         --idk..
  961.                     else
  962.                         local  c = Instance.new("ObjectValue",hum)
  963.                         c.Name = "creator"
  964.                         c.Value = Plr
  965.                         game:service'Debris':AddItem(c,0.35)
  966.                         local Crit = false
  967.                         if(M.RNG(1,100) <= (critChance or 0) and critMult > 1)then
  968.                             Crit = true
  969.                             Damage = Damage*(critMult or 2)
  970.                         end
  971.                         Damage = Damage*((Souls/5)+1)
  972.                         if(who:FindFirstChild'Head' and hum.Health > 0)then
  973.                             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 and "[CRIT] " or "").. math.floor(Damage), 3, (Crit and BrickColor.new'New Yeller'.Color or DamageColor.Color))
  974.                         end
  975.                        
  976.                         if(hum.Health - Damage <= 0)then
  977.                             Kill(who)
  978.                         else
  979.                             hum.Health = hum.Health - Damage
  980.                             if(Type == 'Knockback' and GetTorso(who))then
  981.                                 local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  982.                                 local body = NewInstance('BodyVelocity',GetTorso(who),{
  983.                                     P = 500,
  984.                                     maxForce = V3.N(math.huge,0,math.huge),
  985.                                     velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  986.                                 })
  987.                                 game:service'Debris':AddItem(body,.5)
  988.                             elseif(Type == "Electric")then
  989.                                 if(M.RNG(1,100) >= critChance)then
  990.                                     if(who:FindFirstChild'Head' and hum.Health > 0)then
  991.                                         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]", 3, BrickColor.new"New Yeller".Color)
  992.                                     end
  993.                                     local asd = hum.WalkSpeed/2
  994.                                     hum.WalkSpeed = asd
  995.                                     local paralyzed = true
  996.                                     coroutine.wrap(function()
  997.                                         while paralyzed do
  998.                                             swait(25)
  999.                                             if(M.RNG(1,25) == 1)then
  1000.                                                 if(who:FindFirstChild'Head' and hum.Health > 0)then
  1001.                                                     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]", 3, BrickColor.new"New Yeller".Color)
  1002.                                                 end
  1003.                                                 hum.PlatformStand = true
  1004.                                             end
  1005.                                         end
  1006.                                     end)()
  1007.                                     delay(4, function()
  1008.                                         paralyzed = false
  1009.                                         hum.WalkSpeed = hum.WalkSpeed + asd
  1010.                                     end)
  1011.                                 end
  1012.                                
  1013.                             elseif(Type == 'Knockdown' and GetTorso(who))then
  1014.                                 local rek = GetTorso(who)
  1015.                                 hum.PlatformStand = true
  1016.                                 delay(1,function()
  1017.                                     hum.PlatformStand = false
  1018.                                 end)
  1019.                                 local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  1020.                                 local bodvol = NewInstance("BodyVelocity",rek,{
  1021.                                     velocity = angle * Knock,
  1022.                                     P = 5000,
  1023.                                     maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1024.                                 })
  1025.                                 local rl = NewInstance("BodyAngularVelocity",rek,{
  1026.                                     P = 3000,
  1027.                                     maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1028.                                     angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1029.                                 })
  1030.                                 game:GetService("Debris"):AddItem(bodvol, .5)
  1031.                                 game:GetService("Debris"):AddItem(rl, .5)
  1032.                             end
  1033.                         end
  1034.                     end
  1035.                 end
  1036.             end
  1037.         end
  1038.     end
  1039. end
  1040.  
  1041.  
  1042. function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult)
  1043.     for _,v in next, getRegion(where,range,{Char}) do
  1044.         if(v.Name ~= 'Nebula_Zorua')then
  1045.             if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  1046.                 DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult)
  1047.             end
  1048.         end
  1049.     end
  1050. end
  1051.  
  1052. function AOEKill(where,range)
  1053.     for _,v in next, getRegion(where,range,{Char,Effects}) do
  1054.         local succ,alive = pcall(function() return v.Parent:FindFirstChildOfClass'Humanoid'.Health > 0 end)
  1055.         if(v.Name ~= 'Nebula_Zorua')then
  1056.             if(v.Parent and alive == true)then
  1057.                 coroutine.wrap(Kill)(v.Parent)
  1058.             end
  1059.         end
  1060.     end
  1061. end
  1062.  
  1063. function AOEHeal(where,range,amount)
  1064.     local healed = {}
  1065.     for _,v in next, getRegion(where,range,{Char}) do
  1066.         local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  1067.         if(hum and not healed[hum])then
  1068.             hum.Health = hum.Health + amount
  1069.             if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  1070.                 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)
  1071.             end
  1072.         end
  1073.     end
  1074. end
  1075.  
  1076.  
  1077. --// Attack Functions \\--
  1078.  
  1079.  
  1080. function Slash()
  1081.     Attack = true
  1082.     NeutralAnims = false
  1083.     local sound = Sound(Knife,437475935,1,5,false,true,false)
  1084.     for i = 0, 2, 0.1 do
  1085.         swait()
  1086.         local Alpha = .2
  1087.         RJ.C0 = clerp(RJ.C0,CFrame.new(0.0343287587, 0.00629056804, 0.0572580174, 0.943793893, 0.00207689893, 0.330528289, 1.0000764e-06, 0.99998033, -0.00628630351, -0.330534875, 0.00593330665, 0.943775296),Alpha)
  1088.         LH.C0 = clerp(LH.C0,CFrame.new(-0.496478021, -0.990818381, 0.021652732, 0.999878168, 0, 0.0156089365, -9.80779296e-05, 0.99998033, 0.00628268253, -0.0156086385, -0.00628344761, 0.999858379),Alpha)
  1089.         RH.C0 = clerp(RH.C0,CFrame.new(0.498511612, -0.990985274, 0.0154910646, 0.999878168, 0, 0.0156089365, -9.80779296e-05, 0.99998033, 0.00628268253, -0.0156086385, -0.00628344761, 0.999858379),Alpha)
  1090.         LS.C0 = clerp(LS.C0,CFrame.new(-1.32692134, 0.474511296, -0.0055731535, 0.934981823, 0.354351997, 0.0156129003, -0.354479939, 0.93504262, 0.00628374517, -0.0123721063, -0.0114096552, 0.999858379),Alpha)
  1091.         RS.C0 = clerp(RS.C0,CFrame.new(1.12629449, 0.369358033, -0.486052871, 0.490151912, 0.65154773, 0.57899636, 0.721657813, 0.0691910982, -0.688783586, -0.488836735, 0.755445719, -0.436280251),Alpha)
  1092.         NK.C0 = clerp(NK.C0,CFrame.new(-0.0118216109, 1.49854016, -0.0795068145, 0.943793833, 0.0190048125, -0.329988182, 0.00207654224, 0.997985244, 0.0634154305, 0.330528468, -0.0605363287, 0.94185257),Alpha)
  1093.         HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1094.     end
  1095.     KTrail.Enabled = true
  1096.     sound:Play()
  1097.     for i = 0, 2.5, 0.1 do
  1098.         swait()
  1099.         AOEDamage(Knife.CFrame.p,1,15,30,0,"Normal",0,1)
  1100.         local Alpha = .25
  1101.         RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0352100767, 0.00629066909, -0.0097481478, 0.817972422, -0.00361463916, -0.575246274, -1.74103582e-06, 0.99998033, -0.00628598873, 0.575257719, 0.00514276745, 0.817956269),Alpha)
  1102.         LH.C0 = clerp(LH.C0,CFrame.new(-0.496478021, -0.990818381, 0.0216572341, 0.999878287, 0, 0.015610218, -9.80866607e-05, 0.99998033, 0.00628274865, -0.0156098902, -0.00628351374, 0.999858499),Alpha)
  1103.         RH.C0 = clerp(RH.C0,CFrame.new(0.498511702, -0.990985274, 0.0154905058, 0.999878287, 0, 0.015610218, -9.80866607e-05, 0.99998033, 0.00628274865, -0.0156098902, -0.00628351374, 0.999858499),Alpha)
  1104.         LS.C0 = clerp(LS.C0,CFrame.new(-1.32694602, 0.474510223, -0.00555660389, 0.934981823, 0.354351729, 0.0156157613, -0.354479671, 0.935042739, 0.00628153514, -0.012375474, -0.0114085823, 0.999858379),Alpha)
  1105.         RS.C0 = clerp(RS.C0,CFrame.new(1.23906493, 0.406229913, 0.00231830776, 0.49015066, -0.849889755, 0.193494052, 0.721655607, 0.520183682, 0.456752002, -0.488841236, -0.0842411816, 0.868295968),Alpha)
  1106.         NK.C0 = clerp(NK.C0,CFrame.new(0.0315471888, 1.49887729, -0.0257819965, 0.817972481, -0.0330747738, 0.574305832, -0.00361499586, 0.998030663, 0.0626262054, -0.575246155, -0.0533026271, 0.81624186),Alpha)
  1107.         HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1108.     end
  1109.     KTrail.Enabled = false
  1110.     Attack = false
  1111.     NeutralAnims = true
  1112. end
  1113.  
  1114. Mouse.Button1Down:connect(function()
  1115.     if(Attack)then return end
  1116.     Slash()
  1117. end)
  1118.  
  1119. Mouse.KeyDown:connect(function(k)
  1120.     if(Attack)then return end
  1121.     if(k == 'z')then AOEKill(Root.CFrame.p,25) end -- TODO: Animation and effects
  1122.     if(k == 'q')then WalkSpeed = (WalkSpeed == 8 and 32 or 8) end  
  1123. end)
  1124.  
  1125.  
  1126. function Refuse()
  1127.     Attack = true
  1128.     warn("B u t  i t  r e f u s e d.")
  1129.     local oMH = MaxHealth
  1130.     MaxHealth = "inf"
  1131.     Hum.MaxHealth = "inf"
  1132.     Hum.Health = "inf"
  1133.     Char.Parent = nil
  1134.     Hum:destroy()
  1135.     if(not _G.RefusedAnimation)then
  1136.         _G.RefusedAnimation = true
  1137.        
  1138.    
  1139.         local Soul;
  1140.         function Soul(where,decalId)
  1141.             local destroy = false  
  1142.             local soul = NewInstance("Part",workspace)
  1143.             soul.Name = "Soul"
  1144.             soul.Transparency=1
  1145.             soul.Size = V3.N(2,2,.05)
  1146.             soul.Anchored=true
  1147.             soul.CanCollide=false
  1148.             soul.CFrame = where
  1149.             local heartF = NewInstance("Decal",soul,{Face=Enum.NormalId.Front,Texture="rbxassetid://"..decalId})
  1150.             local heartB = NewInstance("Decal",soul,{Face=Enum.NormalId.Back,Texture="rbxassetid://"..decalId})
  1151.             return soul,heartF,heartB
  1152.         end
  1153.         local owo = Root.CFrame
  1154.         local s,f,b = Soul(owo,1569347904)
  1155.         swait(60)
  1156.         local snd = Sound(s,862552636,1,5,false,false,false)
  1157.         snd:Play()
  1158.         f.Texture = "rbxassetid://1569348344"
  1159.         b.Texture = "rbxassetid://1569348344"
  1160.         swait(15)
  1161.         snd:Stop()
  1162.         swait(60)
  1163.         print'lol'
  1164.         for i = 0, 6, .1 do
  1165.             swait()
  1166.             s.CFrame = owo * CF.N(M.RNG(-50,50)/100,M.RNG(-50,50)/100,M.RNG(-50,50)/100)
  1167.         end
  1168.         local snd = Sound(s,862552636,1,5,false,false,false)
  1169.         snd:Play()
  1170.         s.CFrame = owo
  1171.         f.Texture = "rbxassetid://1569347904"
  1172.         b.Texture = "rbxassetid://1569347904"
  1173.         swait(15)
  1174.         snd:Stop()
  1175.         swait(60)
  1176.    
  1177.         s:destroy()
  1178.     end
  1179.    
  1180.     RJ.Parent = Char
  1181.     LS.Parent = Char
  1182.     RS.Parent = Char
  1183.     LH.Parent = Char
  1184.     RH.Parent = Char
  1185.     NK.Parent = Char
  1186.    
  1187.     LArm.Parent = Char
  1188.     RArm.Parent = Char
  1189.     LLeg.Parent = Char
  1190.     LArm.Parent = Char
  1191.     Root.Parent = Char
  1192.     Torso.Parent = Char
  1193.     Head.Parent = Char
  1194.    
  1195.     Knife.Parent = Char
  1196.     Hair.Parent = Char
  1197.    
  1198.     HW.Parent = Char
  1199.     HW2.Parent = Char
  1200.    
  1201.  
  1202.     REye:destroy()
  1203.     LEye:destroy()
  1204.    
  1205.     for _,v in next, Char:children() do
  1206.         if(v.Name == 'ShadowFace')then v:destroy() end
  1207.     end
  1208.     LEye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  1209.     LEyeM = Mesh(LEye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  1210.     LEyeW = NewInstance("Weld",LEye,{Part0=Head,Part1=LEye,C0=CF.N(-.2,.2,-.49)})
  1211.    
  1212.     REye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  1213.     REyeM = Mesh(REye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  1214.     REyeW = NewInstance("Weld",REye,{Part0=Head,Part1=REye,C0=CF.N(.2,.2,-.49)})
  1215.     for i = 1, 35 do
  1216.         local FACE = Part(Char,C3.N(0,0,0),Enum.Material.Neon,V3.N(1.01,.5,1.01),CF.N(),false,false)
  1217.         FACE.Transparency = 0+(i-1)/35.2
  1218.         FACE.Name = 'ShadowFace'
  1219.         Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1220.         NewInstance("Weld",Head,{Part0=Head,Part1=FACE,C0=CF.N(0,.35-(i-1)/75,0)})
  1221.         --CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  1222.     end
  1223.     Hum = NewInstance("Humanoid",Char,{DisplayDistanceType='None'})
  1224.     ConnectHum()
  1225.     MaxHealth = oMH
  1226.     Hum.MaxHealth = MaxHealth
  1227.     Hum.Health = MaxHealth
  1228.     swait(5)
  1229.     Char.Parent = workspace
  1230.    
  1231.     Attack = false
  1232. end
  1233.  
  1234. function ConnectHum()
  1235.     Hum.Died:connect(Refuse)
  1236. end
  1237. ConnectHum()
  1238.  
  1239.  
  1240. --// Wrap it all up \\--
  1241. while true do
  1242.     swait()
  1243.     Sine = Sine + Change
  1244.     if(not Music)then
  1245.         Music = Sound(Torso,MusicID,1,3,true,false,true)
  1246.         Music.Name = 'Music'
  1247.     end
  1248.     Music.Pitch = 1
  1249.     Music.Volume = 5
  1250.     Music.SoundId = "rbxassetid://"..MusicID
  1251.     Music.Parent = Torso
  1252.     Music:Resume()
  1253.     local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * 4), Char)
  1254.     local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1255.     local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle")
  1256.     if(not Effects or not Effects.Parent)then
  1257.         Effects = IN("Model",Char)
  1258.         Effects.Name = "Effects"
  1259.     end
  1260.     Hum.WalkSpeed = WalkSpeed
  1261.     if(State == 'Walk')then
  1262.         if(Hum.WalkSpeed >= 24)then
  1263.             local wsVal = 22 / (Hum.WalkSpeed/16)
  1264.             local Alpha = math.min(.1 * (Hum.WalkSpeed/16),1)
  1265.             Change = 2
  1266.             RH.C1 = RH.C1:lerp(CF.N(0,1,0)*CF.N(0,0-.2*M.C(Sine/wsVal),0+.4*M.C(Sine/wsVal))*CF.A(M.R(25+45*M.C(Sine/wsVal))+-M.S(Sine/wsVal),0,0),Alpha)
  1267.             LH.C1 = LH.C1:lerp(CF.N(0,1,0)*CF.N(0,0+.2*M.C(Sine/wsVal),0-.4*M.C(Sine/wsVal))*CF.A(M.R(25-45*M.C(Sine/wsVal))+M.S(Sine/wsVal),0,0),Alpha)
  1268.         else
  1269.             Change = .9
  1270.             local wsVal = 8 / (Hum.WalkSpeed/8)
  1271.             local Alpha = math.min(.2 * (Hum.WalkSpeed/8),1)
  1272.             LH.C1 = LH.C1:lerp(CF.N(0,1-.2*M.C(Sine/wsVal)/2,.4*M.C(Sine/wsVal)/2)*CF.A(M.R(15-2*M.C(Sine/wsVal))-M.S(Sine/wsVal)/2.5,0,0)*CF.A(M.R(0-3*M.C(Sine/wsVal)),0,0),Alpha)
  1273.             RH.C1 = RH.C1:lerp(CF.N(0,1+.2*M.C(Sine/wsVal)/2,-.4*M.C(Sine/wsVal)/2)*CF.A(M.R(15+2*M.C(Sine/wsVal))+M.S(Sine/wsVal)/2.5,0,0)*CF.A(M.R(0+3*M.C(Sine/wsVal)),0,0),Alpha)
  1274.         end
  1275.     else
  1276.         RH.C1 = RH.C1:lerp(CF.N(0,1,0),.1)
  1277.         LH.C1 = LH.C1:lerp(CF.N(0,1,0),.1)
  1278.     end
  1279.     for _,v in next, Char:children() do
  1280.         if(v:IsA'Accessory')then
  1281.             v:destroy()
  1282.         elseif(v:IsA'Shirt')then
  1283.             v.ShirtTemplate = "rbxassetid://344089667"
  1284.         elseif(v:IsA'Pants')then
  1285.             v.PantsTemplate = "rbxassetid://344084364"
  1286.         elseif(v:IsA'CharacterMesh')then
  1287.             v:destroy()
  1288.         elseif(v:FindFirstChildOfClass'ShirtGraphic')then
  1289.             v:FindFirstChildOfClass'ShirtGraphic':destroy()
  1290.         end
  1291.     end
  1292.     local face = Head:FindFirstChild'face'
  1293.     if(not face)then
  1294.         NewInstance("Decal",Head,{Name='face',Face=Enum.NormalId.Front,Texture="rbxassetid://404306534"})
  1295.     else
  1296.         face.Texture = "rbxassetid://404306534"
  1297.     end
  1298.     RArm.BrickColor = BrickColor.new'Pastel brown'
  1299.     LArm.BrickColor = BrickColor.new'Pastel brown'
  1300.     RLeg.BrickColor = BrickColor.new'Pastel brown'
  1301.     LLeg.BrickColor = BrickColor.new'Pastel brown'
  1302.     Torso.BrickColor = BrickColor.new'Pastel brown'
  1303.     Head.BrickColor = BrickColor.new'Pastel brown'
  1304.     Hum.Name = 'Chara'
  1305.     if(Hum.MaxHealth ~= MaxHealth)then
  1306.         Hum.MaxHealth = MaxHealth
  1307.     end
  1308.     Hum.DisplayDistanceType='None'
  1309.     if(NeutralAnims)then   
  1310.         if(State == 'Idle')then
  1311.             Change = 1
  1312.             local Alpha = .1
  1313.             RJ.C0 = clerp(RJ.C0,CFrame.new(-0.0999571308, 0+.05*M.C(Sine/16), -0.237876296, 0.857335567, -0.00323621999, -0.514731407, 0, 0.99998033, -0.00628707698, 0.51474154, 0.00539013464, 0.85731858),Alpha)
  1314.             LH.C0 = clerp(LH.C0,CFrame.new(-0.536091685, -0.991042495-.05*M.C(Sine/16), -0.0134909991, 0.849195242, 0, 0.528063774, -0.00331997755, 0.99998033, 0.00533895614, -0.528053343, -0.00628707698, 0.849178433),Alpha)
  1315.             RH.C0 = clerp(RH.C0,CFrame.new(0.529067397, -0.991597891-.05*M.C(Sine/16), -0.0818087086, 0.849195242, 0, 0.528063774, -0.00331997755, 0.99998033, 0.00533895614, -0.528053343, -0.00628707698, 0.849178433),Alpha)
  1316.             LS.C0 = clerp(LS.C0,CFrame.new(-1.32175505, 0.156236127+.15*M.C(Sine/16), 0.233877867, 0.877554953, -0.456876248, 0.145469457, 0.259513229, 0.707695842, 0.657129884, -0.403175086, -0.538916171, 0.739607573),Alpha)
  1317.             RS.C0 = clerp(RS.C0,CFrame.new(1.2516855, 0.604915917+.15*M.C(Sine/16), -0.0189059302, 0.915104508, -0.287113011, -0.283108115, 0.301054537, 0.953587949, 0.00603589695, 0.268235415, -0.0907544345, 0.959069014),Alpha)
  1318.             NK.C0 = clerp(NK.C0,CFrame.new(1.79447234e-05, 1.49895597, -0.0143749639, 0.769539058, -0.360377938, 0.527197778, 0.387706369, 0.919646919, 0.0627188534, -0.507438183, 0.156133309, 0.847424924),Alpha)
  1319.             HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1320.             -- idle
  1321.         elseif(State == 'Walk')then
  1322.             if(Hum.WalkSpeed >= 24)then
  1323.                 local wsVal = 22 / (Hum.WalkSpeed/16)
  1324.                 local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  1325.                 RJ.C0 = RJ.C0:lerp(CF.N(0,0-.15*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-15),M.R(0-15*M.S(Sine/wsVal)/2),0),Alpha)
  1326.                 LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+45*M.S(Sine/wsVal)),0,M.R(-5+15*M.S(Sine/wsVal))),Alpha)
  1327.                 RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0+.3*M.S(Sine/wsVal))*CF.A(M.R(0-45*M.S(Sine/wsVal)),0,M.R(5+15*M.S(Sine/wsVal))),Alpha)
  1328.                 NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(15),0,0),Alpha)
  1329.                 LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.15*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(15),0,0),Alpha)
  1330.                 RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.15*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(15),0,0),Alpha)
  1331.                 HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1332.             else
  1333.                 local wsVal = 8 / (Hum.WalkSpeed/8)
  1334.                 local Alpha = math.min(.2 * (Hum.WalkSpeed/8),1)
  1335.                 RJ.C0 = RJ.C0:lerp(CF.N(0,0-.05*M.C(Sine/(wsVal/2)),0)*CF.A(0,M.R(0-5*M.S(Sine/wsVal)/2),0),Alpha)
  1336.                 LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0+.3*M.S(Sine/wsVal))*CF.A(M.R(0-25*M.S(Sine/wsVal)),0,M.R(5-5*M.S(Sine/wsVal))),Alpha)
  1337.                 RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+25*M.S(Sine/wsVal)),0,M.R(-5-5*M.S(Sine/wsVal))),Alpha)
  1338.                 NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1339.                 LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.05*M.C(Sine/(wsVal/2)),0),Alpha)
  1340.                 RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.05*M.C(Sine/(wsVal/2)),0),Alpha)
  1341.                 HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1342.             end
  1343.         elseif(State == 'Jump' or State == 'Fall')then
  1344.             if(Walking)then
  1345.                 local Alpha = .2
  1346.                 RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha)
  1347.                 LH.C0 = clerp(LH.C0,CFrame.new(-0.497912645, -1.0987643, -0.0683324337, 0.999878228, 0.00860835519, 0.0130246133, -0.00010142161, 0.837816596, -0.545952022, -0.015611981, 0.545884132, 0.837715328),Alpha)
  1348.                 RH.C0 = clerp(RH.C0,CFrame.new(0.499978393, -1.16382337, 0.109293163, 0.999878228, -0.0120433727, 0.00993486121, -0.00010142161, 0.631323814, 0.775519371, -0.015611981, -0.775425911, 0.631245613),Alpha)
  1349.                 LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha)
  1350.                 RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha)
  1351.                 NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha)
  1352.                 HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1353.             else
  1354.                 local Alpha = .2
  1355.                 RJ.C0 = clerp(RJ.C0,RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(65)),M.R(65)),0,0),Alpha)
  1356.                 LH.C0 = clerp(LH.C0,CFrame.new(-0.504374504, -0.291219354, -0.487436086, 0.999878228, -0.00438931212, 0.0149825988, -0.00010142161, 0.957819223, 0.287371844, -0.015611981, -0.287338346, 0.957701981),Alpha)
  1357.                 RH.C0 = clerp(RH.C0,CFrame.new(0.453094482, -0.871358454, 0.0898642987, 0.985589385, -0.168456957, 0.0153662469, 0.162863791, 0.969548643, 0.182895929, -0.0457084104, -0.177757636, 0.983012319),Alpha)
  1358.                 LS.C0 = clerp(LS.C0,CFrame.new(-1.55211556, 0.576563478, -0.00269976072, 0.976067662, 0.216906726, 0.0156116467, -0.217024669, 0.976145923, 0.00628317893, -0.0138763804, -0.00952091813, 0.999858499),Alpha)
  1359.                 RS.C0 = clerp(RS.C0,CFrame.new(1.50182188, 0.636661649, 0.00632623257, 0.977592707, -0.209926367, 0.0156121543, 0.209851891, 0.977713108, 0.00628198683, -0.016582964, -0.00286500831, 0.999858439),Alpha)
  1360.                 NK.C0 = clerp(NK.C0,CFrame.new(1.14440072e-05, 1.49924362, -0.0143961608, 1.00000024, -5.82076609e-11, 0, 1.23691279e-10, 0.997964919, 0.0637660474, 0, -0.0637660623, 0.997965038),Alpha)
  1361.                 HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1362.             end
  1363.         elseif(State == 'Paralyzed')then
  1364.             -- paralyzed
  1365.         elseif(State == 'Sit')then
  1366.             -- sit
  1367.         end
  1368.     end
  1369. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top