Advertisement
EARTHWORM_SALLY

e

Jan 10th, 2020
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7.     print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8.     script.Parent = Player.Character
  9.  
  10.     --RemoteEvent for communicating
  11.     local Event = Instance.new("RemoteEvent")
  12.     Event.Name = "UserInput_Event"
  13.  
  14.     --Fake event to make stuff like Mouse.KeyDown work
  15.     local function fakeEvent()
  16.         local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17.         t.connect = t.Connect
  18.         return t
  19.     end
  20.  
  21.     --Creating fake input objects with fake variables
  22.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26.     end}
  27.     --Merged 2 functions into one by checking amount of arguments
  28.     CAS.UnbindAction = CAS.BindAction
  29.  
  30.     --This function will trigger the events that have been :Connect()'ed
  31.    local function te(self,ev,...)
  32.        local t = m[ev]
  33.        if t and t._fakeEvent and t.Function then
  34.            t.Function(...)
  35.        end
  36.    end
  37.    m.TrigEvent = te
  38.    UIS.TrigEvent = te
  39.  
  40.    Event.OnServerEvent:Connect(function(plr,io)
  41.        if plr~=Player then return end
  42.        if io.isMouse then
  43.            m.Target = io.Target
  44.            m.Hit = io.Hit
  45.        else
  46.            local b = io.UserInputState == Enum.UserInputState.Begin
  47.            if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48.                return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49.            end
  50.            for _,t in pairs(CAS.Actions) do
  51.                for _,k in pairs(t.Keys) do
  52.                    if k==io.KeyCode then
  53.                        t.Function(t.Name,io.UserInputState,io)
  54.                    end
  55.                end
  56.            end
  57.            m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58.            UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59.        end
  60.    end)
  61.    Event.Parent = NLS([==[
  62.    local Player = game:GetService("Players").LocalPlayer
  63.    local Event = script:WaitForChild("UserInput_Event")
  64.  
  65.    local UIS = game:GetService("UserInputService")
  66.    local input = function(io,a)
  67.        if a then return end
  68.        --Since InputObject is a client-side instance, we create and pass table instead
  69.        Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70.    end
  71.    UIS.InputBegan:Connect(input)
  72.    UIS.InputEnded:Connect(input)
  73.  
  74.    Mouse = Player:GetMouse()
  75.    local h,t
  76.    --Give the server mouse data 30 times every second, but only if the values changed
  77.    --If player is not moving their mouse, client won't fire events
  78.     while wait(1/30) do
  79.         if h~=Mouse.Hit or t~=Mouse.Target then
  80.             h,t=Mouse.Hit,Mouse.Target
  81.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  82.         end
  83.     end]==],Player.Character)
  84.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. PRINT("E")
  88.  
  89.  
  90. -- Created by Nebula_Zorua --
  91. -- Your DeTERMINATION --
  92. -- Y o u  a c t  l i k e  y o u  h a v e  a  c h o i c e. =) --
  93. -- Discord: Nebula the Zorua#6969
  94. -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
  95.  
  96.  
  97. --// Initializing \\--
  98. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  99. local Plrs = S.Players
  100. Player = game:GetService(“Players”).LocalPlayer
  101. local Char = Plr.Character
  102. local Hum = Char:FindFirstChildOfClass'Humanoid'
  103. local RArm = Char["Right Arm"]
  104. local LArm = Char["Left Arm"]
  105. local RLeg = Char["Right Leg"]
  106. local LLeg = Char["Left Leg"]  
  107. local Root = Char:FindFirstChild'HumanoidRootPart'
  108. local Torso = Char.Torso
  109. local Head = Char.Head
  110. local NeutralAnims = true
  111. local Attack = false
  112. local BloodPuddles = {}
  113. local Effects = {}
  114. local Debounces = {Debounces={}}
  115. local Hit = {}
  116. local Sine = 0
  117. local Change = 1
  118. local Souls = 0
  119. --// Debounce System \\--
  120.  
  121.  
  122. function Debounces:New(name,cooldown)
  123.     local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  124.     setmetatable(aaaaa,{__index = Debounces})
  125.     Debounces.Debounces[name] = aaaaa
  126.     return aaaaa
  127. end
  128.  
  129. function Debounces:Use(overrideUsable)
  130.     assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  131.     if(self.Usable or overrideUsable)then
  132.         self.Usable = false
  133.         self.CoolingDown = true
  134.         local LastUse = time()
  135.         self.LastUse = LastUse
  136.         delay(self.Cooldown or 2,function()
  137.             if(self.LastUse == LastUse)then
  138.                 self.CoolingDown = false
  139.                 self.Usable = true
  140.             end
  141.         end)
  142.     end
  143. end
  144.  
  145. function Debounces:Get(name)
  146.     assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  147.     for i,v in next, Debounces.Debounces do
  148.         if(i == name)then
  149.             return v;
  150.         end
  151.     end
  152. end
  153.  
  154. function Debounces:GetProgressPercentage()
  155.     assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  156.     if(self.CoolingDown and not self.Usable)then
  157.         return math.max(
  158.             math.floor(
  159.                 (
  160.                     (time()-self.LastUse)/self.Cooldown or 2
  161.                 )*100
  162.             )
  163.         )
  164.     else
  165.         return 100
  166.     end
  167. end
  168.  
  169. --// Shortcut Variables \\--
  170. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  171. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  172. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  173. 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}
  174. local R3 = {N=Region3.new}
  175. local De = S.Debris
  176. local WS = workspace
  177. local Lght = S.Lighting
  178. local RepS = S.ReplicatedStorage
  179. local IN = Instance.new
  180. local CSK = ColorSequenceKeypoint.new
  181. local CS = ColorSequence.new
  182. --// Instance Creation Functions \\--
  183.  
  184. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  185.     local Sound = IN("Sound")
  186.     Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  187.     Sound.Pitch = pitch or 1
  188.     Sound.Volume = volume or 1
  189.     Sound.Looped = looped or false
  190.     if(autoPlay)then
  191.         coroutine.wrap(function()
  192.             repeat wait() until Sound.IsLoaded
  193.             Sound.Playing = autoPlay or false
  194.         end)()
  195.     end
  196.     if(not looped and effect)then
  197.         Sound.Stopped:connect(function()
  198.             Sound.Volume = 0
  199.             Sound:destroy()
  200.         end)
  201.     elseif(effect)then
  202.         warn("Sound can't be looped and a sound effect!")
  203.     end
  204.     Sound.Parent =parent or Torso
  205.     return Sound
  206. end
  207. function Part(parent,color,material,size,cframe,anchored,cancollide)
  208.     local part = IN("Part")
  209.     part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  210.     part.Material = (material or Enum.Material.SmoothPlastic)
  211.     part.TopSurface,part.BottomSurface=10,10
  212.     part.Size = (size or V3.N(1,1,1))
  213.     part.CFrame = (cframe or CF.N(0,0,0))
  214.     part.Anchored = (anchored or false)
  215.     part.CanCollide = (cancollide or false)
  216.     part.Parent = (parent or Char)
  217.     return part
  218. end
  219. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  220.     local part = IN("SpecialMesh")
  221.     part.MeshId = meshid or ""
  222.     part.TextureId = textid or ""
  223.     part.Scale = scale or V3.N(1,1,1)
  224.     part.Offset = offset or V3.N(0,0,0)
  225.     part.MeshType = meshtype or Enum.MeshType.Sphere
  226.     part.Parent = parent
  227.     return part
  228. end
  229.  
  230. NewInstance = function(instance,parent,properties)
  231.     local inst = Instance.new(instance,parent)
  232.     if(properties)then
  233.         for i,v in next, properties do
  234.             pcall(function() inst[i] = v end)
  235.         end
  236.     end
  237.     return inst;
  238. end
  239.  
  240.  
  241.  
  242. --// Extended ROBLOX tables \\--
  243. 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})
  244. --// Customization \\--
  245.  
  246. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  247. local Remove_Hats = false
  248. local Remove_Clothing = true
  249. local PlayerSize = 1
  250. local DamageColor = BrickColor.new'Really red'
  251. local MusicID = 935501955
  252. local WalkSpeed = 8
  253. local MaxSouls = 100
  254. local MaxHealth = 500
  255.  
  256.  
  257. if(_G.RefusedAnimation == nil) then _G.RefusedAnimation = false end
  258.  
  259. --// Weapon and GUI creation, and Character Customization \\--
  260.  
  261. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  262. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  263. local Effects = IN("Folder",Char)
  264. Effects.Name = "Effects"
  265.  
  266. Hum.MaxHealth = MaxHealth
  267. Hum.Health = MaxHealth
  268.  
  269. 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)})
  270. local KnifeMesh = Mesh(Knife,Enum.MeshType.FileMesh,"rbxassetid://121944778","rbxassetid://362719969",V3.N(1,1,1),V3.N())
  271. 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)})
  272. 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)})
  273.  
  274. local KTrail = NewInstance("Trail",Knife,{
  275.     Attachment0=NewInstance("Attachment",Knife,{Position=V3.N(0,-.4,0)}),
  276.     Attachment1=NewInstance("Attachment",Knife,{Position=V3.N(0,1.2,0)}),
  277.     Color=CS(C3.N(1,0,0)),
  278.     Enabled=false,
  279.     Transparency=NumberSequence.new(0,1),
  280.     Lifetime=1.25,
  281. })
  282. local Hair = Part(Char,C3.N(0,0,0),Enum.Material.SmoothPlastic,V3.N(1,1,1),CF.N(),false,false)
  283. local HairMesh = Mesh(Hair,Enum.MeshType.FileMesh,"rbxassetid://250264520","rbxassetid://75975464",V3.N(1.05,1.05,1.05),V3.N())
  284.  
  285. NewInstance("PointLight",Knife,{Color=C3.N(1,0,0),Range=10,Brightness=3})
  286.  
  287.  
  288. Hum.DisplayDistanceType = 'None'
  289.  
  290. local naeeym2 = IN("BillboardGui",Char)
  291. naeeym2.AlwaysOnTop = true
  292. naeeym2.Size = UDim2.new(5,35,2,15)
  293. naeeym2.StudsOffset = V3.N(0,2.5,0)
  294. naeeym2.Adornee = Char.Head
  295. naeeym2.Name = "Name"
  296. naeeym2.PlayerToHideFrom = Plr
  297. local tecks2 = IN("TextLabel",naeeym2)
  298. tecks2.BackgroundTransparency = 1
  299. tecks2.TextScaled = true
  300. tecks2.BorderSizePixel = 0
  301. tecks2.Text = "Chara"
  302. tecks2.Font = Enum.Font.Bodoni
  303. tecks2.TextSize = 30
  304. tecks2.TextStrokeTransparency = 0
  305. tecks2.TextColor3 = C3.N(0,0,0)
  306. tecks2.TextStrokeColor3 = C3.N(.7,0,0)
  307. tecks2.Size = UDim2.new(1,0,0.5,0)
  308. tecks2.Parent = naeeym2
  309.  
  310.  
  311. IN("Shirt",Char)
  312. IN("Pants",Char)
  313.  
  314. Hum.WalkSpeed = WalkSpeed
  315. if(PlayerSize ~= 1)then
  316.     for _,v in next, Char:GetDescendats() do
  317.         if(v:IsA'BasePart')then
  318.             v.Size = v.Size * PlayerSize
  319.         end
  320.     end
  321. end
  322.  
  323.  
  324. for i = 1, 35 do
  325.     local FACE = Part(Char,C3.N(0,0,0),Enum.Material.Neon,V3.N(1.01,.5,1.01),CF.N(),false,false)
  326.     FACE.Transparency = 0+(i-1)/35.2
  327.     FACE.Name = 'ShadowFace'
  328.     Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  329.     NewInstance("Weld",Head,{Part0=Head,Part1=FACE,C0=CF.N(0,.35-(i-1)/75,0)})
  330.     --CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  331. end
  332.  
  333. local LEye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  334. local LEyeM = Mesh(LEye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  335. local LEyeW = NewInstance("Weld",LEye,{Part0=Head,Part1=LEye,C0=CF.N(-.2,.2,-.49)})
  336.  
  337. local REye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  338. local REyeM = Mesh(REye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  339. local REyeW = NewInstance("Weld",REye,{Part0=Head,Part1=REye,C0=CF.N(.2,.2,-.49)})
  340.  
  341.  
  342. pcall(function()
  343.     Char.LeftWing:destroy()
  344.     Char.ReaperShadowHead:destroy()
  345. end)
  346.  
  347.  
  348. local Music = Sound(Torso,MusicID,1,3,true,false,true)
  349. Music.Name = 'Music'
  350.  
  351. --// Stop animations \\--
  352. for _,v in next, Hum:GetPlayingAnimationTracks() do
  353.     v:Stop();
  354. end
  355.  
  356. pcall(game.Destroy,Char:FindFirstChild'Animate')
  357. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  358.  
  359. --// Joints \\--
  360.  
  361. 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)})
  362. 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)})
  363. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  364. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  365. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  366. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  367. local HW = NewInstance('Motor',Char,{Part0=RArm,Part1=Knife,C0=CF.N(0,-1,-1)*CF.A(M.R(-90),0,0)})
  368. local HW2 = NewInstance('Motor',Char,{Part0=Head,Part1=Hair,C0=CF.N(0,.25,0)})
  369.  
  370. local LSC0 = LS.C0
  371. local RSC0 = RS.C0
  372. local NKC0 = NK.C0
  373. local LHC0 = LH.C0
  374. local RHC0 = RH.C0
  375. local RJC0 = RJ.C0
  376.  
  377. --// Artificial HB \\--
  378.  
  379. local ArtificialHB = IN("BindableEvent", script)
  380. ArtificialHB.Name = "Heartbeat"
  381.  
  382. script:WaitForChild("Heartbeat")
  383.  
  384. local tf = 0
  385. local allowframeloss = false
  386. local tossremainder = false
  387. local lastframe = tick()
  388. local frame = 1/Frame_Speed
  389. ArtificialHB:Fire()
  390.  
  391. game:GetService("RunService").Heartbeat:connect(function(s, p)
  392.     tf = tf + s
  393.     if tf >= frame then
  394.         if allowframeloss then
  395.             script.Heartbeat:Fire()
  396.             lastframe = tick()
  397.         else
  398.             for i = 1, math.floor(tf / frame) do
  399.                 ArtificialHB:Fire()
  400.             end
  401.             lastframe = tick()
  402.         end
  403.         if tossremainder then
  404.             tf = 0
  405.         else
  406.             tf = tf - frame * math.floor(tf / frame)
  407.         end
  408.     end
  409. end)
  410.  
  411. function swait(num)
  412.     if num == 0 or num == nil then
  413.         ArtificialHB.Event:wait()
  414.     else
  415.         for i = 0, num do
  416.             ArtificialHB.Event:wait()
  417.         end
  418.     end
  419. end
  420.  
  421.  
  422. --// Effect Function(s) \\--
  423.  
  424. function Bezier(startpos, pos2, pos3, endpos, t)
  425.     local A = startpos:lerp(pos2, t)
  426.     local B  = pos2:lerp(pos3, t)
  427.     local C = pos3:lerp(endpos, t)
  428.     local lerp1 = A:lerp(B, t)
  429.     local lerp2 = B:lerp(C, t)
  430.     local cubic = lerp1:lerp(lerp2, t)
  431.     return cubic
  432. end
  433.  
  434. function Tween(obj,props,time,easing,direction,repeats,backwards)
  435.     local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  436.     local tween = S.TweenService:Create(obj, info, props)
  437.    
  438.     tween:Play()
  439. end
  440.  
  441. local FXTable = {}
  442.  
  443. coroutine.resume(coroutine.create(function()
  444.     while true do
  445.         for i = 1, #FXTable do
  446.             local data = FXTable[i]
  447.             if(data)then
  448.                 local Frame = data.Frame
  449.                 local FX = data.Effect or 'ResizeAndFade'
  450.                 local Parent = data.Parent or Effects
  451.                 local Color = data.Color or C3.N(0,0,0)
  452.                 local Size = data.Size or V3.N(1,1,1)
  453.                 local MoveDir = data.MoveDirection or nil
  454.                 local MeshData = data.Mesh or nil
  455.                 local SndData = data.Sound or nil
  456.                 local Frames = data.Frames or 45
  457.                 local CFra = data.CFrame or Torso.CFrame
  458.                 local Settings = data.FXSettings or {}
  459.                 local Prt,Msh,Snd = data.Part,data.Mesh,data.Sound
  460.                 local grow = data.Grow
  461.                
  462.                 local MoveSpeed = nil;
  463.                 if(MoveDir)then
  464.                     MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  465.                 end
  466.                 if(FX ~= 'Arc')then
  467.                     Frame = Frame + 1
  468.                     if(FX == "Fade")then
  469.                         Prt.Transparency  = (Frame/Frames)
  470.                     elseif(FX == "Resize")then
  471.                         if(not Settings.EndSize)then
  472.                             Settings.EndSize = V3.N(0,0,0)
  473.                         end
  474.                         if(Settings.EndIsIncrement)then
  475.                             if(Msh)then
  476.                                 Msh.Scale = Msh.Scale + Settings.EndSize
  477.                             else
  478.                                 Prt.Size = Prt.Size + Settings.EndSize
  479.                             end                
  480.                         else
  481.                             if(Msh)then
  482.                                 Msh.Scale = Msh.Scale - grow/Frames
  483.                             else
  484.                                 Prt.Size = Prt.Size - grow/Frames
  485.                             end
  486.                         end
  487.                     elseif(FX == "ResizeAndFade")then
  488.                         if(not Settings.EndSize)then
  489.                             Settings.EndSize = V3.N(0,0,0)
  490.                         end
  491.                         if(Settings.EndIsIncrement)then
  492.                             if(Msh)then
  493.                                 Msh.Scale = Msh.Scale + Settings.EndSize
  494.                             else
  495.                                 Prt.Size = Prt.Size + Settings.EndSize
  496.                             end                
  497.                         else
  498.                             if(Msh)then
  499.                                 Msh.Scale = Msh.Scale - grow/Frames
  500.                             else
  501.                                 Prt.Size = Prt.Size - grow/Frames
  502.                             end
  503.                         end
  504.                         Prt.Transparency = (Frame/Frames)
  505.                     end
  506.                     if(Settings.RandomizeCFrame)then
  507.                         Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  508.                     end
  509.                     if(MoveDir and MoveSpeed)then
  510.                         local Orientation = Prt.Orientation
  511.                         Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  512.                         Prt.Orientation = Orientation
  513.                     end
  514.                     if(Prt.Transparency >= 1 or Frame >= Frames)then
  515.                         Prt:destroy()
  516.                         table.remove(FXTable,i)
  517.                     else
  518.                         data.Frame = Frame
  519.                     end
  520.                 else
  521.                     local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  522.                     if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  523.                     if(start and endP)then
  524.                         local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  525.                         local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  526.                         Frame = Frame + (Settings.Speed or 0.01)
  527.                         if(Settings.Home)then
  528.                             endP = Settings.Home.CFrame
  529.                         end
  530.                         Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  531.                         if(Prt.Transparency >= 1 or Frame >= Frames)then
  532.                             if(Settings.RemoveOnGoal)then
  533.                                 Prt:destroy()
  534.                             end
  535.                         end
  536.                     else
  537.                         Prt:destroy()
  538.                     end
  539.                 end
  540.             end
  541.         end
  542.         swait()
  543.     end
  544. end))
  545.  
  546. function Effect(data)
  547.     local FX = data.Effect or 'ResizeAndFade'
  548.     local Parent = data.Parent or Effects
  549.     local Color = data.Color or C3.N(0,0,0)
  550.     local Size = data.Size or V3.N(1,1,1)
  551.     local MoveDir = data.MoveDirection or nil
  552.     local MeshData = data.Mesh or nil
  553.     local SndData = data.Sound or nil
  554.     local Frames = data.Frames or 45
  555.     local Manual = data.Manual or nil
  556.     local Material = data.Material or nil
  557.     local CFra = data.CFrame or Torso.CFrame
  558.     local Settings = data.FXSettings or {}
  559.     local Shape = data.Shape or Enum.PartType.Block
  560.     local Snd,Prt,Msh;
  561.     coroutine.wrap(function()
  562.         if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  563.             Prt = Manual
  564.         else
  565.             Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  566.             Prt.Shape = Shape
  567.         end
  568.         if(typeof(MeshData) == 'table')then
  569.             Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  570.         elseif(typeof(MeshData) == 'Instance')then
  571.             Msh = MeshData:Clone()
  572.             Msh.Parent = Prt
  573.         elseif(Shape == Enum.PartType.Block)then
  574.             Msh = Mesh(Prt,Enum.MeshType.Brick)
  575.         end
  576.         if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  577.             Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  578.         end
  579.         if(Snd)then
  580.             repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  581.             Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  582.         end
  583.         Size = (Msh and Msh.Scale or Size)
  584.         local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  585.        
  586.         local MoveSpeed = nil;
  587.         if(MoveDir)then
  588.             MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  589.         end
  590.         if(FX ~= 'Arc')then
  591.             for Frame = 1, Frames do
  592.                 if(FX == "Fade")then
  593.                     Prt.Transparency  = (Frame/Frames)
  594.                 elseif(FX == "Resize")then
  595.                     if(not Settings.EndSize)then
  596.                         Settings.EndSize = V3.N(0,0,0)
  597.                     end
  598.                     if(Settings.EndIsIncrement)then
  599.                         if(Msh)then
  600.                             Msh.Scale = Msh.Scale + Settings.EndSize
  601.                         else
  602.                             Prt.Size = Prt.Size + Settings.EndSize
  603.                         end                
  604.                     else
  605.                         if(Msh)then
  606.                             Msh.Scale = Msh.Scale - grow/Frames
  607.                         else
  608.                             Prt.Size = Prt.Size - grow/Frames
  609.                         end
  610.                     end
  611.                 elseif(FX == "ResizeAndFade")then
  612.                     if(not Settings.EndSize)then
  613.                         Settings.EndSize = V3.N(0,0,0)
  614.                     end
  615.                     if(Settings.EndIsIncrement)then
  616.                         if(Msh)then
  617.                             Msh.Scale = Msh.Scale + Settings.EndSize
  618.                         else
  619.                             Prt.Size = Prt.Size + Settings.EndSize
  620.                         end                
  621.                     else
  622.                         if(Msh)then
  623.                             Msh.Scale = Msh.Scale - grow/Frames
  624.                         else
  625.                             Prt.Size = Prt.Size - grow/Frames
  626.                         end
  627.                     end
  628.                     Prt.Transparency = (Frame/Frames)
  629.                 end
  630.                 if(Settings.RandomizeCFrame)then
  631.                     Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  632.                 end
  633.                 if(MoveDir and MoveSpeed)then
  634.                     local Orientation = Prt.Orientation
  635.                     Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  636.                     Prt.Orientation = Orientation
  637.                 end
  638.                 swait()
  639.             end
  640.             Prt:destroy()
  641.         else
  642.             local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  643.             if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  644.             if(start and endP)then
  645.                 local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  646.                 local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  647.                 for Frame = 0, 1, (Settings.Speed or 0.01) do
  648.                     if(Settings.Home)then
  649.                         endP = Settings.Home.CFrame
  650.                     end
  651.                     Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  652.                 end
  653.                 if(Settings.RemoveOnGoal)then
  654.                     Prt:destroy()
  655.                 end
  656.             else
  657.                 Prt:destroy()
  658.                 assert(start,"You need a start position!")
  659.                 assert(endP,"You need a start position!")
  660.             end
  661.         end
  662.     end)()
  663.     return Prt,Msh,Snd
  664. end
  665.  
  666.  
  667.  
  668. function SoulSteal(whom,human)
  669.     local torso = (whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart' or whom:FindFirstChild'Torso')
  670.     local succ, health, alive = pcall(function() return whom:FindFirstChildOfClass'Humanoid'.Health, whom:FindFirstChildOfClass'Humanoid'.Health > 0 end)
  671.     if(torso and torso:IsA'BasePart' and alive == true)then
  672.         whom:FindFirstChildOfClass'Humanoid'.Health = 0
  673.         whom:BreakJoints()
  674.         local Model = IN("Model",Effects)
  675.         warn('Soul stolen from '..whom.Name)
  676.         Model.Name = whom.Name.."'s Soul"
  677.         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)
  678.         Soul.CanCollide=false
  679.         Mesh(Soul,Enum.MeshType.Sphere)
  680.         Soul.Name = 'Head'
  681.         if(whom.Name == 'CKbackup')then
  682.             Soul.Color = C3.N(1,1,1)
  683.             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)})
  684.         end
  685.         local Hoom = NewInstance("Humanoid",Model,{MaxHealth=(health <= 10000 and health/2 or 10000),Health=(health <= 10000 and health/2 or 10000)})
  686.         local AT0 = NewInstance("Attachment",Soul,{Position=V3.N(0,.5,0)})
  687.         local AT1 = NewInstance("Attachment",Soul,{Position=V3.N(0,-.5,0)})
  688.         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})
  689.         NewInstance("PointLight",Soul,{Color=Soul.Color,Range=10,Brightness=(human and 3 or .5)})
  690.        
  691.         local turdso = Soul:Clone()
  692.         turdso.Name = "Torso"
  693.         turdso.CanCollide = false
  694.         turdso.Anchored = true
  695.         turdso.CFrame = Soul.CFrame
  696.         turdso.Parent = Model
  697.         turdso.Size = V3.N()
  698.         turdso.Transparency=1
  699.         local Distance = math.huge
  700.         repeat
  701.             Soul.CFrame = CF.N(Soul.Position,Torso.Position)*CF.N(0,0,-1)
  702.             turdso.CFrame = Soul.CFrame
  703.             Distance = (Soul.CFrame.p-Torso.CFrame.p).magnitude
  704.             swait()
  705.         until Hoom.Health <= 0 or not Soul.Parent or Distance <= 1.2
  706.         if(Soul.Parent and Hoom.Health > 0)then
  707.             Model:destroy()
  708.             Effect{
  709.                 Effect="ResizeAndFade",
  710.                 Mesh={Enum.MeshType.Sphere},
  711.                 Color = Soul.Color,
  712.                 CFrame=Torso.CFrame,
  713.                 Size=V3.N(3,3,3),
  714.                 Material=Enum.Material.Neon,
  715.                 Sound={SoundId=444667859,Pitch=1,Volume=2.5},
  716.                 FXSettings={
  717.                     EndSize=V3.N(6,6,6),
  718.                 }
  719.             }
  720.             Souls = Souls + (human and 1 or .1)
  721.             warn("Souls: "..Souls)
  722.             MaxHealth = MaxHealth + Hoom.Health
  723.             Hum.Health = Hum.Health + Hoom.Health
  724.             for i = 1, 5 do
  725.                 Effect{
  726.                     Effect="Fade",
  727.                     Color = Soul.Color,
  728.                     MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  729.                 }  
  730.             end
  731.         else
  732.            
  733.             warn("Soul destroyed!")
  734.             for i = 1, 5 do
  735.                 Effect{
  736.                     Effect="Fade",
  737.                     Color = Soul.Color,
  738.                     CFrame=Soul.CFrame,
  739.                     MoveDirection = (Soul.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  740.                 }  
  741.             end
  742.             Effect{
  743.                 Effect="ResizeAndFade",
  744.                 Mesh={Enum.MeshType.Sphere},
  745.                 Sound={SoundId=444667859,Pitch=1,Volume=5},
  746.                 Color = Soul.Color,
  747.                 CFrame=Soul.CFrame,
  748.                 Size=V3.N(3,3,3),
  749.                 Material=Enum.Material.Neon,
  750.                 FXSettings={
  751.                     EndSize=V3.N(6,6,6),
  752.                 }
  753.             }
  754.             Model:destroy()
  755.         end
  756.     end
  757. end
  758.  
  759. --// Other Functions \\ --
  760.  
  761. function getRegion(point,range,ignore)
  762.     return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  763. end
  764.  
  765. function clerp(startCF,endCF,alpha)
  766.     return startCF:lerp(endCF, alpha)
  767. end
  768.  
  769. function GetTorso(char)
  770.     return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  771. end
  772.  
  773. function ShowDamage(Pos, Text, Time, Color)
  774.     coroutine.wrap(function()
  775.     local Rate = (1 / Frame_Speed)
  776.     local Pos = (Pos or Vector3.new(0, 0, 0))
  777.     local Text = (Text or "")
  778.     local Time = (Time or 2)
  779.     local Color = (Color or Color3.new(1, 0, 1))
  780.     local EffectPart = NewInstance("Part",Effects,{
  781.         Material=Enum.Material.SmoothPlastic,
  782.         Reflectance = 0,
  783.         Transparency = 1,
  784.         BrickColor = BrickColor.new(Color),
  785.         Name = "Effect",
  786.         Size = Vector3.new(0,0,0),
  787.         Anchored = true,
  788.         CFrame = CF.N(Pos)
  789.     })
  790.     local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  791.         Size = UDim2.new(1.25, 0, 1.25, 0),
  792.         Adornee = EffectPart,
  793.     })
  794.     local TextLabel = NewInstance("TextLabel",BillboardGui,{
  795.         BackgroundTransparency = 1,
  796.         Size = UDim2.new(1, 0, 1, 0),
  797.         Text = Text,
  798.         Font = "Arcade",
  799.         TextColor3 = Color,
  800.         TextStrokeColor3 = Color3.new(0,0,0),
  801.         TextStrokeTransparency=0,
  802.         TextScaled = true,
  803.     })
  804.     S.Debris:AddItem(EffectPart, (Time))
  805.     EffectPart.Parent = workspace
  806.     delay(0, function()
  807.         Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  808.         local Frames = (Time / Rate)
  809.         for Frame = 1, Frames do
  810.             swait()
  811.             local Percent = (Frame / Frames)
  812.             TextLabel.TextTransparency = Percent
  813.             TextLabel.TextStrokeTransparency = Percent
  814.         end
  815.         if EffectPart and EffectPart.Parent then
  816.             EffectPart:Destroy()
  817.         end
  818.     end) end)()
  819. end
  820.  
  821. function Kill(whom)
  822.     if(whom.Name ~= 'Nebula_Zorua')then
  823.         local isPlr = Plrs:GetPlayerFromCharacter(whom) ~= nil
  824.         coroutine.wrap(SoulSteal)(whom,isPlr)
  825.         for _,v in next, whom:children() do
  826.             if(v:IsA'BasePart')then
  827.                 v.Parent = Effects
  828.                 v:ClearAllChildren()
  829.                 v.Anchored = true
  830.                 v.CanCollide = false
  831.                 v.Transparency = 1
  832.                 local dust = NewInstance("ParticleEmitter",v,{
  833.                     Color = ColorSequence.new(C3.N(1,1,1)),
  834.                     LightEmission=0,
  835.                     LightInfluence=1,
  836.                     Size=NumberSequence.new{NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)},
  837.                     Texture="rbxassetid://284205403",
  838.                     Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)},
  839.                     Lifetime = NumberRange.new(1),
  840.                     Rate=150,
  841.                     Acceleration = V3.N(0,10,0),
  842.                     Speed = NumberRange.new(5),
  843.                     Enabled = true
  844.                 })
  845.                 delay(1, function()
  846.                     dust.Enabled = false
  847.                     S.Debris:AddItem(v,2)
  848.                 end)
  849.             end
  850.         end
  851.     else
  852.         warn"nope. nawt happenin'"
  853.     end
  854. end
  855.  
  856. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  857.     if(who)then
  858.         local hum = who:FindFirstChildOfClass'Humanoid'
  859.         local Damage = M.RNG(minDam,maxDam)
  860.         local canHit = true
  861.         if(hum)then
  862.             for _, p in pairs(Hit) do
  863.                 if p[1] == hum then
  864.                     if(time() - p[2] < 0.4) then
  865.                         canHit = false
  866.                     else
  867.                         Hit[_] = nil
  868.                     end
  869.                 end
  870.             end
  871.             if(canHit)then
  872.                 table.insert(Hit,{hum,time()})
  873.                 if(GetTorso(who))then
  874.                     Sound(GetTorso(who),406913243,1,10,false,true,true)
  875.                 end
  876.                 if(hum.Health >= math.huge)then
  877.                     Kill(who)
  878.                     if(who:FindFirstChild'Head' and hum.Health > 0)then
  879.                         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)
  880.                     end
  881.                 else
  882.                     local player = S.Players:GetPlayerFromCharacter(who)
  883.                     if(Type == "Fire")then
  884.                         --idk..
  885.                     else
  886.                         local  c = Instance.new("ObjectValue",hum)
  887.                         c.Name = "creator"
  888.                         c.Value = Plr
  889.                         game:service'Debris':AddItem(c,0.35)
  890.                         local Crit = false
  891.                         if(M.RNG(1,100) <= (critChance or 0) and critMult > 1)then
  892.                             Crit = true
  893.                             Damage = Damage*(critMult or 2)
  894.                         end
  895.                         Damage = Damage*((Souls/5)+1)
  896.                         if(who:FindFirstChild'Head' and hum.Health > 0)then
  897.                             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))
  898.                         end
  899.                        
  900.                         if(hum.Health - Damage <= 0)then
  901.                             Kill(who)
  902.                         else
  903.                             hum.Health = hum.Health - Damage
  904.                             if(Type == 'Knockback' and GetTorso(who))then
  905.                                 local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  906.                                 local body = NewInstance('BodyVelocity',GetTorso(who),{
  907.                                     P = 500,
  908.                                     maxForce = V3.N(math.huge,0,math.huge),
  909.                                     velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  910.                                 })
  911.                                 game:service'Debris':AddItem(body,.5)
  912.                             elseif(Type == "Electric")then
  913.                                 if(M.RNG(1,100) >= critChance)then
  914.                                     if(who:FindFirstChild'Head' and hum.Health > 0)then
  915.                                         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)
  916.                                     end
  917.                                     local asd = hum.WalkSpeed/2
  918.                                     hum.WalkSpeed = asd
  919.                                     local paralyzed = true
  920.                                     coroutine.wrap(function()
  921.                                         while paralyzed do
  922.                                             swait(25)
  923.                                             if(M.RNG(1,25) == 1)then
  924.                                                 if(who:FindFirstChild'Head' and hum.Health > 0)then
  925.                                                     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)
  926.                                                 end
  927.                                                 hum.PlatformStand = true
  928.                                             end
  929.                                         end
  930.                                     end)()
  931.                                     delay(4, function()
  932.                                         paralyzed = false
  933.                                         hum.WalkSpeed = hum.WalkSpeed + asd
  934.                                     end)
  935.                                 end
  936.                                
  937.                             elseif(Type == 'Knockdown' and GetTorso(who))then
  938.                                 local rek = GetTorso(who)
  939.                                 hum.PlatformStand = true
  940.                                 delay(1,function()
  941.                                     hum.PlatformStand = false
  942.                                 end)
  943.                                 local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  944.                                 local bodvol = NewInstance("BodyVelocity",rek,{
  945.                                     velocity = angle * Knock,
  946.                                     P = 5000,
  947.                                     maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  948.                                 })
  949.                                 local rl = NewInstance("BodyAngularVelocity",rek,{
  950.                                     P = 3000,
  951.                                     maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  952.                                     angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  953.                                 })
  954.                                 game:GetService("Debris"):AddItem(bodvol, .5)
  955.                                 game:GetService("Debris"):AddItem(rl, .5)
  956.                             end
  957.                         end
  958.                     end
  959.                 end
  960.             end
  961.         end
  962.     end
  963. end
  964.  
  965.  
  966. function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult)
  967.     for _,v in next, getRegion(where,range,{Char}) do
  968.         if(v.Name ~= 'Nebula_Zorua')then
  969.             if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  970.                 DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult)
  971.             end
  972.         end
  973.     end
  974. end
  975.  
  976. function AOEKill(where,range)
  977.     for _,v in next, getRegion(where,range,{Char,Effects}) do
  978.         local succ,alive = pcall(function() return v.Parent:FindFirstChildOfClass'Humanoid'.Health > 0 end)
  979.         if(v.Name ~= 'Nebula_Zorua')then
  980.             if(v.Parent and alive == true)then
  981.                 coroutine.wrap(Kill)(v.Parent)
  982.             end
  983.         end
  984.     end
  985. end
  986.  
  987. function AOEHeal(where,range,amount)
  988.     local healed = {}
  989.     for _,v in next, getRegion(where,range,{Char}) do
  990.         local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  991.         if(hum and not healed[hum])then
  992.             hum.Health = hum.Health + amount
  993.             if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  994.                 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)
  995.             end
  996.         end
  997.     end
  998. end
  999.  
  1000.  
  1001. --// Attack Functions \\--
  1002.  
  1003.  
  1004. function Slash()
  1005.     Attack = true
  1006.     NeutralAnims = false
  1007.     local sound = Sound(Knife,437475935,1,5,false,true,false)
  1008.     for i = 0, 2, 0.1 do
  1009.         swait()
  1010.         local Alpha = .2
  1011.         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)
  1012.         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)
  1013.         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)
  1014.         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)
  1015.         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)
  1016.         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)
  1017.         HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1018.     end
  1019.     KTrail.Enabled = true
  1020.     sound:Play()
  1021.     for i = 0, 2.5, 0.1 do
  1022.         swait()
  1023.         AOEDamage(Knife.CFrame.p,1,15,30,0,"Normal",0,1)
  1024.         local Alpha = .25
  1025.         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)
  1026.         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)
  1027.         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)
  1028.         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)
  1029.         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)
  1030.         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)
  1031.         HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1032.     end
  1033.     KTrail.Enabled = false
  1034.     Attack = false
  1035.     NeutralAnims = true
  1036. end
  1037.  
  1038. Mouse.Button1Down:connect(function()
  1039.     if(Attack)then return end
  1040.     Slash()
  1041. end)
  1042.  
  1043. Mouse.KeyDown:connect(function(k)
  1044.     if(Attack)then return end
  1045.     if(k == 'z')then AOEKill(Root.CFrame.p,25) end -- TODO: Animation and effects
  1046.     if(k == 'q')then WalkSpeed = (WalkSpeed == 8 and 32 or 8) end  
  1047. end)
  1048.  
  1049.  
  1050. function Refuse()
  1051.     Attack = true
  1052.     warn("B u t  i t  r e f u s e d.")
  1053.     local oMH = MaxHealth
  1054.     MaxHealth = "inf"
  1055.     Hum.MaxHealth = "inf"
  1056.     Hum.Health = "inf"
  1057.     Char.Parent = nil
  1058.     Hum:destroy()
  1059.     if(not _G.RefusedAnimation)then
  1060.         _G.RefusedAnimation = true
  1061.        
  1062.    
  1063.         local Soul;
  1064.         function Soul(where,decalId)
  1065.             local destroy = false  
  1066.             local soul = NewInstance("Part",workspace)
  1067.             soul.Name = "Soul"
  1068.             soul.Transparency=1
  1069.             soul.Size = V3.N(2,2,.05)
  1070.             soul.Anchored=true
  1071.             soul.CanCollide=false
  1072.             soul.CFrame = where
  1073.             local heartF = NewInstance("Decal",soul,{Face=Enum.NormalId.Front,Texture="rbxassetid://"..decalId})
  1074.             local heartB = NewInstance("Decal",soul,{Face=Enum.NormalId.Back,Texture="rbxassetid://"..decalId})
  1075.             return soul,heartF,heartB
  1076.         end
  1077.         local owo = Root.CFrame
  1078.         local s,f,b = Soul(owo,1569347904)
  1079.         swait(60)
  1080.         local snd = Sound(s,862552636,1,5,false,false,false)
  1081.         snd:Play()
  1082.         f.Texture = "rbxassetid://1569348344"
  1083.         b.Texture = "rbxassetid://1569348344"
  1084.         swait(15)
  1085.         snd:Stop()
  1086.         swait(60)
  1087.         print'lol'
  1088.         for i = 0, 6, .1 do
  1089.             swait()
  1090.             s.CFrame = owo * CF.N(M.RNG(-50,50)/100,M.RNG(-50,50)/100,M.RNG(-50,50)/100)
  1091.         end
  1092.         local snd = Sound(s,862552636,1,5,false,false,false)
  1093.         snd:Play()
  1094.         s.CFrame = owo
  1095.         f.Texture = "rbxassetid://1569347904"
  1096.         b.Texture = "rbxassetid://1569347904"
  1097.         swait(15)
  1098.         snd:Stop()
  1099.         swait(60)
  1100.    
  1101.         s:destroy()
  1102.     end
  1103.    
  1104.     RJ.Parent = Char
  1105.     LS.Parent = Char
  1106.     RS.Parent = Char
  1107.     LH.Parent = Char
  1108.     RH.Parent = Char
  1109.     NK.Parent = Char
  1110.    
  1111.     LArm.Parent = Char
  1112.     RArm.Parent = Char
  1113.     LLeg.Parent = Char
  1114.     LArm.Parent = Char
  1115.     Root.Parent = Char
  1116.     Torso.Parent = Char
  1117.     Head.Parent = Char
  1118.    
  1119.     Knife.Parent = Char
  1120.     Hair.Parent = Char
  1121.    
  1122.     HW.Parent = Char
  1123.     HW2.Parent = Char
  1124.    
  1125.  
  1126.     REye:destroy()
  1127.     LEye:destroy()
  1128.    
  1129.     for _,v in next, Char:children() do
  1130.         if(v.Name == 'ShadowFace')then v:destroy() end
  1131.     end
  1132.     LEye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  1133.     LEyeM = Mesh(LEye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  1134.     LEyeW = NewInstance("Weld",LEye,{Part0=Head,Part1=LEye,C0=CF.N(-.2,.2,-.49)})
  1135.    
  1136.     REye = Part(Char,C3.N(1,0,0),Enum.Material.Neon,V3.N(.15,.25,.2),CF.N(),false,false)
  1137.     REyeM = Mesh(REye,Enum.MeshType.Sphere,"","",V3.N(1,1,1),V3.N())
  1138.     REyeW = NewInstance("Weld",REye,{Part0=Head,Part1=REye,C0=CF.N(.2,.2,-.49)})
  1139.     for i = 1, 35 do
  1140.         local FACE = Part(Char,C3.N(0,0,0),Enum.Material.Neon,V3.N(1.01,.5,1.01),CF.N(),false,false)
  1141.         FACE.Transparency = 0+(i-1)/35.2
  1142.         FACE.Name = 'ShadowFace'
  1143.         Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1144.         NewInstance("Weld",Head,{Part0=Head,Part1=FACE,C0=CF.N(0,.35-(i-1)/75,0)})
  1145.         --CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  1146.     end
  1147.     Hum = NewInstance("Humanoid",Char,{DisplayDistanceType='None'})
  1148.     ConnectHum()
  1149.     MaxHealth = oMH
  1150.     Hum.MaxHealth = MaxHealth
  1151.     Hum.Health = MaxHealth
  1152.     swait(5)
  1153.     Char.Parent = workspace
  1154.    
  1155.     Attack = false
  1156. end
  1157.  
  1158. function ConnectHum()
  1159.     Hum.Died:connect(Refuse)
  1160. end
  1161. ConnectHum()
  1162.  
  1163.  
  1164. --// Wrap it all up \\--
  1165. while true do
  1166.     swait()
  1167.     Sine = Sine + Change
  1168.     if(not Music)then
  1169.         Music = Sound(Torso,MusicID,1,3,true,false,true)
  1170.         Music.Name = 'Music'
  1171.     end
  1172.     Music.Pitch = 1
  1173.     Music.Volume = 5
  1174.     Music.SoundId = "rbxassetid://"..MusicID
  1175.     Music.Parent = Torso
  1176.     Music:Resume()
  1177.     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)
  1178.     local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1179.     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")
  1180.     if(not Effects or not Effects.Parent)then
  1181.         Effects = IN("Model",Char)
  1182.         Effects.Name = "Effects"
  1183.     end
  1184.     Hum.WalkSpeed = WalkSpeed
  1185.     if(State == 'Walk')then
  1186.         if(Hum.WalkSpeed >= 24)then
  1187.             local wsVal = 22 / (Hum.WalkSpeed/16)
  1188.             local Alpha = math.min(.1 * (Hum.WalkSpeed/16),1)
  1189.             Change = 2
  1190.             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)
  1191.             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)
  1192.         else
  1193.             Change = .9
  1194.             local wsVal = 8 / (Hum.WalkSpeed/8)
  1195.             local Alpha = math.min(.2 * (Hum.WalkSpeed/8),1)
  1196.             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)
  1197.             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)
  1198.         end
  1199.     else
  1200.         RH.C1 = RH.C1:lerp(CF.N(0,1,0),.1)
  1201.         LH.C1 = LH.C1:lerp(CF.N(0,1,0),.1)
  1202.     end
  1203.     for _,v in next, Char:children() do
  1204.         if(v:IsA'Accessory')then
  1205.             v:destroy()
  1206.         elseif(v:IsA'Shirt')then
  1207.             v.ShirtTemplate = "rbxassetid://344089667"
  1208.         elseif(v:IsA'Pants')then
  1209.             v.PantsTemplate = "rbxassetid://344084364"
  1210.         elseif(v:IsA'CharacterMesh')then
  1211.             v:destroy()
  1212.         elseif(v:FindFirstChildOfClass'ShirtGraphic')then
  1213.             v:FindFirstChildOfClass'ShirtGraphic':destroy()
  1214.         end
  1215.     end
  1216.     local face = Head:FindFirstChild'face'
  1217.     if(not face)then
  1218.         NewInstance("Decal",Head,{Name='face',Face=Enum.NormalId.Front,Texture="rbxassetid://404306534"})
  1219.     else
  1220.         face.Texture = "rbxassetid://404306534"
  1221.     end
  1222.     RArm.BrickColor = BrickColor.new'Pastel brown'
  1223.     LArm.BrickColor = BrickColor.new'Pastel brown'
  1224.     RLeg.BrickColor = BrickColor.new'Pastel brown'
  1225.     LLeg.BrickColor = BrickColor.new'Pastel brown'
  1226.     Torso.BrickColor = BrickColor.new'Pastel brown'
  1227.     Head.BrickColor = BrickColor.new'Pastel brown'
  1228.     Hum.Name = 'Chara'
  1229.     if(Hum.MaxHealth ~= MaxHealth)then
  1230.         Hum.MaxHealth = MaxHealth
  1231.     end
  1232.     Hum.DisplayDistanceType='None'
  1233.     if(NeutralAnims)then   
  1234.         if(State == 'Idle')then
  1235.             Change = 1
  1236.             local Alpha = .1
  1237.             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)
  1238.             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)
  1239.             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)
  1240.             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)
  1241.             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)
  1242.             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)
  1243.             HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1244.             -- idle
  1245.         elseif(State == 'Walk')then
  1246.             if(Hum.WalkSpeed >= 24)then
  1247.                 local wsVal = 22 / (Hum.WalkSpeed/16)
  1248.                 local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  1249.                 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)
  1250.                 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)
  1251.                 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)
  1252.                 NK.C0 = NK.C0:lerp(NKC0*CF.A(M.R(15),0,0),Alpha)
  1253.                 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)
  1254.                 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)
  1255.                 HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1256.             else
  1257.                 local wsVal = 8 / (Hum.WalkSpeed/8)
  1258.                 local Alpha = math.min(.2 * (Hum.WalkSpeed/8),1)
  1259.                 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)
  1260.                 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)
  1261.                 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)
  1262.                 NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1263.                 LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.05*M.C(Sine/(wsVal/2)),0),Alpha)
  1264.                 RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.05*M.C(Sine/(wsVal/2)),0),Alpha)
  1265.                 HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1266.             end
  1267.         elseif(State == 'Jump' or State == 'Fall')then
  1268.             if(Walking)then
  1269.                 local Alpha = .2
  1270.                 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)
  1271.                 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)
  1272.                 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)
  1273.                 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)
  1274.                 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)
  1275.                 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)
  1276.                 HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1277.             else
  1278.                 local Alpha = .2
  1279.                 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)
  1280.                 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)
  1281.                 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)
  1282.                 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)
  1283.                 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)
  1284.                 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)
  1285.                 HW.C0 = HW.C0:lerp(CF.N(0,-1,-1)*CF.A(M.R(-90),0,0),Alpha)
  1286.             end
  1287.         elseif(State == 'Paralyzed')then
  1288.             -- paralyzed
  1289.         elseif(State == 'Sit')then
  1290.             -- sit
  1291.         end
  1292.     end
  1293. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement