Advertisement
idkwhatiam

hug

May 23rd, 2019
540
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 63.67 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  2. do
  3.     script.Parent = owner.Character
  4.     local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5.     local function NewFakeEvent()
  6.         local Bind = Instance.new("BindableEvent")
  7.         local Fake;Fake = {Connections = {},
  8.         fakeEvent=true;
  9.         Connect=function(self,Func)
  10.             Bind.Event:connect(Func)
  11.             self.Connections[Bind] = true
  12.             return setmetatable({Connected = true},{
  13.             __index = function (self,Index)
  14.                 if Index:lower() == "disconnect" then
  15.                     return function() Fake.Connections[Bind] = false;self.Connected = false end
  16.                 end
  17.                 return Fake[Index]
  18.             end;
  19.             __tostring = function() return "Connection" end;
  20.         })
  21.         end}
  22.         Fake.connect = Fake.Connect;return Fake;
  23.     end
  24.     local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25.     local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26.     local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27.         self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28.     end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29.     local function TriggerEvent(self,Event,...)
  30.         local Trigger = Mouse[Event]
  31.         if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32.             for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33.         end
  34.     end
  35.     Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36.     Event.OnServerEvent:Connect(function(FiredBy,Input)
  37.         if FiredBy.Name ~= owner.Name then return end
  38.         if Input.MouseEvent then
  39.             Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40.         else
  41.             local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42.             if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43.             for _,Action in pairs(ContextActionService.Actions) do
  44.                 for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45.             end
  46.             Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47.             UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48.         end
  49.     end)
  50.     InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51.     Event.Parent = NLS([[
  52.         local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53.         local Input = function(Input,gameProcessedEvent)
  54.             if gameProcessedEvent then return end
  55.             Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56.         end
  57.         UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58.         local Hit,Target
  59.         while wait(1/30) do
  60.             if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61.                 Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62.             end
  63.         end
  64.     ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67.     __index = function (self,Index)
  68.         local Sandbox = function (Thing)
  69.             if Thing:IsA("Player") then
  70.                 local RealPlayer = Thing
  71.                 return setmetatable({},{
  72.                     __index = function (self,Index)
  73.                         local Type = type(RealPlayer[Index])
  74.                         if Type == "function" then
  75.                             if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76.                                 return function (self)return InternalData["Mouse"] end
  77.                             end
  78.                             return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79.                         end
  80.                         return RealPlayer[Index]
  81.                     end;
  82.                     __tostring = function(self) return RealPlayer.Name end
  83.                 })
  84.             end
  85.         end
  86.         if RealGame[Index] then
  87.             local Type = type(RealGame[Index])
  88.             if Type == "function" then
  89.                 if Index:lower() == "getservice" or Index:lower() == "service" then
  90.                     return function (self,Service)
  91.                         local FakeServices = {
  92.                             ["players"] = function()
  93.                                 return setmetatable({},{
  94.                                     __index = function (self2,Index2)
  95.                                         local RealService = RealGame:GetService(Service)
  96.                                         local Type2 = type(Index2)
  97.                                         if Type2 == "function" then
  98.                                             return function (self,...) return RealService[Index2](RealService,...)end
  99.                                         else
  100.                                             if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101.                                             return RealService[Index2]
  102.                                         end
  103.                                     end;
  104.                                     __tostring = function(self) return RealGame:GetService(Service).Name end
  105.                                 })
  106.                             end;
  107.                             ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108.                             ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109.                             ["runservice"] = function()
  110.                                 return setmetatable({},{
  111.                                     __index = function(self2,Index2)
  112.                                         local RealService = RealGame:GetService(Service)
  113.                                         local Type2 = type(Index2)
  114.                                         if Type2 == "function" then
  115.                                             return function (self,...) return RealService[Index2](RealService,...) end
  116.                                         else
  117.                                             local RunServices = {
  118.                                                 ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119.                                                 ["renderstepped"] = function() return RealService["Stepped"] end
  120.                                             }
  121.                                             if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122.                                             return RealService[Index2]
  123.                                         end
  124.                                     end
  125.                                 })
  126.                             end
  127.                         }
  128.                         if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129.                         return RealGame:GetService(Service)
  130.                     end
  131.                 end
  132.                 return function (self,...) return RealGame[Index](RealGame,...) end
  133.             else
  134.                 if game:GetService(Index) then return game:GetService(Index) end
  135.                 return RealGame[Index]
  136.             end
  137.         end
  138.         return nil
  139.     end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141.  
  142. -- Created by Nebula_Zorua --
  143. -- Furry V3 --
  144. -- You made me do this.. ;c --
  145. -- Discord: Nebula the Zorua#6969
  146. -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
  147.  
  148.  
  149.  
  150. --// Shortcut Variables \\--
  151. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  152. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  153. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  154. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  155. 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}
  156. local R3 = {N=Region3.new}
  157. local De = S.Debris
  158. local WS = workspace
  159. local Lght = S.Lighting
  160. local RepS = S.ReplicatedStorage
  161. local IN = Instance.new
  162. local Plrs = S.Players
  163.  
  164. --// Initializing \\--
  165. local Plr = Plrs.LocalPlayer
  166. local Char = Plr.Character
  167. local Hum = Char:FindFirstChildOfClass'Humanoid'
  168. local RArm = Char["Right Arm"]
  169. local LArm = Char["Left Arm"]
  170. local RLeg = Char["Right Leg"]
  171. local LLeg = Char["Left Leg"]  
  172. local Root = Char:FindFirstChild'HumanoidRootPart'
  173. local Torso = Char.Torso
  174. local Head = Char.Head
  175. local NeutralAnims = true
  176. local Attack = false
  177. local Debounces = {Debounces={}}
  178. local Mouse = Plr:GetMouse()
  179. local Hit = {}
  180. local Sine = 0
  181. local Change = 1
  182.  
  183. local Stance = 0
  184. local Claws = false
  185.  
  186. local Effects = IN("Folder",Char)
  187. Effects.Name = "Effects"
  188.  
  189. local Huggled = Char:FindFirstChild'Huggled'
  190. if(not Huggled or not Huggled:IsA'BoolValue')then
  191.     Huggled = IN("BoolValue",Char)
  192.     Huggled.Value = false
  193.     Huggled.Name = 'Huggled'
  194. end
  195. local Kissed = Char:FindFirstChild'Kissed'
  196. if(not Kissed or not Kissed:IsA'BoolValue')then
  197.     Kissed = IN("BoolValue",Char)
  198.     Kissed.Value = false
  199.     Kissed.Name = 'Kissed'
  200. end
  201.  
  202. --// Debounce System \\--
  203.  
  204.  
  205. function Debounces:New(name,cooldown)
  206.     local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  207.     setmetatable(aaaaa,{__index = Debounces})
  208.     Debounces.Debounces[name] = aaaaa
  209.     return aaaaa
  210. end
  211.  
  212. function Debounces:Use(overrideUsable)
  213.     assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  214.     if(self.Usable or overrideUsable)then
  215.         self.Usable = false
  216.         self.CoolingDown = true
  217.         local LastUse = time()
  218.         self.LastUse = LastUse
  219.         delay(self.Cooldown or 2,function()
  220.             if(self.LastUse == LastUse)then
  221.                 self.CoolingDown = false
  222.                 self.Usable = true
  223.             end
  224.         end)
  225.     end
  226. end
  227.  
  228. function Debounces:Get(name)
  229.     assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  230.     for i,v in next, Debounces.Debounces do
  231.         if(i == name)then
  232.             return v;
  233.         end
  234.     end
  235. end
  236.  
  237. function Debounces:GetProgressPercentage()
  238.     assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  239.     if(self.CoolingDown and not self.Usable)then
  240.         return math.max(
  241.             math.floor(
  242.                 (
  243.                     (time()-self.LastUse)/self.Cooldown or 2
  244.                 )*100
  245.             )
  246.         )
  247.     else
  248.         return 100
  249.     end
  250. end
  251.  
  252. --// Instance Creation Functions \\--
  253.  
  254. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  255.     local Sound = IN("Sound")
  256.     Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  257.     Sound.Pitch = pitch or 1
  258.     Sound.Volume = volume or 1
  259.     Sound.Looped = looped or false
  260.     if(autoPlay)then
  261.         coroutine.wrap(function()
  262.             repeat wait() until Sound.IsLoaded
  263.             Sound.Playing = autoPlay or false
  264.         end)()
  265.     end
  266.     if(not looped and effect)then
  267.         Sound.Stopped:connect(function()
  268.             Sound.Volume = 0
  269.             Sound:destroy()
  270.         end)
  271.     elseif(effect)then
  272.         warn("Sound can't be looped and a sound effect!")
  273.     end
  274.     Sound.Parent =parent or Torso
  275.     return Sound
  276. end
  277. function Part(parent,color,material,size,cframe,anchored,cancollide)
  278.     local part = IN("Part")
  279.     part.Parent = parent or Char
  280.     part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  281.     part.Material = material or Enum.Material.SmoothPlastic
  282.     part.TopSurface,part.BottomSurface=10,10
  283.     part.Size = size or V3.N(1,1,1)
  284.     part.CFrame = cframe or CF.N(0,0,0)
  285.     part.CanCollide = cancollide or false
  286.     part.Anchored = anchored or false
  287.     return part
  288. end
  289.  
  290. function Weld(part0,part1,c0,c1)
  291.     local weld = IN("Weld")
  292.     weld.Parent = part0
  293.     weld.Part0 = part0
  294.     weld.Part1 = part1
  295.     weld.C0 = c0 or CF.N()
  296.     weld.C1 = c1 or CF.N()
  297.     return weld
  298. end
  299.  
  300. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  301.     local part = IN("SpecialMesh")
  302.     part.MeshId = meshid or ""
  303.     part.TextureId = textid or ""
  304.     part.Scale = scale or V3.N(1,1,1)
  305.     part.Offset = offset or V3.N(0,0,0)
  306.     part.MeshType = meshtype or Enum.MeshType.Sphere
  307.     part.Parent = parent
  308.     return part
  309. end
  310.  
  311. NewInstance = function(instance,parent,properties)
  312.     local inst = Instance.new(instance)
  313.     inst.Parent = parent
  314.     if(properties)then
  315.         for i,v in next, properties do
  316.             pcall(function() inst[i] = v end)
  317.         end
  318.     end
  319.     return inst;
  320. end
  321.  
  322. function Clone(instance,parent,properties)
  323.     local inst = instance:Clone()
  324.     inst.Parent = parent
  325.     if(properties)then
  326.         for i,v in next, properties do
  327.             pcall(function() inst[i] = v end)
  328.         end
  329.     end
  330.     return inst;
  331. end
  332.  
  333. function SoundPart(id,pitch,volume,looped,effect,autoPlay,cf)
  334.     local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()})
  335.     local Sound = IN("Sound")
  336.     Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  337.     Sound.Pitch = pitch or 1
  338.     Sound.Volume = volume or 1
  339.     Sound.Looped = looped or false
  340.     if(autoPlay)then
  341.         coroutine.wrap(function()
  342.             repeat wait() until Sound.IsLoaded
  343.             Sound.Playing = autoPlay or false
  344.         end)()
  345.     end
  346.     if(not looped and effect)then
  347.         Sound.Stopped:connect(function()
  348.             Sound.Volume = 0
  349.             soundPart:destroy()
  350.         end)
  351.     elseif(effect)then
  352.         warn("Sound can't be looped and a sound effect!")
  353.     end
  354.     Sound.Parent = soundPart
  355.     return Sound
  356. end
  357.  
  358.  
  359. --// Extended ROBLOX tables \\--
  360. 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})
  361. --// Require stuff \\--
  362. function CamShake(who,times,intense,origin)
  363.     coroutine.wrap(function()
  364.         if(script:FindFirstChild'CamShake')then
  365.             local cam = script.CamShake:Clone()
  366.             cam:WaitForChild'intensity'.Value = intense
  367.             cam:WaitForChild'times'.Value = times
  368.            
  369.             if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  370.             cam.Parent = who
  371.             wait()
  372.             cam.Disabled = false
  373.         elseif(who == Plr or who == Char)then
  374.             local intensity = intense
  375.             local cam = workspace.CurrentCamera
  376.             for i = 1, times do
  377.                 local camDistFromOrigin
  378.                 if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  379.                     camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25
  380.                 elseif(typeof(origin) == 'Vector3')then
  381.                     camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25
  382.                 end
  383.                 if(camDistFromOrigin)then
  384.                     intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  385.                 end
  386.                 cam.CFrame = cam.CFrame:lerp(cam.CFrame*CFrame.new(math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100)*CFrame.Angles(math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100)),.4)
  387.                 swait()
  388.             end
  389.         end
  390.     end)()
  391. end
  392.  
  393. function CamShakeAll(times,intense,origin)
  394.     for _,v in next, Plrs:players() do
  395.         CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  396.     end
  397. end
  398.  
  399. function ServerScript(code)
  400.     if(script:FindFirstChild'Loadstring')then
  401.         local load = script.Loadstring:Clone()
  402.         load:WaitForChild'Sauce'.Value = code
  403.         load.Disabled = false
  404.         load.Parent = workspace
  405.     elseif(NS and typeof(NS) == 'function')then
  406.         NS(code,workspace)
  407.     else
  408.         warn("no serverscripts lol")
  409.     end
  410. end
  411.  
  412. function RunLocal(where,code)
  413.     ServerScript([[
  414.         wait()
  415.         script.Parent=nil
  416.         if(not _G.Http)then _G.Http = game:service'HttpService' end
  417.        
  418.         local Http = _G.Http or game:service'HttpService'
  419.        
  420.         local source = ]].."[["..code.."]]"..[[
  421.         local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php"
  422.         local asd = Http:PostAsync(link,source)
  423.         repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID
  424.         local ID = Http:JSONDecode(asd).Result.Require_ID
  425.         local vs = require(ID).VORTH_SCRIPT
  426.         vs.Parent = game.]]..where:GetFullName()
  427.     )
  428. end
  429.  
  430. --// Customization \\--
  431.  
  432. local Frame_Speed = 60 -- The frame speed for swait. 1 is automatically divided by this
  433. local Remove_Hats = false
  434. local Remove_Clothing = false
  435. local PlayerSize = 1
  436. local DamageColor = BrickColor.new'Really red'
  437. local MusicID = 0
  438. local God = false
  439. local Muted = false
  440.  
  441. local WalkSpeed = 16
  442.  
  443. --// Weapon and GUI creation, and Character Customization \\--
  444.  
  445. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  446. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  447.  
  448. if(PlayerSize ~= 1)then
  449.     for _,v in next, Char:GetDescendants() do
  450.         if(v:IsA'BasePart')then
  451.             v.Size = v.Size * PlayerSize
  452.         end
  453.     end
  454. end
  455.  
  456. local Claw1 = Part(Char,C3.N(0,0,0),Enum.Material.SmoothPlastic,V3.N(.85,.4,.75),RArm.CFrame,false,false)
  457. Claw1.Transparency = 1
  458. local Claw1M = Mesh(Claw1,Enum.MeshType.FileMesh,"rbxassetid://105262978","",V3.N(.6,1,0),V3.N())
  459. local Claw1W = Weld(RArm,Claw1,CF.N(0,-1.4,.06)*CF.A(M.R(-90),0,M.R(-90)))
  460.  
  461. local Claw2 = Part(Char,C3.N(0,0,0),Enum.Material.SmoothPlastic,V3.N(.85,.4,.75),RArm.CFrame,false,false)
  462. Claw2.Transparency = 1
  463. local Claw2M = Mesh(Claw2,Enum.MeshType.FileMesh,"rbxassetid://105262978","",V3.N(.6,1,0),V3.N())
  464. local Claw2W = Weld(LArm,Claw2,CF.N(0,-1.4,.06)*CF.A(M.R(-90),0,M.R(90)))
  465.  
  466. --// Stop animations \\--
  467. for _,v in next, Hum:GetPlayingAnimationTracks() do
  468.     v:Stop();
  469. end
  470.  
  471. Char.Animate:Destroy()
  472.  
  473. pcall(game.Destroy,Char:FindFirstChild'Animate')
  474. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  475.  
  476. --// Joints \\--
  477.  
  478. 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)})
  479. 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)})
  480. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  481. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  482. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  483. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  484.  
  485. local LSC0 = LS.C0
  486. local RSC0 = RS.C0
  487. local NKC0 = NK.C0
  488. local LHC0 = LH.C0
  489. local RHC0 = RH.C0
  490. local RJC0 = RJ.C0
  491.  
  492. --// Artificial HB \\--
  493.  
  494. local ArtificialHB = IN("BindableEvent", script)
  495. ArtificialHB.Name = "Heartbeat"
  496.  
  497. script:WaitForChild("Heartbeat")
  498.  
  499. local tf = 0
  500. local allowframeloss = false
  501. local tossremainder = false
  502. local lastframe = tick()
  503. local frame = 1/Frame_Speed
  504. ArtificialHB:Fire()
  505.  
  506. game:GetService("RunService").Heartbeat:connect(function(s, p)
  507.     tf = tf + s
  508.     if tf >= frame then
  509.         if allowframeloss then
  510.             script.Heartbeat:Fire()
  511.             lastframe = tick()
  512.         else
  513.             for i = 1, math.floor(tf / frame) do
  514.                 ArtificialHB:Fire()
  515.             end
  516.             lastframe = tick()
  517.         end
  518.         if tossremainder then
  519.             tf = 0
  520.         else
  521.             tf = tf - frame * math.floor(tf / frame)
  522.         end
  523.     end
  524. end)
  525.  
  526. function swait(num)
  527.     if num == 0 or num == nil then
  528.         ArtificialHB.Event:wait()
  529.     else
  530.         for i = 0, num do
  531.             ArtificialHB.Event:wait()
  532.         end
  533.     end
  534. end
  535.  
  536.  
  537. --// Effect Function(s) \\--
  538.  
  539. function Bezier(startpos, pos2, pos3, endpos, t)
  540.     local A = startpos:lerp(pos2, t)
  541.     local B  = pos2:lerp(pos3, t)
  542.     local C = pos3:lerp(endpos, t)
  543.     local lerp1 = A:lerp(B, t)
  544.     local lerp2 = B:lerp(C, t)
  545.     local cubic = lerp1:lerp(lerp2, t)
  546.     return cubic
  547. end
  548.  
  549. function SphereFX(duration,color,scale,pos,endScale,increment)
  550.     return Effect{
  551.         Effect='ResizeAndFade',
  552.         Color=color,
  553.         Size=scale,
  554.         Mesh={MeshType=Enum.MeshType.Sphere},
  555.         CFrame=pos,
  556.         FXSettings={
  557.             EndSize=endScale,
  558.             EndIsIncrement=increment
  559.         }
  560.     }
  561. end
  562.  
  563. function BlastFX(duration,color,scale,pos,endScale,increment)
  564.     return Effect{
  565.         Effect='ResizeAndFade',
  566.         Color=color,
  567.         Size=scale,
  568.         Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976'},
  569.         CFrame=pos,
  570.         FXSettings={
  571.             EndSize=endScale,
  572.             EndIsIncrement=increment
  573.         }
  574.     }
  575. end
  576.  
  577. function BlockFX(duration,color,scale,pos,endScale,increment)
  578.     return Effect{
  579.         Effect='ResizeAndFade',
  580.         Color=color,
  581.         Size=scale,
  582.         CFrame=pos,
  583.         FXSettings={
  584.             EndSize=endScale,
  585.             EndIsIncrement=increment
  586.         }
  587.     }
  588. end
  589.  
  590. function Zap(data)
  591.     local sCF,eCF = data.StartCFrame,data.EndCFrame
  592.     assert(sCF,"You need a start CFrame!")
  593.     assert(eCF,"You need an end CFrame!")
  594.     local parts = data.PartCount or 15
  595.     local zapRot = data.ZapRotation or {-5,5}
  596.     local startThick = data.StartSize or 3;
  597.     local endThick = data.EndSize or startThick/2;
  598.     local color = data.Color or BrickColor.new'Electric blue'
  599.     local delay = data.Delay or 35
  600.     local delayInc = data.DelayInc or 0
  601.     local lastLightning;
  602.     local MagZ = (sCF.p - eCF.p).magnitude
  603.     local thick = startThick
  604.     local inc = (startThick/parts)-(endThick/parts)
  605.    
  606.     for i = 1, parts do
  607.         local pos = sCF.p
  608.         if(lastLightning)then
  609.             pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p
  610.         end
  611.         delay = delay + delayInc
  612.         local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false)
  613.         local posie = CF.N(pos,eCF.p)*CF.N(0,0,MagZ/parts).p+V3.N(M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)))
  614.         if(parts == i)then
  615.             local MagZ = (pos-eCF.p).magnitude
  616.             zapPart.Size = V3.N(endThick,endThick,MagZ)
  617.             zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2)
  618.             Effect{Effect='ResizeAndFade',Size=V3.N(thick,thick,thick),CFrame=eCF*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),Color=color,Frames=delay*2,FXSettings={EndSize=V3.N(thick*8,thick*8,thick*8)}}
  619.         else
  620.             zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2)
  621.         end
  622.        
  623.         lastLightning = zapPart
  624.         Effect{Effect='Fade',Manual=zapPart,Frames=delay}
  625.        
  626.         thick=thick-inc
  627.        
  628.     end
  629. end
  630.  
  631. function Zap2(data)
  632.     local Color = data.Color or BrickColor.new'Electric blue'
  633.     local StartPos = data.Start or Torso.Position
  634.     local EndPos = data.End or Mouse.Hit.p
  635.     local SegLength = data.SegL or 2
  636.     local Thicc = data.Thickness or 0.5
  637.     local Fades = data.Fade or 45
  638.     local Parent = data.Parent or Effects
  639.     local MaxD = data.MaxDist or 200
  640.     local Branch = data.Branches or false
  641.     local Material = data.Material or Enum.Material.Neon
  642.     local Raycasts = data.Raycasts or false
  643.     local Offset = data.Offset or {0,360}
  644.     local AddMesh = (data.Mesh == nil and true or data.Mesh)
  645.     if((StartPos-EndPos).magnitude > MaxD)then
  646.         EndPos = CF.N(StartPos,EndPos)*CF.N(0,0,-MaxD).p
  647.     end
  648.     local hit,pos,norm,dist=nil,EndPos,nil,(StartPos-EndPos).magnitude
  649.     if(Raycasts)then
  650.         hit,pos,norm,dist = CastRay(StartPos,EndPos,MaxD)  
  651.     end
  652.     local segments = dist/SegLength
  653.     local model = IN("Model",Parent)
  654.     model.Name = 'Lightning'
  655.     local Last;
  656.     for i = 1, segments do
  657.         local size = (segments-i)/25
  658.         local prt = Part(model,Color,Material,V3.N(Thicc+size,SegLength,Thicc+size),CF.N(),true,false)
  659.         if(AddMesh)then IN("CylinderMesh",prt) end
  660.         if(Last and math.floor(segments) == i)then
  661.             local MagZ = (Last.CFrame*CF.N(0,-SegLength/2,0).p-EndPos).magnitude
  662.             prt.Size = V3.N(Thicc+size,MagZ,Thicc+size)
  663.             prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,EndPos)*CF.A(M.R(90),0,0)*CF.N(0,-MagZ/2,0) 
  664.         elseif(not Last)then
  665.             prt.CFrame = CF.N(StartPos,pos)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)   
  666.         else
  667.             prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,CF.N(pos)*CF.A(M.R(M.RNG(0,360)),M.R(M.RNG(0,360)),M.R(M.RNG(0,360)))*CF.N(0,0,SegLength/3+(segments-i)).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  668.         end
  669.         Last = prt
  670.         if(Branch)then
  671.             local choice = M.RNG(1,7+((segments-i)*2))
  672.             if(choice == 1)then
  673.                 local LastB;
  674.                 for i2 = 1,M.RNG(2,5) do
  675.                     local size2 = ((segments-i)/35)/i2
  676.                     local prt = Part(model,Color,Material,V3.N(Thicc+size2,SegLength,Thicc+size2),CF.N(),true,false)
  677.                     if(AddMesh)then IN("CylinderMesh",prt) end
  678.                     if(not LastB)then
  679.                         prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,Last.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  680.                     else
  681.                         prt.CFrame = CF.N(LastB.CFrame*CF.N(0,-SegLength/2,0).p,LastB.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  682.                     end
  683.                     LastB = prt
  684.                 end
  685.             end
  686.         end
  687.     end
  688.     if(Fades > 0)then
  689.         coroutine.wrap(function()
  690.             for i = 1, Fades do
  691.                 for _,v in next, model:children() do
  692.                     if(v:IsA'BasePart')then
  693.                         v.Transparency = (i/Fades)
  694.                     end
  695.                 end
  696.                 swait()
  697.             end
  698.             model:destroy()
  699.         end)()
  700.     else
  701.         S.Debris:AddItem(model,.01)
  702.     end
  703.     return {End=(Last and Last.CFrame*CF.N(0,-Last.Size.Y/2,0).p),Last=Last,Model=model}
  704. end
  705.  
  706. function Tween(obj,props,time,easing,direction,repeats,backwards)
  707.     local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  708.     local tween = S.TweenService:Create(obj, info, props)
  709.    
  710.     tween:Play()
  711. end
  712.  
  713. function Effect(data)
  714.     local FX = data.Effect or 'ResizeAndFade'
  715.     local Parent = data.Parent or Effects
  716.     local Color = data.Color or C3.N(0,0,0)
  717.     local Size = data.Size or V3.N(1,1,1)
  718.     local MoveDir = data.MoveDirection or nil
  719.     local MeshData = data.Mesh or nil
  720.     local SndData = data.Sound or nil
  721.     local Frames = data.Frames or 45
  722.     local Manual = data.Manual or nil
  723.     local Material = data.Material or nil
  724.     local CFra = data.CFrame or Torso.CFrame
  725.     local Settings = data.FXSettings or {}
  726.     local Shape = data.Shape or Enum.PartType.Block
  727.     local Snd,Prt,Msh;
  728.     coroutine.wrap(function()
  729.         if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  730.             Prt = Manual
  731.         else
  732.             Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  733.             Prt.Shape = Shape
  734.         end
  735.         if(typeof(MeshData) == 'table')then
  736.             Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  737.         elseif(typeof(MeshData) == 'Instance')then
  738.             Msh = MeshData:Clone()
  739.             Msh.Parent = Prt
  740.         elseif(Shape == Enum.PartType.Block)then
  741.             Msh = Mesh(Prt,Enum.MeshType.Brick)
  742.         end
  743.         if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  744.             Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  745.         end
  746.         if(Snd)then
  747.             repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  748.             Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  749.         end
  750.         Size = (Msh and Msh.Scale or Size)
  751.         local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  752.        
  753.         local MoveSpeed = nil;
  754.         if(MoveDir)then
  755.             MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  756.         end
  757.         if(FX ~= 'Arc')then
  758.             for Frame = 1, Frames do
  759.                 if(FX == "Fade")then
  760.                     Prt.Transparency  = (Frame/Frames)
  761.                 elseif(FX == "Resize")then
  762.                     if(not Settings.EndSize)then
  763.                         Settings.EndSize = V3.N(0,0,0)
  764.                     end
  765.                     if(Settings.EndIsIncrement)then
  766.                         if(Msh)then
  767.                             Msh.Scale = Msh.Scale + Settings.EndSize
  768.                         else
  769.                             Prt.Size = Prt.Size + Settings.EndSize
  770.                         end                
  771.                     else
  772.                         if(Msh)then
  773.                             Msh.Scale = Msh.Scale - grow/Frames
  774.                         else
  775.                             Prt.Size = Prt.Size - grow/Frames
  776.                         end
  777.                     end
  778.                 elseif(FX == "ResizeAndFade")then
  779.                     if(not Settings.EndSize)then
  780.                         Settings.EndSize = V3.N(0,0,0)
  781.                     end
  782.                     if(Settings.EndIsIncrement)then
  783.                         if(Msh)then
  784.                             Msh.Scale = Msh.Scale + Settings.EndSize
  785.                         else
  786.                             Prt.Size = Prt.Size + Settings.EndSize
  787.                         end                
  788.                     else
  789.                         if(Msh)then
  790.                             Msh.Scale = Msh.Scale - grow/Frames
  791.                         else
  792.                             Prt.Size = Prt.Size - grow/Frames
  793.                         end
  794.                     end
  795.                     Prt.Transparency = (Frame/Frames)
  796.                 end
  797.                 if(Settings.RandomizeCFrame)then
  798.                     Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  799.                 end
  800.                 if(MoveDir and MoveSpeed)then
  801.                     local Orientation = Prt.Orientation
  802.                     Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  803.                     Prt.Orientation = Orientation
  804.                 end
  805.                 swait()
  806.             end
  807.             Prt:destroy()
  808.         else
  809.             local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  810.             if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  811.             if(start and endP)then
  812.                 local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  813.                 local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  814.                 for Frame = 0, 1, (Settings.Speed or 0.01) do
  815.                     if(Settings.Home)then
  816.                         endP = Settings.Home.CFrame
  817.                     end
  818.                     Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  819.                 end
  820.                 if(Settings.RemoveOnGoal)then
  821.                     Prt:destroy()
  822.                 end
  823.             else
  824.                 Prt:destroy()
  825.                 assert(start,"You need a start position!")
  826.                 assert(endP,"You need a start position!")
  827.             end
  828.         end
  829.     end)()
  830.     return Prt,Msh,Snd
  831. end
  832. function SoulSteal(whom)
  833.     local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
  834.     print(torso)
  835.     if(torso and torso:IsA'BasePart')then
  836.         local Model = Instance.new("Model",Effects)
  837.         Model.Name = whom.Name.."'s Soul"
  838.         whom:BreakJoints()
  839.         local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  840.         Soul.Name = 'Head'
  841.         NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  842.         Effect{
  843.             Effect="Arc",
  844.             Manual = Soul,
  845.             FXSettings={
  846.                 Start=torso.CFrame,
  847.                 Home = Torso,
  848.                 RemoveOnGoal = true,
  849.             }
  850.         }
  851.         local lastPoint = Soul.CFrame.p
  852.    
  853.         for i = 0, 1, 0.01 do
  854.                 local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  855.                 local mag = (lastPoint - Soul.Position).magnitude
  856.                 Effect{
  857.                     Effect = "Fade",
  858.                     CFrame = point * CF.N(0, mag/2, 0),
  859.                     Size = V3.N(.5,mag+.5,.5),
  860.                     Color = Soul.BrickColor
  861.                 }
  862.                 lastPoint = Soul.CFrame.p
  863.             swait()
  864.         end
  865.         for i = 1, 5 do
  866.             Effect{
  867.                 Effect="Fade",
  868.                 Color = BrickColor.new'Really red',
  869.                 MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  870.             }  
  871.         end
  872.     end
  873. end
  874.  
  875. --// Other Functions \\ --
  876.  
  877. function CastRay(startPos,endPos,range,ignoreList)
  878.     local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  879.     local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  880.     return part,pos,norm,(pos and (startPos-pos).magnitude)
  881. end
  882.  
  883. function getRegion(point,range,ignore)
  884.     return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  885. end
  886.  
  887. function clerp(startCF,endCF,alpha)
  888.     return startCF:lerp(endCF, alpha)
  889. end
  890.  
  891. function GetTorso(char)
  892.     return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  893. end
  894.  
  895. function ShowDamage(Pos, Text, Time, Color)
  896.     coroutine.wrap(function()
  897.     local Rate = (1 / Frame_Speed)
  898.     local Pos = (Pos or Vector3.new(0, 0, 0))
  899.     local Text = (Text or "")
  900.     local Time = (Time or 2)
  901.     local Color = (Color or Color3.new(1, 0, 1))
  902.     local EffectPart = NewInstance("Part",Effects,{
  903.         Material=Enum.Material.SmoothPlastic,
  904.         Reflectance = 0,
  905.         Transparency = 1,
  906.         BrickColor = BrickColor.new(Color),
  907.         Name = "Effect",
  908.         Size = Vector3.new(0,0,0),
  909.         Anchored = true,
  910.         CFrame = CF.N(Pos)
  911.     })
  912.     local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  913.         Size = UDim2.new(1.25, 0, 1.25, 0),
  914.         Adornee = EffectPart,
  915.     })
  916.     local TextLabel = NewInstance("TextLabel",BillboardGui,{
  917.         BackgroundTransparency = 1,
  918.         Size = UDim2.new(1, 0, 1, 0),
  919.         Text = Text,
  920.         Font = "Bodoni",
  921.         TextColor3 = Color,
  922.         TextStrokeColor3 = Color3.new(0,0,0),
  923.         TextStrokeTransparency=0,
  924.         TextScaled = true,
  925.     })
  926.     S.Debris:AddItem(EffectPart, (Time))
  927.     EffectPart.Parent = workspace
  928.     delay(0, function()
  929.         Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  930.         local Frames = (Time / Rate)
  931.         for Frame = 1, Frames do
  932.             swait()
  933.             local Percent = (Frame / Frames)
  934.             TextLabel.TextTransparency = Percent
  935.             TextLabel.TextStrokeTransparency = Percent
  936.         end
  937.         if EffectPart and EffectPart.Parent then
  938.             EffectPart:Destroy()
  939.         end
  940.     end) end)()
  941. end
  942.  
  943.  
  944. function DealDamage(who,minDam,maxDam,Knock,Type,critChance,critMult)
  945.     if(who)then
  946.         local hum = who:FindFirstChildOfClass'Humanoid'
  947.         local Damage = M.RNG(minDam,maxDam)
  948.         local canHit = true
  949.         if(hum)then
  950.             for _, p in pairs(Hit) do
  951.                 if p[1] == hum then
  952.                     if(time() - p[2] < 0.1) then
  953.                         canHit = false
  954.                     else
  955.                         Hit[_] = nil
  956.                     end
  957.                 end
  958.             end
  959.             if(canHit)then
  960.                 table.insert(Hit,{hum,time()})
  961.                 if(hum.Health >= math.huge)then
  962.                     who:BreakJoints()
  963.                     if(who:FindFirstChild'Head' and hum.Health > 0)then
  964.                         ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "INSTANT", 1.5, C3.N(1,0,0))
  965.                     end
  966.                 else
  967.                     local player = S.Players:GetPlayerFromCharacter(who)
  968.                     if(Type == "Fire")then
  969.                         --idk..
  970.                     else
  971.                         local  c = Instance.new("ObjectValue",hum)
  972.                         c.Name = "creator"
  973.                         c.Value = Plr
  974.                         game:service'Debris':AddItem(c,0.35)
  975.                         if(M.RNG(1,100) <= (critChance or 0) and critMult > 1)then
  976.                             if(who:FindFirstChild'Head' and hum.Health > 0)then
  977.                                 ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[CRIT] "..Damage*(critMult or 2), 1.5, BrickColor.new'New Yeller'.Color)
  978.                             end
  979.                             hum.Health = hum.Health - Damage*(critMult or 2)
  980.                         else
  981.                             if(who:FindFirstChild'Head' and hum.Health > 0)then
  982.                                 ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), Damage, 1.5, DamageColor.Color)
  983.                             end
  984.                             hum.Health = hum.Health - Damage
  985.                         end
  986.                         if(Type == 'Knockback' and GetTorso(who))then
  987.                             local angle = GetTorso(who).Position - Root.Position + Vector3.new(0, 0, 0).unit
  988.                             local body = NewInstance('BodyVelocity',GetTorso(who),{
  989.                                 P = 500,
  990.                                 maxForce = V3.N(math.huge,0,math.huge),
  991.                                 velocity = Root.CFrame.lookVector * Knock + Root.Velocity / 1.05
  992.                             })
  993.                             game:service'Debris':AddItem(body,.5)
  994.                         elseif(Type == "Electric")then
  995.                             if(M.RNG(1,100) >= critChance)then
  996.                                 if(who:FindFirstChild'Head' and hum.Health > 0)then
  997.                                     ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[PARALYZED]", 1.5, BrickColor.new"New Yeller".Color)
  998.                                 end
  999.                                 local asd = hum.WalkSpeed/2
  1000.                                 hum.WalkSpeed = asd
  1001.                                 local paralyzed = true
  1002.                                 coroutine.wrap(function()
  1003.                                     while paralyzed do
  1004.                                         swait(25)
  1005.                                         if(M.RNG(1,25) == 1)then
  1006.                                             if(who:FindFirstChild'Head' and hum.Health > 0)then
  1007.                                                 ShowDamage((who.Head.CFrame * CF.N(0, 0, (who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), "[STATIC]", 1.5, BrickColor.new"New Yeller".Color)
  1008.                                             end
  1009.                                             hum.PlatformStand = true
  1010.                                         end
  1011.                                     end
  1012.                                 end)()
  1013.                                 delay(4, function()
  1014.                                     paralyzed = false
  1015.                                     hum.WalkSpeed = hum.WalkSpeed + asd
  1016.                                 end)
  1017.                             end
  1018.                            
  1019.                         elseif(Type == 'Knockdown' and GetTorso(who))then
  1020.                             local rek = GetTorso(who)
  1021.                             hum.PlatformStand = true
  1022.                             delay(1,function()
  1023.                                 hum.PlatformStand = false
  1024.                             end)
  1025.                             local angle = (GetTorso(who).Position - (Root.Position + Vector3.new(0, 0, 0))).unit
  1026.                             local bodvol = NewInstance("BodyVelocity",rek,{
  1027.                                 velocity = angle * Knock,
  1028.                                 P = 5000,
  1029.                                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1030.                             })
  1031.                             local rl = NewInstance("BodyAngularVelocity",rek,{
  1032.                                 P = 3000,
  1033.                                 maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1034.                                 angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1035.                             })
  1036.                             game:GetService("Debris"):AddItem(bodvol, .5)
  1037.                             game:GetService("Debris"):AddItem(rl, .5)
  1038.                         end
  1039.                     end
  1040.                 end
  1041.             end
  1042.         end
  1043.     end
  1044. end
  1045.  
  1046. function AOEDamage(where,range,minDam,maxDam,Knock,Type,critChance,critMult)
  1047.     for _,v in next, getRegion(where,range,{Char}) do
  1048.         if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid')then
  1049.             DealDamage(v.Parent,minDam,maxDam,Knock,Type,critChance,critMult)
  1050.         end
  1051.     end
  1052. end
  1053.  
  1054. function AOEHeal(where,range,amount)
  1055.     local healed = {}
  1056.     for _,v in next, getRegion(where,range,{Char}) do
  1057.         local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  1058.         if(hum and not healed[hum])then
  1059.             hum.Health = hum.Health + amount
  1060.             if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  1061.                 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)
  1062.             end
  1063.         end
  1064.     end
  1065. end
  1066.  
  1067. function CamShake(who,times,intense,origin)
  1068.     coroutine.wrap(function()
  1069.         if(script:FindFirstChild'CamShake')then
  1070.             local cam = script.CamShake:Clone()
  1071.             cam:WaitForChild'intensity'.Value = intense
  1072.             cam:WaitForChild'times'.Value = times
  1073.            
  1074.             if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  1075.             cam.Parent = who
  1076.             wait()
  1077.             cam.Disabled = false
  1078.         elseif(who == Plr or who == Char)then
  1079.             local intensity = intense
  1080.             local cam = workspace.CurrentCamera
  1081.             for i = 1, times do
  1082.                 local camDistFromOrigin
  1083.                 if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  1084.                     camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25
  1085.                 elseif(typeof(origin) == 'Vector3')then
  1086.                     camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25
  1087.                 end
  1088.                 if(camDistFromOrigin)then
  1089.                     intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  1090.                 end
  1091.                 cam.CFrame = cam.CFrame:lerp(cam.CFrame*CFrame.new(math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100)*CFrame.Angles(math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100)),.4)
  1092.                 swait()
  1093.             end
  1094.         end
  1095.     end)()
  1096. end
  1097.  
  1098. function CamShakeAll(times,intense,origin)
  1099.     for _,v in next, Plrs:players() do
  1100.         CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  1101.     end
  1102. end
  1103.  
  1104. function ServerScript(code)
  1105.     if(script:FindFirstChild'Loadstring')then
  1106.         local load = script.Loadstring:Clone()
  1107.         load:WaitForChild'Sauce'.Value = code
  1108.         load.Disabled = false
  1109.         load.Parent = workspace
  1110.     elseif(NS and typeof(NS) == 'function')then
  1111.         NS(code,workspace)
  1112.     else
  1113.         warn("no serverscripts lol")
  1114.     end
  1115. end
  1116.  
  1117. function LocalOnPlayer(who,code)
  1118.     ServerScript([[
  1119.         wait()
  1120.         script.Parent=nil
  1121.         if(not _G.Http)then _G.Http = game:service'HttpService' end
  1122.        
  1123.         local Http = _G.Http or game:service'HttpService'
  1124.        
  1125.         local source = ]].."[["..code.."]]"..[[
  1126.         local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php"
  1127.         local asd = Http:PostAsync(link,source)
  1128.         repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID
  1129.         local ID = Http:JSONDecode(asd).Result.Require_ID
  1130.         local vs = require(ID).VORTH_SCRIPT
  1131.         vs.Parent = game:service'Players'.]]..who.Name..[[.Character
  1132.     ]])
  1133. end
  1134.  
  1135. --// Attack functions \\--
  1136.  
  1137. --// Animation functions \\--
  1138.  
  1139. function ChangeStance(stance)
  1140.     if(Stance == stance)then Stance = 0 else Stance = stance end   
  1141. end
  1142.  
  1143. function ShrinkClaws()
  1144.     Attack = true
  1145.     NeutralAnims = false
  1146.     for i = 0, 1.6, 0.1 do
  1147.         swait()
  1148.         local Alpha = .15
  1149.         RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0.0267804712, -0.57599932, 1, 0, 0, 0, 0.894958973, 0.446148515, 0, -0.446148515, 0.894958973),Alpha)
  1150.         LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -1.17066813, 0.0498965085, 1, 0, 0, 0, 0.889227092, -0.457466066, 0, 0.457466036, 0.889227092),Alpha)
  1151.         RH.C0 = clerp(RH.C0,CFrame.new(0.5, -1.17066813, 0.0498965085, 1, 0, 0, 0, 0.889227092, -0.457466066, 0, 0.457466036, 0.889227092),Alpha)
  1152.         LS.C0 = clerp(LS.C0,CFrame.new(-1.25128794, 0.218256205, -0.0704385638, 0.796741128, -0.601582587, 0.0574631058, 0.433282614, 0.502369702, -0.74825865, 0.421271563, 0.621066213, 0.660913825),Alpha)
  1153.         RS.C0 = clerp(RS.C0,CFrame.new(1.33687222, 0.263498187, -0.339109778, 0.779864848, 0.604162514, 0.163702518, -0.251701295, 0.542130709, -0.801711202, -0.573112011, 0.584022164, 0.574857235),Alpha)
  1154.         NK.C0 = clerp(NK.C0,CFrame.new(0, 1.47531223, -0.0833445787, 1, 0, 0, 0, 0.958908439, 0.283715904, 0, -0.283715934, 0.958908439),Alpha)
  1155.     end
  1156.     Claw1M.Scale = V3.N(.6,1,0)
  1157.     Claw2M.Scale = V3.N(.6,1,0)
  1158.     Claw1.Transparency = 1
  1159.     Claw2.Transparency = 1
  1160.     Claws = false
  1161.     Attack = false
  1162.     NeutralAnims = true
  1163. end
  1164.  
  1165. function GrowClaws()
  1166.     Attack = true
  1167.     NeutralAnims = false
  1168.     for i = 0, 1.6, 0.1 do
  1169.         swait()
  1170.         local Alpha = .15
  1171.         RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0.0267804712, -0.57599932, 1, 0, 0, 0, 0.894958973, 0.446148515, 0, -0.446148515, 0.894958973),Alpha)
  1172.         LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -1.17066813, 0.0498965085, 1, 0, 0, 0, 0.889227092, -0.457466066, 0, 0.457466036, 0.889227092),Alpha)
  1173.         RH.C0 = clerp(RH.C0,CFrame.new(0.5, -1.17066813, 0.0498965085, 1, 0, 0, 0, 0.889227092, -0.457466066, 0, 0.457466036, 0.889227092),Alpha)
  1174.         LS.C0 = clerp(LS.C0,CFrame.new(-1.25128794, 0.218256205, -0.0704385638, 0.796741128, -0.601582587, 0.0574631058, 0.433282614, 0.502369702, -0.74825865, 0.421271563, 0.621066213, 0.660913825),Alpha)
  1175.         RS.C0 = clerp(RS.C0,CFrame.new(1.33687222, 0.263498187, -0.339109778, 0.779864848, 0.604162514, 0.163702518, -0.251701295, 0.542130709, -0.801711202, -0.573112011, 0.584022164, 0.574857235),Alpha)
  1176.         NK.C0 = clerp(NK.C0,CFrame.new(0, 1.47531223, -0.0833445787, 1, 0, 0, 0, 0.958908439, 0.283715904, 0, -0.283715934, 0.958908439),Alpha)
  1177.     end
  1178.     Claw1M.Scale = V3.N(.6,1,1.25)
  1179.     Claw2M.Scale = V3.N(.6,1,1.25)
  1180.     Claw1.Transparency = 0
  1181.     Claw2.Transparency = 0
  1182.     for i = 0, 1.6, 0.1 do
  1183.         swait()
  1184.         local Alpha = .15
  1185.         RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0.0557683706, 0.210271984, 1, 0, 0, 0, 0.96131283, -0.275459349, 0, 0.275459349, 0.96131283),Alpha)
  1186.         LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -1.07405317, 0.079603225, 1, 0, 0, 0, 0.964729905, 0.263241976, 0, -0.263241976, 0.964729905),Alpha)
  1187.         RH.C0 = clerp(RH.C0,CFrame.new(0.5, -1.07405317, 0.079603225, 1, 0, 0, 0, 0.964729905, 0.263241976, 0, -0.263241976, 0.964729905),Alpha)
  1188.         LS.C0 = clerp(LS.C0,CFrame.new(-0.973503292, 0.846649706, 0.436822414, 0.328243881, 0.94284308, 0.0574718751, -0.611039519, 0.258339763, -0.748258948, -0.720337927, 0.210493833, 0.660912871),Alpha)
  1189.         RS.C0 = clerp(RS.C0,CFrame.new(1.04560089, 0.820306599, 0.520357251, 0.596080899, -0.786060631, 0.163695931, 0.544697285, 0.246096462, -0.801711559, 0.589908898, 0.567049742, 0.574858427),Alpha)
  1190.         NK.C0 = clerp(NK.C0,CFrame.new(0, 1.43713045, 0.120943204, 1, 0, 0, 0, 0.982991874, -0.183649719, 0, 0.183649749, 0.982991874),Alpha)
  1191.     end
  1192.     Claws = true
  1193.     Attack = false
  1194.     NeutralAnims = true
  1195. end
  1196.  
  1197. function AttemptHuggleOwO()
  1198.     Attack = true
  1199.     NeutralAnims = false
  1200.     for i = 0, 2, 0.1 do
  1201.         swait()
  1202.         local Alpha = .2
  1203.         RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1204.         LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1205.         RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1206.         LS.C0 = clerp(LS.C0,CFrame.new(-1.33729529, 0.456638038, 0.16140607, -0.266469032, 0.963840604, -0.00235169032, 0.0237830039, 0.004135984, -0.999708652, -0.963550091, -0.266447306, -0.0240251366),Alpha)
  1207.         RS.C0 = clerp(RS.C0,CFrame.new(1.35338628, 0.468459934, 0.177928478, -0.265267879, -0.964171946, -0.00234607165, -0.0224859882, 0.00861900486, -0.999710023, 0.963912547, -0.265138209, -0.0239667017),Alpha)
  1208.         NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1209.     end
  1210.     local hit;
  1211.     for i = 0, 2, 0.1 do
  1212.         swait()
  1213.         hit = CastRay(Root.Position,Root.Position+Root.CFrame.lookVector,2)
  1214.         local Alpha = .2
  1215.         RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1216.         LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1217.         RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1218.         LS.C0 = clerp(LS.C0,CFrame.new(-0.93656075, 0.329677731, -1.02008939, 0.529792905, -0.746883333, 0.401851743, -0.273926944, -0.599103034, -0.752356112, 0.802672803, 0.288514823, -0.521992028),Alpha)
  1219.         RS.C0 = clerp(RS.C0,CFrame.new(0.992939234, 0.25239262, -1.06771588, 0.369606882, 0.837249935, -0.402992934, 0.0150309941, -0.439034939, -0.898344278, -0.929066658, 0.325976849, -0.174855039),Alpha)
  1220.         NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1221.         if(hit and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid'and GetTorso(hit.Parent))then break end
  1222.     end
  1223.     if(hit and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' and GetTorso(hit.Parent))then
  1224.         WalkSpeed = 0
  1225.         Hum.AutoRotate = false
  1226.         local owo = hit.Parent
  1227.         local torso = GetTorso(owo)
  1228.         local hum = owo:FindFirstChildOfClass'Humanoid'
  1229.         local root = owo:FindFirstChild'HumanoidRootPart'
  1230.         local rootWeld
  1231.         if(root)then
  1232.             rootWeld = (function()
  1233.                 for _,v in next, owo:GetDescendants() do
  1234.                     if(v:IsA'JointInstance' and (v.Part0 == root or v.Part1 == root))then
  1235.                         return {v,v.Part0,v.Part1,v.Parent}
  1236.                     end
  1237.                 end
  1238.             end)()
  1239.             root.Parent = nil
  1240.         end
  1241.         local GrabWeld = NewInstance("Weld",torso,{Part0=torso,Part1=Torso,C0=CF.N(0,0,-.75)*CF.A(0,M.R(180),0)})
  1242.         local Sine = 0
  1243.         if(owo:FindFirstChild'Huggled' and owo.Huggled:IsA'BoolValue')then
  1244.             owo.Huggled.Value = true
  1245.         end
  1246.         for i = 0, 6, 0.1 do
  1247.             swait()
  1248.             Sine = Sine + 1
  1249.             local Alpha = .2
  1250.             RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1251.             LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1252.             RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1253.             LS.C0 = clerp(LS.C0,CFrame.new(-0.93656075, 0.329677731, -1.02008939, 0.529792905, -0.746883333, 0.401851743, -0.273926944, -0.599103034, -0.752356112, 0.802672803, 0.288514823, -0.521992028),Alpha)
  1254.             RS.C0 = clerp(RS.C0,CFrame.new(0.992939234, 0.25239262, -1.06771588, 0.369606882, 0.837249935, -0.402992934, 0.0150309941, -0.439034939, -0.898344278, -0.929066658, 0.325976849, -0.174855039),Alpha)
  1255.             NK.C0 = clerp(NK.C0,CFrame.new(0.438690722, 1.48037314, -0.368569374, 0.941390097, 0.334570527, 0.042981308, -0.33732003, 0.933716714, 0.119951896, 0, -0.127419978, 0.991848886)*CF.A(0,M.R(-15+15*M.C(Sine/8)),0),Alpha)
  1256.         end
  1257.         local Heart = Part(Char,BrickColor.new'Pink',Enum.Material.Neon,V3.N(2.15,2.13,.59),Torso.CFrame*CF.N(0,-1,0),true,false)
  1258.         local HeartMesh = Mesh(Heart,Enum.MeshType.FileMesh,"rbxassetid://431221914","",V3.N(.5,.5,.2),V3.N())
  1259.         coroutine.wrap(function()
  1260.             local speed = .35
  1261.             for i = 0, 6, .1 do
  1262.                 speed = speed - (.5/60)
  1263.                 Heart.CFrame = Heart.CFrame * CF.N(0,speed,0)
  1264.                 Heart.Transparency = math.max(1-i/3,0)
  1265.                 swait()
  1266.             end
  1267.             delay(1, function()
  1268.                 for i = 0, 3, .1 do
  1269.                     Heart.Transparency = i/3
  1270.                     swait()
  1271.                 end
  1272.                 Heart:destroy()
  1273.             end)
  1274.            
  1275.         end)()
  1276.         Sound(Torso,270763316,1,5,false,true,true)
  1277.         for i = 0, 6, 0.1 do
  1278.             swait()
  1279.             Sine = Sine + 1
  1280.             local Alpha = .2
  1281.             RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1282.             LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1283.             RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1284.             LS.C0 = clerp(LS.C0,CFrame.new(-0.93656075, 0.329677731, -1.02008939, 0.529792905, -0.746883333, 0.401851743, -0.273926944, -0.599103034, -0.752356112, 0.802672803, 0.288514823, -0.521992028),Alpha)
  1285.             RS.C0 = clerp(RS.C0,CFrame.new(0.992939234, 0.25239262, -1.06771588, 0.369606882, 0.837249935, -0.402992934, 0.0150309941, -0.439034939, -0.898344278, -0.929066658, 0.325976849, -0.174855039),Alpha)
  1286.             NK.C0 = clerp(NK.C0,CFrame.new(0.438690722, 1.48037314, -0.368569374, 0.941390097, 0.334570527, 0.042981308, -0.33732003, 0.933716714, 0.119951896, 0, -0.127419978, 0.991848886)*CF.A(0,M.R(-15+15*M.C(Sine/8)),0),Alpha)
  1287.         end
  1288.         if(owo:FindFirstChild'Huggled' and owo.Huggled:IsA'BoolValue')then
  1289.             owo.Huggled.Value = false
  1290.         end
  1291.         WalkSpeed = 16
  1292.         Hum.AutoRotate = true
  1293.         local pp = torso.CFrame
  1294.         if(root)then root.Parent = owo if(rootWeld)then rootWeld[1].Parent = rootWeld[4] rootWeld[1].Part0 = rootWeld[2] rootWeld[1].Part1 = rootWeld[3] end end
  1295.         GrabWeld:destroy()
  1296.     end
  1297.    
  1298.     Attack = false
  1299.     NeutralAnims = true
  1300. end
  1301.  
  1302. function AttemptKissUwU()
  1303.     Attack = true
  1304.     NeutralAnims = false
  1305.     for i = 0, 2, 0.1 do
  1306.         swait()
  1307.         local Alpha = .2
  1308.         RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1309.         LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1310.         RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1311.         LS.C0 = clerp(LS.C0,CFrame.new(-1.33729529, 0.456638038, 0.16140607, -0.266469032, 0.963840604, -0.00235169032, 0.0237830039, 0.004135984, -0.999708652, -0.963550091, -0.266447306, -0.0240251366),Alpha)
  1312.         RS.C0 = clerp(RS.C0,CFrame.new(1.35338628, 0.468459934, 0.177928478, -0.265267879, -0.964171946, -0.00234607165, -0.0224859882, 0.00861900486, -0.999710023, 0.963912547, -0.265138209, -0.0239667017),Alpha)
  1313.         NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1314.     end
  1315.     local hit;
  1316.     for i = 0, 2, 0.1 do
  1317.         swait()
  1318.         hit = CastRay(Root.Position,Root.Position+Root.CFrame.lookVector,2)
  1319.         local Alpha = .2
  1320.         RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1321.         LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1322.         RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1323.         LS.C0 = clerp(LS.C0,CFrame.new(-0.93656075, 0.329677731, -1.02008939, 0.529792905, -0.746883333, 0.401851743, -0.273926944, -0.599103034, -0.752356112, 0.802672803, 0.288514823, -0.521992028),Alpha)
  1324.         RS.C0 = clerp(RS.C0,CFrame.new(0.992939234, 0.25239262, -1.06771588, 0.369606882, 0.837249935, -0.402992934, 0.0150309941, -0.439034939, -0.898344278, -0.929066658, 0.325976849, -0.174855039),Alpha)
  1325.         NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1326.         if(hit and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid'and GetTorso(hit.Parent))then break end
  1327.     end
  1328.     if(hit and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' and GetTorso(hit.Parent))then
  1329.         WalkSpeed = 0
  1330.         Hum.AutoRotate = false
  1331.         local owo = hit.Parent
  1332.         local torso = GetTorso(owo)
  1333.         local hum = owo:FindFirstChildOfClass'Humanoid'
  1334.         local root = owo:FindFirstChild'HumanoidRootPart'
  1335.         local rootWeld
  1336.         if(root)then
  1337.             rootWeld = (function()
  1338.                 for _,v in next, owo:GetDescendants() do
  1339.                     if(v:IsA'JointInstance' and (v.Part0 == root or v.Part1 == root))then
  1340.                         return {v,v.Part0,v.Part1,v.Parent}
  1341.                     end
  1342.                 end
  1343.             end)()
  1344.             root.Parent = nil
  1345.         end
  1346.         local GrabWeld = NewInstance("Weld",torso,{Part0=torso,Part1=Torso,C0=CF.N(0,0,-.75)*CF.A(0,M.R(180),0)})
  1347.         local Sine = 0
  1348.         if(owo:FindFirstChild'Kissed' and owo.Kissed:IsA'BoolValue')then
  1349.             owo.Kissed.Value = true
  1350.         end
  1351.         for i = 0, 6, 0.1 do
  1352.             swait()    
  1353.             local Alpha = .2
  1354.             Sine = Sine + 1
  1355.             RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1356.             LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1357.             RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1358.             LS.C0 = clerp(LS.C0,CFrame.new(-0.93656075, 0.329677731, -1.02008939, 0.529792905, -0.746883333, 0.401851743, -0.273926944, -0.599103034, -0.752356112, 0.802672803, 0.288514823, -0.521992028)*CF.A(M.R(0+5*M.C(Sine/12)),0,0),Alpha)
  1359.             RS.C0 = clerp(RS.C0,CFrame.new(0.992939234, 0.25239262, -1.06771588, 0.369606882, 0.837249935, -0.402992934, 0.0150309941, -0.439034939, -0.898344278, -0.929066658, 0.325976849, -0.174855039)*CF.A(M.R(0-5*M.C(Sine/12)),0,0),Alpha)
  1360.             NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1361.        
  1362.         end
  1363.         local Heart = Part(Char,BrickColor.new'Pink',Enum.Material.Neon,V3.N(2.15,2.13,.59),Torso.CFrame*CF.N(0,-1,0),true,false)
  1364.         local HeartMesh = Mesh(Heart,Enum.MeshType.FileMesh,"rbxassetid://431221914","",V3.N(.5,.5,.2),V3.N())
  1365.         coroutine.wrap(function()
  1366.             local speed = .35
  1367.             for i = 0, 6, .1 do
  1368.                 speed = speed - (.5/60)
  1369.                 Heart.CFrame = Heart.CFrame * CF.N(0,speed,0)
  1370.                 Heart.Transparency = math.max(1-i/3,0)
  1371.                 swait()
  1372.             end
  1373.             delay(1, function()
  1374.                 for i = 0, 3, .1 do
  1375.                     Heart.Transparency = i/3
  1376.                     swait()
  1377.                 end
  1378.                 Heart:destroy()
  1379.             end)
  1380.         end)()
  1381.         Sound(Torso,270763316,1,5,false,true,true)
  1382.         for i = 0, 6, 0.1 do
  1383.             swait()    
  1384.             local Alpha = .2
  1385.             Sine = Sine + 1
  1386.             RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1387.             LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1388.             RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1389.             LS.C0 = clerp(LS.C0,CFrame.new(-0.93656075, 0.329677731, -1.02008939, 0.529792905, -0.746883333, 0.401851743, -0.273926944, -0.599103034, -0.752356112, 0.802672803, 0.288514823, -0.521992028)*CF.A(M.R(0+5*M.C(Sine/12)),0,0),Alpha)
  1390.             RS.C0 = clerp(RS.C0,CFrame.new(0.992939234, 0.25239262, -1.06771588, 0.369606882, 0.837249935, -0.402992934, 0.0150309941, -0.439034939, -0.898344278, -0.929066658, 0.325976849, -0.174855039)*CF.A(M.R(0-5*M.C(Sine/12)),0,0),Alpha)
  1391.             NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1392.         end
  1393.         if(owo:FindFirstChild'Kissed' and owo.Kissed:IsA'BoolValue')then
  1394.             owo.Kissed.Value = false
  1395.         end
  1396.         WalkSpeed = 16
  1397.         Hum.AutoRotate = true
  1398.         local pp = torso.CFrame
  1399.         if(root)then root.Parent = owo if(rootWeld)then rootWeld[1].Parent = rootWeld[4] rootWeld[1].Part0 = rootWeld[2] rootWeld[1].Part1 = rootWeld[3] end end
  1400.         GrabWeld:destroy()
  1401.     end
  1402.    
  1403.     Attack = false
  1404.     NeutralAnims = true
  1405. end
  1406.  
  1407. --// Wrap it all up \\--
  1408.  
  1409. Mouse.KeyDown:connect(function(k)
  1410.     if(Attack or Huggled.Value or Kissed.Value)then return end
  1411.     if(Claws)then
  1412.         if(k == 'z')then ChangeStance('PatientDoggo') end
  1413.         if(k == 'x')then ChangeStance('SleepyDoggo') end
  1414.         if(k == 'f')then ShrinkClaws() end
  1415.     else
  1416.         if(k == 'z')then ChangeStance('PatientDoggo') end
  1417.         if(k == 'x')then ChangeStance('SleepyDoggo') end
  1418.         if(k == 'h')then AttemptHuggleOwO() end
  1419.         if(k == 'k')then AttemptKissUwU() end  
  1420.         if(k == 'f')then GrowClaws() end
  1421.     end
  1422. end)
  1423.  
  1424. while true do
  1425.     swait()
  1426.     Sine = Sine + Change
  1427.    
  1428.    
  1429.     if(God)then
  1430.         Hum.MaxHealth = 1e100
  1431.         Hum.Health = 1e100
  1432.         if(not Char:FindFirstChildOfClass'ForceField')then IN("ForceField",Char).Visible = false end
  1433.         Hum.Name = M.RNG()*100
  1434.     end
  1435.    
  1436.     local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (4*PlayerSize)), Char)
  1437.    
  1438.     local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  1439.     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 (Hum.WalkSpeed < 16 and "Walk" or "Run") or hitfloor and "Idle")
  1440.     if(not Effects or not Effects.Parent)then
  1441.         Effects = IN("Model",Char)
  1442.         Effects.Name = "Effects"
  1443.     end
  1444.     if(not Huggled.Value and not Kissed.Value)then                                                                                                                                                                                                                                                                                                                                                                                                         
  1445.         if(State == 'Run')then
  1446.             local wsVal = 20 / (Hum.WalkSpeed/16)
  1447.             local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  1448.             Change = 3
  1449.             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(15+25*M.C(Sine/wsVal))+-M.S(Sine/wsVal),0,0),Alpha)
  1450.             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(15-25*M.C(Sine/wsVal))+M.S(Sine/wsVal),0,0),Alpha)   
  1451.         elseif(State == 'Walk')then
  1452.             local wsVal = 7 / (Hum.WalkSpeed/8)
  1453.             local Alpha = math.min(.3 * (Hum.WalkSpeed/8),1)
  1454.             Change = .9
  1455.             RH.C1 = RH.C1:lerp(CF.N(0,1,0)*CF.N(0,0-.5*M.C(Sine/wsVal)/2,0+.6*M.C(Sine/wsVal)/2)*CF.A(M.R(15-2*M.C(Sine/wsVal))+-M.S(Sine/wsVal)/2.5,0,0),Alpha)
  1456.             LH.C1 = LH.C1:lerp(CF.N(0,1,0)*CF.N(0,0+.5*M.C(Sine/wsVal)/2,0-.6*M.C(Sine/wsVal)/2)*CF.A(M.R(15+2*M.C(Sine/wsVal))+M.S(Sine/wsVal)/2.5,0,0),Alpha)
  1457.         else
  1458.             RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2)
  1459.             LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2)
  1460.         end
  1461.     else
  1462.         RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2)
  1463.         LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2)
  1464.     end
  1465.     if(State ~= 'Idle')then
  1466.         Stance = 0
  1467.     end
  1468.     Hum.WalkSpeed = WalkSpeed
  1469.    
  1470.     if(Huggled.Value)then
  1471.         WalkSpeed = 0
  1472.         Change = 1
  1473.         local Alpha = .2
  1474.         RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1475.         LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1476.         RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1477.         LS.C0 = clerp(LS.C0,CFrame.new(-0.93656075, 0.329677731, -1.02008939, 0.529792905, -0.746883333, 0.401851743, -0.273926944, -0.599103034, -0.752356112, 0.802672803, 0.288514823, -0.521992028),Alpha)
  1478.         RS.C0 = clerp(RS.C0,CFrame.new(0.992939234, 0.25239262, -1.06771588, 0.369606882, 0.837249935, -0.402992934, 0.0150309941, -0.439034939, -0.898344278, -0.929066658, 0.325976849, -0.174855039),Alpha)
  1479.         NK.C0 = clerp(NK.C0,CFrame.new(0.438690722, 1.48037314, -0.368569374, 0.941390097, 0.334570527, 0.042981308, -0.33732003, 0.933716714, 0.119951896, 0, -0.127419978, 0.991848886)*CF.A(0,M.R(-15+15*M.C(Sine/8)),0),Alpha)
  1480.     elseif(Kissed.Value)then
  1481.         WalkSpeed = 0
  1482.         Change = 1
  1483.         local Alpha = .2
  1484.         RJ.C0 = clerp(RJ.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1485.         LH.C0 = clerp(LH.C0,CFrame.new(-0.5, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1486.         RH.C0 = clerp(RH.C0,CFrame.new(0.500000477, -0.999996901, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1487.         LS.C0 = clerp(LS.C0,CFrame.new(-0.93656075, 0.329677731, -1.02008939, 0.529792905, -0.746883333, 0.401851743, -0.273926944, -0.599103034, -0.752356112, 0.802672803, 0.288514823, -0.521992028)*CF.A(M.R(0+5*M.C(Sine/12)),0,0),Alpha)
  1488.         RS.C0 = clerp(RS.C0,CFrame.new(0.992939234, 0.25239262, -1.06771588, 0.369606882, 0.837249935, -0.402992934, 0.0150309941, -0.439034939, -0.898344278, -0.929066658, 0.325976849, -0.174855039)*CF.A(M.R(0-5*M.C(Sine/12)),0,0),Alpha)
  1489.         NK.C0 = clerp(NK.C0,CFrame.new(0, 1.49999189, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),Alpha)
  1490.                        
  1491.     elseif(NeutralAnims)then
  1492.         WalkSpeed = 16
  1493.         if(State == 'Idle')then
  1494.             if(Stance == 'PatientDoggo')then
  1495.                 local Alpha = .1
  1496.                 Change = .65
  1497.                 RJ.C0 = clerp(RJ.C0,CFrame.new(0, -2.10780478, 0.970854104, 1, 0, 0, 0, 0.530292034, -0.847815096, 0, 0.847815096, 0.530292034),Alpha)
  1498.                 LH.C0 = clerp(LH.C0,CFrame.new(-0.52337563, -1.22678924, -0.0346571803, 0.966510594, 0.256626785, -1.12175131e-08, -0.217572063, 0.819422245, -0.530292094, -0.136087134, 0.512532949, 0.847815096)*CF.A(0,0,M.R(0+5*M.C(Sine/24))),Alpha)
  1499.                 RH.C0 = clerp(RH.C0,CFrame.new(0.483448207, -1.22678924, -0.03465271, 0.966530263, -0.256553054, 0, 0.217509553, 0.819438934, -0.530292034, 0.136048034, 0.512543321, 0.847815096)*CF.A(0,0,M.R(0-5*M.C(Sine/24))),Alpha)
  1500.                 LS.C0 = clerp(LS.C0,CFrame.new(-1.46229315, 0.513410747, -0.0264457762, 0.884941101, 0.463346928, -0.0467846096, -0.0823113322, 0.254497528, 0.963564157, 0.458371073, -0.848846674, 0.263354063)*CF.A(0,0,M.R(0+5*M.C(Sine/24))),Alpha)
  1501.                 RS.C0 = clerp(RS.C0,CFrame.new(1.54346466, 0.54600054, -0.0126776993, 0.897622228, -0.43827334, -0.0468073376, 0.156223357, 0.217049524, 0.963578641, -0.412151307, -0.872242033, 0.263296962)*CF.A(0,0,M.R(0-5*M.C(Sine/24))),Alpha)
  1502.                 NK.C0 = clerp(NK.C0,CFrame.new(0, 1.52029264, -0.216603011, 1, 0, 0, 0, 0.938926339, 0.344118178, 0, -0.344118178, 0.938926339)*CF.A(M.R(0+5*M.C(Sine/24)),0,0),Alpha)
  1503.             elseif(Stance == 'SleepyDoggo')then
  1504.                 local Alpha = .1
  1505.                 Change = .65
  1506.                 RJ.C0 = clerp(RJ.C0,CFrame.new(0.00765379518, -2.37531877, 0.490188628, 0.999769688, 0.0154944565, -0.0148536079, -0.0155909583, 0.0486059822, -0.998696327, -0.0147522828, 0.998697996, 0.0488363579),Alpha)
  1507.                 LH.C0 = clerp(LH.C0,CFrame.new(-0.556329548, -1.01782084, 0.0523337759, 0.936391771, -0.350610018, 0.0155910021, 0.350947887, 0.935132623, -0.0486090034, 0.00246314798, 0.0509886928, 0.998696208),Alpha)
  1508.                 RH.C0 = clerp(RH.C0,CFrame.new(0.582500875, -1.16751981, 0.133858949, 0.663288414, 0.726090193, -0.181222796, -0.708711624, 0.53166908, -0.463741302, -0.240367457, 0.436028928, 0.867238283),Alpha)
  1509.                 LS.C0 = clerp(LS.C0,CFrame.new(-1.20878398, 0.944466412, 0.12843433, 0.668268919, -0.739066303, 0.0848394409, -0.743897796, -0.663009524, 0.083873339, -0.00573859736, -0.119161807, -0.992858231),Alpha)
  1510.                 RS.C0 = clerp(RS.C0,CFrame.new(1.20252943, 0.88095963, 0.00249876827, 0.668030798, 0.735071719, -0.115777783, 0.743981063, -0.662912428, 0.0839017108, -0.0150767555, -0.142185375, -0.989725292),Alpha)
  1511.                 NK.C0 = clerp(NK.C0,CFrame.new(6.67600625e-06, 1.34367204, -0.326096922, 1, 0, 9.31322575e-10, -2.91038305e-11, 0.895097136, 0.445871502, 0, -0.445871502, 0.895096958)*CF.A(M.R(0+5*M.C(Sine/24)),0,0),Alpha)
  1512.             else
  1513.                 Change = 1
  1514.                 local Alpha = .1
  1515.                 RJ.C0 = RJ.C0:lerp(CF.N(0,0+.05*M.C(Sine/16),0),Alpha)
  1516.                 NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1517.                 LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0-.05*M.C(Sine/16),0)*CF.A(0,0,-M.R(1+1*M.S(Sine/16))),Alpha)
  1518.                 RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0-.05*M.C(Sine/16),0)*CF.A(0,0,M.R(1+1*M.S(Sine/16))),Alpha)
  1519.                 LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0+.15*M.C(Sine/16),0)*CF.A(0,0,-M.R(5+5*M.S(Sine/16))),Alpha)
  1520.                 RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0+.15*M.C(Sine/16),0)*CF.A(0,0,M.R(5+5*M.S(Sine/16))),Alpha)
  1521.             end
  1522.         elseif(State == 'Run')then
  1523.             local wsVal = 20 / (Hum.WalkSpeed/16)
  1524.             local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  1525.             RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-7+2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha)
  1526.             NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1527.             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)),Alpha)
  1528.             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)),Alpha)
  1529.             LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  1530.             RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  1531.         elseif(State == 'Walk')then
  1532.             local wsVal = 7 / (Hum.WalkSpeed/8)
  1533.             local Alpha = math.min(.3 * (Hum.WalkSpeed/8),1)
  1534.             RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-5-2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha)
  1535.             NK.C0 = NK.C0:lerp(NKC0,Alpha)
  1536.             LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,-.1*M.C(Sine/wsVal))*CF.A(M.R(37*M.C(Sine/wsVal)),0,M.R(-5)),Alpha)
  1537.             RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,.1*M.C(Sine/wsVal))*CF.A(M.R(-37*M.C(Sine/wsVal)),0,M.R(5)),Alpha)
  1538.             LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  1539.             RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  1540.         elseif(State == 'Jump')then
  1541.             local Alpha = .1
  1542.             Change = .5
  1543.             local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  1544.             LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(165+.25*M.C(Sine/6)),0,0),Alpha)
  1545.             RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(165+.25*M.C(Sine/6)),0,0),Alpha)
  1546.             RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1547.             NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1548.             LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1549.             RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-.5)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1550.         elseif(State == 'Fall')then
  1551.             local Alpha = .1
  1552.             local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  1553.             LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(165+.25*M.C(Sine/6))+idk,0,0),Alpha)
  1554.             RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(165+.25*M.C(Sine/6))+idk,0,0),Alpha)
  1555.             RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1556.             NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  1557.             LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  1558.             RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-.5)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  1559.         elseif(State == 'Paralyzed')then
  1560.             -- paralyzed
  1561.         elseif(State == 'Sit')then
  1562.             -- sit
  1563.         end
  1564.     end
  1565.    
  1566. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement