Advertisement
InTesting

Cat Edit-able (VSB friendly)

Feb 1st, 2020
434
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 118.29 KB | None | 0 0
  1. Settings = {
  2.     WalkSound_1 = 510932495,
  3.     BrushSound_1 = 131245944,
  4.     LickSound_1 = 1162994853,
  5.     PurrSound_1 = 2046502717,
  6.     DashSound_1 = 1295417556,
  7.     SmallSquishSound_1 = 162180713,
  8.     BigSquishSound_1 = 1139819274,
  9.    
  10.     Pants_Id = nil,
  11.     Shirt_Id = nil,
  12.     -- Pants and Shirts must be templates
  13.     Destroy_ShirtGrahpic_Bool = true,
  14.     SkinColor = nil ,
  15.     CustomAccessoriesDestroyed = false;
  16.     Cat_Ears =
  17.         (function()local a=Instance.new("Part");a.Parent=owner.Character;
  18.         a.Size=Vector3.new(1.25, 1.13, 1.14);a.CanCollide=false;a.Massless=true;
  19.         local b=Instance.new("SpecialMesh");b.Scale=Vector3.new(0.5, 0.5, 0.5);
  20.         b.MeshId='http://www.roblox.com/asset/?id=361948302';
  21.         b.TextureId='rbxassetid://6347925';b.Parent=a;local c=Instance.new("Weld");
  22.         c.Part0=a;c.C0=CFrame.new(8.65838956e-09,-.200000286,-.15027225,1, 7.87137555e-09,-3.26223034e-24,-7.87137555e-09,1,-4.1444221e-16,0,4.1444221e-16,1);
  23.         c.C1=CFrame.new(0, 0.600000024, 0, 1, 0, 0, 0, 1, 0, 0, 0,1);c.Parent=a;
  24.         return a;end)(),
  25.     Cat_Tail = (function()local a=Instance.new("Part");a.Parent=owner.Character;
  26.         a.Size=Vector3.new(0.99, 2.03, 2.45);a.CanCollide=false;a.Massless=true;
  27.         local b=Instance.new("SpecialMesh");a.Name='FurryCatTail2';
  28.         b.MeshId='http://www.roblox.com/asset/?id=170939831';
  29.         b.TextureId='http://www.roblox.com/asset/?id=170939093';b.Parent=a;
  30.         local c=Instance.new("Weld");c.Part0=a;
  31.         c.C0=CFrame.new(-0.199999884, -0.900000334, -2.30027223, 1, 0, 0, 0, 1, 0, 0, 0, 1);
  32.         c.C1=CFrame.new(-1.32219867e-07, -0.199972257, -0.50000006, 1, 0, 0, 0, 1, 0, 0, 0, 1);c.Parent=a;return a;end)(),
  33.     Table_Faces = {
  34.         OwO = 168044187,
  35.         happyOwO = 1499379884,
  36.         hboogyOwO = 3198459135,
  37.         hboogyOwOhappy = 3198550461,
  38.         hboogyOwOlick = 3198549658,
  39.         },
  40.    
  41.    
  42.     New_JumpPower = 70,
  43.    
  44.     LeapModeEnabled = true;
  45.     HugModeEnabled = 'NonPlayers';
  46.     -- Bools or 'NonPlayers'
  47.    
  48.     }
  49. --// End Settings
  50. local Asset_Prefix=
  51.     'rbxassetid://'
  52. local function Get_Components_Of_Mouse(player)
  53.     local pchar = player.Character
  54.     if pchar then
  55.         local Remote = pchar:FindFirstChild('RE_Mouse')or
  56.             Instance.new("RemoteEvent",pchar)
  57.         Remote.Name = 'RE_Mouse'
  58.        
  59.         Remote.Parent = NLS(
  60.             [[
  61. ContextActionService = game:GetService("ContextActionService")
  62. Players = game:GetService("Players")
  63. LocalPlayer = Players.LocalPlayer
  64. Mouse = LocalPlayer:GetMouse()
  65. Mouse.TargetFilter = nil
  66. Character = nil
  67. while wait() do
  68.     if LocalPlayer.Character ~= nil then
  69.         Character = LocalPlayer.Character
  70.         break
  71.     end
  72. end
  73. if Character:FindFirstChild("Humanoid") then
  74.     if Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  75.         error("YOU FOOL! This script only works with R6 characters. Don't you know how hard it is to animate Motor6Ds here? I can't manage 15 body parts!")
  76.         while true do
  77.             wait()
  78.         end
  79.     end
  80. end
  81.  
  82. RemoteEvent = script:WaitForChild'RE_Mouse'
  83. RemoteEvent:FireServer(tostring(math.random(1, 10000)))
  84. function GunHold(actionname, userinputstate, inputobject)
  85.     if userinputstate == Enum.UserInputState.Begin then
  86.         RemoteEvent:FireServer("gunhold")
  87.     end
  88. end
  89.  
  90. function ExplosionShot(actionname, userinputstate, inputobject)
  91.     if userinputstate == Enum.UserInputState.Begin then
  92.         RemoteEvent:FireServer("explosionfire", Mouse.Hit.p)
  93.     end
  94. end
  95.  
  96. function Hug(actionname, userinputstate, inputobject)
  97.     if userinputstate == Enum.UserInputState.Begin then
  98.         RemoteEvent:FireServer("tacklehug")
  99.     end
  100. end
  101.  
  102. function StopIt(actionname, userinputstate, inputobject)
  103.     if userinputstate == Enum.UserInputState.Begin then
  104.         RemoteEvent:FireServer("stoptacklehug")
  105.     end
  106. end
  107.  
  108. function RunSwitch(actionname, userinputstate, inputobject)
  109.     if userinputstate == Enum.UserInputState.Begin then
  110.         RemoteEvent:FireServer("startrunning")
  111.     elseif userinputstate == Enum.UserInputState.End then
  112.         RemoteEvent:FireServer("stoprunning")
  113.     end
  114. end
  115.  
  116. function MusicSwitch(actionname, userinputstate, inputobject)
  117.     if userinputstate == Enum.UserInputState.Begin then
  118.         RemoteEvent:FireServer("musicswitch")
  119.     end
  120. end
  121.  
  122. function SelfTerminate()
  123.     while wait() do
  124.         if Character == nil then
  125.             wait()
  126.             script:Destroy()
  127.         end
  128.     end
  129. end
  130.  
  131. Mouse.Button1Down:Connect(function()
  132.     RemoteEvent:FireServer("gunfire", Mouse.Hit.p)
  133. end)
  134.  
  135. RemoteEvent.OnClientEvent:Connect(function(argument)
  136.     if argument == "folderexists" then
  137.         Mouse.TargetFilter = game.Workspace.ShotFolder
  138.     end
  139. end)
  140.  
  141. spawn(SelfTerminate)
  142. wait(1)
  143. --RemoteEvent:FireServer("tacklehug")
  144.  
  145. ContextActionService:BindAction("gunhold", GunHold, false, Enum.KeyCode.V)
  146. ContextActionService:BindAction("gunexplosionfire", ExplosionShot, false, Enum.KeyCode.Z)
  147. ContextActionService:BindAction("runswitch", RunSwitch, false, Enum.KeyCode.LeftShift)
  148. ContextActionService:BindAction("musicswitch", MusicSwitch, false, Enum.KeyCode.M)
  149. ContextActionService:BindAction("tacklehug", Hug, false, Enum.KeyCode.C)
  150. ContextActionService:BindAction("stoptacklehug", StopIt, false, Enum.KeyCode.B)
  151.  
  152.             ]]
  153.         ,pchar)
  154.         repeat wait(1)until Remote;
  155.         return Remote
  156.     else
  157.         error('Best to actually put your character In the game.')
  158.     end
  159. end
  160.  
  161. --// Start
  162. RemoteEvent,Debris,PhysicsService,TweenService,Face=
  163.     (function()local a=Get_Components_Of_Mouse(owner);
  164.     a.Name="PlayerWaiting..";a.Parent=script.Parent;return a;end)(),
  165.     game:GetService("Debris"),game:GetService("PhysicsService"),
  166.     game:GetService("TweenService"),function(facetype)
  167.         for _,v in pairs(Character.Head:GetChildren())do
  168.         if v:IsA'Decal'then v:Destroy();end;end;
  169.         local New_Decal=Instance.new('Decal');
  170.         New_Decal.Texture=Asset_Prefix..Settings.Table_Faces[facetype];
  171.         New_Decal.Parent=Character.Head;return New_Decal;end;
  172.  
  173.  
  174. success,failure=pcall(function()
  175.     PhysicsService:CreateCollisionGroup("TopLimbs");
  176.     PhysicsService:CreateCollisionGroup("BottomLimbs");
  177.     PhysicsService:CreateCollisionGroup("BignSmallLimbs");
  178.     PhysicsService:CollisionGroupSetCollidable("TopLimbs", "BignSmallLimbs", false);
  179.     PhysicsService:CollisionGroupSetCollidable("BottomLimbs", "BignSmallLimbs", false);
  180. end);
  181. interruptingaction,shiftdown,walking,running,action,enabled,shotavailable,
  182.     GunEquipped,shoutplaying,shooting,music,freefall,grabbed,on,Orange=
  183.     false,false,false,false,true,false,true,false,false,false,false,false,false,
  184.     'true',Color3.fromRGB(244,119,70);
  185.  
  186. Character,Playerr,Tail,RShoulder,LShoulder,RHip,LHip,Neck,RJoint=
  187.     nil,nil,nil,nil,nil,nil,nil,nil,nil;
  188.  
  189. Gun,GunMesh,GunGradient,GunWeld,Explosion1,Explosion2,SightModel=
  190.     (function()local a=Instance.new("Part");a.Size=Vector3.new(1, 0.4, 1);
  191.     a.CanCollide=false;return a;end)(),(function()
  192.     local a=Instance.new("SpecialMesh");
  193.     a.MeshId="http://www.roblox.com/asset/?id=4372594";
  194.     a.Scale=Vector3.new(1.2, 1.2, 1.2);a.VertexColor=Vector3.new(1, 1, 1);
  195.     return a;end)(),(function()local a=Instance.new("Decal");
  196.     a.Color3=Color3.new(1, 1, 1);
  197.     a.Texture="http://www.roblox.com/asset/?id=156579757";a.Face="Top";return a;   
  198.     end)(),(function()local a=Instance.new("Weld");
  199.     a.C1=CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1);
  200.     a.C0=CFrame.new(0.00025177002, -1.30018997, 4.76837158e-05, 1.00000012, -4.7326088e-05, 8.3854422e-05, -8.38935375e-05, 9.13441181e-06, 1, -4.73186374e-05, -1, 9.13441181e-06);return a;end)(),
  201.     (function()local a=Instance.new("Part");a.Shape="Ball";a.Transparency=0.4;
  202. a.Color=Color3.fromRGB(226,155,64);a.Size=Vector3.new(20.65, 20.65, 20.65);
  203.     a.CanCollide=false;a.Material="SmoothPlastic";a.Anchored=true;return a;end)(),
  204.     (function()local a=Instance.new("Part");a.Shape="Ball";a.Transparency=0.5;
  205.     a.Color=Color3.fromRGB(140,140,22);a.Size=Vector3.new(15.05, 15.05, 15.05);
  206.     a.CanCollide=false;a.Material="SmoothPlastic";a.Anchored=true;return a;end)(),
  207.     (function()local a=Instance.new("Model");a.Name="LaserSight";return a;end)();
  208.  
  209. GunMesh.Parent=Gun;GunGradient.Parent=Gun;GunWeld.Parent=Gun;
  210.  
  211. GunHole,GunSightBall,GunSightCylinder,GunLaser1,GunLaser2=
  212.     (function()local a=Instance.new("Part");a.Shape="Cylinder";
  213.     a.Material="SmoothPlastic";a.Size=Vector3.new(0.15, 0.1, 0.1);a.CanCollide=false;
  214.     a.Anchored=false;a.Color=Color3.fromRGB(17,17,17);a.Parent=SightModel;
  215.     return a;end)(),(function()local a=Instance.new("Part");a.Shape="Ball";
  216.     a.Material="SmoothPlastic";a.Size=Vector3.new(0.35, 0.35, 0.35);
  217.     a.CanCollide=false;a.Anchored=false;a.Color=Color3.fromRGB(99,95,98);
  218.     a.Parent=SightModel;return a;end)(),(function()local a=Instance.new("Part");
  219.     a.Shape="Cylinder";a.Material="SmoothPlastic";
  220.     a.Size=Vector3.new(0.35, 0.35, 0.35);a.CanCollide=false;a.Anchored=false;
  221.     a.Color=Color3.fromRGB(99,95,98);a.Parent=SightModel;return a;end)(),(function()
  222.     local a=Instance.new("Part");a.Shape="Cylinder";a.Material="SmoothPlastic";
  223.     a.Size=Vector3.new(2.8, 0.05, 0.05);a.CanCollide=false;a.Anchored=false;
  224.     a.Color=Color3.new(1, 0, 0);a.Transparency=1;a.Parent=SightModel;
  225.     return a;end)();(function()local a=Instance.new("Part");a.Shape="Cylinder";
  226.     a.Material="SmoothPlastic";a.Size=Vector3.new(0.975, 0.05, 0.05);
  227.     a.CanCollide=false;a.Anchored=false;a.Color=Color3.new(1, 0, 0);
  228.     a.Transparency=1;a.Parent=SightModel;return a;end)();
  229. GunLaser3,Laser1Weld,Laser2Weld,HoleWeld,SightBallWeld,CylinderToGunWeld,
  230.     TailWeld,Ring=
  231.     (function()local a=Instance.new("Part");a.Shape="Cylinder";
  232.     a.Material="SmoothPlastic";a.Size=Vector3.new(0.975, 0.05, 0.05);
  233.     a.CanCollide=false;a.Anchored=false;a.Color=Color3.new(1, 0, 0);
  234.     a.Transparency=1;a.Parent=SightModel;return a;end)(),
  235.     (function()local a=Instance.new("Weld");
  236.     a.C0=CFrame.new(1.36249876, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1);
  237.     a.Part0=GunHole;a.Part1=GunLaser1;a.Parent=SightModel;return a;end)(),
  238.     (function()local a=Instance.new("Weld");
  239.     a.C0=CFrame.new(1.88750744, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1);a.Part0=GunLaser1;
  240.     a.Part1=GunLaser2;a.Parent=SightModel;return a;end)(),(function()
  241.     local a=Instance.new("Weld");
  242.     a.C0=CFrame.new(0.125, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1);
  243.     a.Part0=GunSightCylinder;a.Part1=GunHole;a.Parent=SightModel;return a;end)(),
  244.     (function()local a=Instance.new("Weld");
  245.     a.C0=CFrame.new(-0.175001144, 5.96046448e-08, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1);
  246.     a.Part0=GunSightCylinder;a.Part1=GunSightBall;a.Parent=SightModel;return a;
  247.     end)(),(function()local a=Instance.new("Weld");
  248.     a.C0=CFrame.new(0.0250000954, 0.0750001669, -0.712492466, -8.6274035e-08, 1.75032611e-07, 1, 3.56865471e-08, 1, -1.75032596e-07, -1, 3.56865257e-08, -8.62740421e-08);
  249.     a.Part1=GunSightCylinder;a.Parent=SightModel;return a;end)(),
  250.     (function()local a=Instance.new("Weld");
  251.     a.C1=CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1);return a;end)(),
  252.     (function()local a=Instance.new("Part");a.Name="Ring";a.Transparency=0.5;
  253.     a.Anchored=true;a.CanCollide=false;a.Size=Vector3.new(0.01, 0.01, 0.01);
  254.     return a;end)();
  255.    
  256. Laser3Weld,RingMesh=
  257.     (function()local a=Instance.new("Weld");
  258.     a.C0=CFrame.new(0.975002289, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1);a.Part0=GunLaser2;
  259.     a.Part1=GunLaser3;a.Parent=SightModel;return a;end)(),(function()
  260.     local a=Instance.new("SpecialMesh");a.MeshId="rbxassetid://3270017";
  261.     a.Scale=Vector3.new(2, 2, 1);a.Parent=Ring;return a;end)()
  262.    
  263. possibleshotnoise,possiblefannoise,gunraycastignorelist,walksound,brushsound,
  264.     licksound,purring,GunLoadSound,masksound,equipsound,explosionsound,
  265.     ShotMarker,Useless,Kill1,Kill2,Kill3,DashJump,SmallSquish,BigSquish,
  266.     BodyFall,Grab,FlashlightClick,YoshisIsland=
  267.     {"rbxassetid://71526392","rbxassetid://71526597","rbxassetid://78407890",
  268.     "rbxassetid://84318179","rbxassetid://19112123"},{"ahh~ soft~",
  269.      "you're really soft owo","squishy.. eee..","squishy~","this is fun~",
  270.     "so fluffy..", "you're a nice stress reliever..","please..?",
  271.     "i have a lot of feelings now >w<", "aaahhhhhhh!", "i don't want to let go..!",
  272.     "you're so cute!", "aaaaaaaaaaahhhhh~","soft owo", "i can't stop >w<",
  273.     "i love you!", "fluffy owo"},{},
  274.     --// Calm down hboogy. -._-. Jeez
  275.     --// My Username is literally SoftlockedUnderZero
  276.     (function()local a=Instance.new("Sound");
  277.     a.SoundId="rbxassetid://"..Settings.WalkSound_1;a.Name="Walk";a.Volume=3;
  278.     return a;end)(),(function()local a=Instance.new("Sound");
  279.     a.SoundId="rbxassetid://".. Settings.BrushSound_1;a.Name="Brush";a.Volume=0.5;
  280.     return a;end)(),(function()local a=Instance.new("Sound");
  281.     a.SoundId="rbxassetid://"..Settings.LickSound_1;a.Name="Lick";
  282.     a.PlaybackSpeed=1.5;a.Volume=0.7;return a;end)(),(function()
  283.     local a=Instance.new("Sound");a.SoundId="rbxassetid://".. Settings.PurrSound_1;
  284.     a.Name="c-cat_noises";a.Volume=2;a.Looped=true;return a;end)(),(function()
  285.     local a=Instance.new("Sound");
  286.     a.SoundId="rbxassetid://361550324"; -- Gunslide
  287.     a.Name="GunSlide";a.Volume=2;return a;
  288.     end)(),(function()local a=Instance.new("Sound");
  289.     a.SoundId="rbxassetid://2706199011";a.Name="Mask";a.Volume=2;return a;
  290.     end)(),(function()local a=Instance.new("Sound");
  291.     a.SoundId="rbxassetid://1498950813";a.Name="Equip";a.Volume=2;return a;end)(),
  292.     (function()local a=Instance.new("Sound");a.SoundId="rbxassetid://1776706665";
  293.     a.Volume=4;a.PlayOnRemove=true;return a;end)(),(function()
  294.     local a=Instance.new("Sound");a.Name="ShotMarker";
  295.     a.SoundId="rbxassetid://296102734";a.Volume=3;a.PlayOnRemove=true;return a;
  296.     end)(),(function()local a=Instance.new("Sound");a.Name="Useless";
  297.     a.SoundId="rbxassetid://3034338716";a.Volume=3;a.PlayOnRemove=true;
  298.     return a;end)(),(function()local a=Instance.new("Sound");a.Name="Kill1";
  299.     a.SoundId="rbxassetid://449759304";a.Volume=0;return a;end)(),(function()
  300.     local a=Instance.new("Sound");a.Name="Kill2";
  301.     a.SoundId="rbxassetid://1854510736";a.Volume=0;return a;end)(),(function()
  302.     local a=Instance.new("Sound");a.Name="Kill3";
  303.     a.SoundId="rbxassetid://1278706842";a.Volume=0;return a;end)(),
  304.     (function()local a=Instance.new("Sound");a.Name="DashJump";
  305.     a.SoundId="rbxassetid://"..Settings.DashSound_1;a.Volume=2;return a;end)(),
  306.     (function()local a=Instance.new("Sound");a.Name="SmallSquish";
  307.     a.SoundId="rbxassetid://"..Settings.SmallSquishSound_1;a.Volume=1;return a;
  308.     end)(),(function()local a=Instance.new("Sound");a.Name="BigSquish";
  309.     a.SoundId="rbxassetid://".. Settings.BigSquishSound_1;a.Volume=0.5;
  310.     return a;end)(),(function()local a=Instance.new("Sound");
  311.     a.Name="BodyFall";a.SoundId="rbxassetid://178646271";a.Volume=2;return a;
  312.     end)(),(function()local a=Instance.new("Sound");a.Name="Grab";
  313.     a.SoundId="rbxassetid://260411131";a.Volume=1.5;return a;end)(),
  314.     (function()local a=Instance.new("Sound");a.Name="FlashClick";
  315.     a.SoundId="rbxassetid://242135745";a.Volume=4;return a;end)(),(function()
  316.     local a=Instance.new("Sound");a.Name="YoshisIsland";
  317.     a.SoundId="rbxassetid://2673343452";a.Volume=2;return a;end)();
  318.  
  319. lerpintensity,gunshotdamage,headshotdamage,explosionshotdamage,jumppower=
  320.     .4,10,21,41,Settings.New_JumpPower;
  321.  
  322. RemoteEvent.OnServerEvent:Connect(function(player, contact)
  323.     if not enabled then Playerr=player;repeat wait();until player.Character;
  324.     Character=player.Character;gunraycastignorelist={Gun, Character};
  325.         if not Character.Head:FindFirstChild("Typing")then
  326.             local ClickTyping=Character.Head:FindFirstChild'Typing'or
  327.                 (function()local a=Instance.new("Sound");a.Name="Typing";
  328.             a.SoundId="rbxassetid://903267862";a.Parent=Character.Head;return a;
  329.             end)();
  330.             walksound.Parent=Character.Torso;masksound.Parent=Character.Torso;
  331.             equipsound.Parent=Character.Torso;Kill1.Parent=Character.Head;
  332.             Kill2.Parent=Character.Head;Kill3.Parent=Character.Head;
  333.             YoshisIsland.Parent=Character.Torso;DashJump.Parent=Character.Torso;
  334.             BigSquish.Parent=Character.Torso;SmallSquish.Parent=Character.Torso;
  335.             BodyFall.Parent=Character.Torso;Grab.Parent=Character.Torso;
  336.             brushsound.Parent=Character.Head;purring.Parent=Character.Head;
  337.             licksound.Parent=Character.Head;FlashlightClick.Parent=Gun;
  338.            
  339.             local Pants,Shirt,ShirtGraphic,Hum,Head,Torso=
  340.                 Character:FindFirstChildWhichIsA'Pants'or(function()
  341.                     local a=Instance.new("Pants");a.Parent=Character;return a;
  342.                 end)(),Character:FindFirstChildWhichIsA'Shirt'or(function()
  343.                     local a=Instance.new("Shirt");a.Parent=Character;return a;
  344.                 end)(),Character:FindFirstChildWhichIsA'ShirtGraphic',
  345.                 Character:FindFirstChildWhichIsA'Humanoid',
  346.                 Character:WaitForChild'Head',Character:WaitForChild'Torso';
  347.             local Head_Color=Head.Color;
  348.            
  349.             if ShirtGraphic and Settings.Destroy_ShirtGrahpic_Bool then
  350.                 ShirtGraphic:Destroy();end;
  351.             if Pants and Settings.Pants_Id then
  352.                 Pants.PantsTemplate=Asset_Prefix..Settings.Pants_Id end;
  353.             if Shirt and Settings.Shirt_Id then
  354.                 Shirt.ShirtTemplate=Asset_Prefix..Settings.Shirt_Id end;
  355.             if Settings.SkinColor then for _,v in pairs(Character:GetChildren())do
  356.                 if v:IsA'Part'then v.Color=Settings.SkinColor;end;end;end;
  357.             if Settings.CustomAccessoriesDestroyed then
  358.                 for _,v in pairs(Character:GetChildren())do if v:IsA'Accessory'then
  359.             v:Destroy();end;end;end;
  360.            
  361.             Hum.DisplayDistanceType='None';wait();
  362.             local Ears,Tail = Settings.Cat_Ears,Settings.Cat_Tail;
  363.             if Ears then
  364.                 Ears.Parent=Head;
  365.                 Ears:FindFirstChildWhichIsA'Weld'.Part1=Head;
  366.                 Ears.Mesh.VertexColor=
  367.                     Vector3.new(Head_Color.r/255,Head_Color.g/255,Head_Color.b/255);
  368.             end;
  369.             Tail.Parent=Torso;Tail:FindFirstChildWhichIsA'Weld'.Part1=Torso;
  370.                    
  371.             for _,v in pairs(Head:GetChildren())do if v:IsA"Decal" then
  372.                 if v.Name~="hboogyOwOhappy"and v.Name~="hboogyOwO"and
  373.                     v.Name~="hboogyOwOlick"then v:Destroy();end;end;end;
  374.         end;wait();if Character:FindFirstChild("FurryCatTail2",true)then
  375.             local FCT=Character:FindFirstChild("FurryCatTail2",true);
  376.             FCT.Parent=game:GetService("Lighting");
  377.             pcall(function()FCT.Name="Tail";FCT.Parent=Character;end);
  378.             Tail=Character:FindFirstChild("Tail");Tail.Size=Vector3.new(.2,.2,.2);
  379.             wait();if Tail:FindFirstChildOfClass("Weld")then
  380.                 Tail:FindFirstChildOfClass("Weld"):Destroy();end;
  381.             Tail.Mesh.Offset=Vector3.new(0.2, 0.95, 1.3);
  382.             TailWeld.C0=CFrame.new(-9.53674316e-07,-.899998903,.500267029,1,0,0,0,1,0,0,0,1);
  383.             TailWeld.Part0=Character.Torso;TailWeld.Part1=Tail;TailWeld.Parent=Tail;
  384.             FCT.Parent=Character;end;
  385.         local Hum,Torso =
  386.             Character:FindFirstChildWhichIsA'Humanoid',
  387.             Character:FindFirstChild'Torso';
  388.         Hum.BreakJointsOnDeath=false;Hum.JumpPower=jumppower;
  389.         RemoteEvent.Name=contact;RShoulder=Torso["Right Shoulder"];
  390.         LShoulder=Torso["Left Shoulder"];RHip=Torso["Right Hip"];
  391.         LHip=Torso["Left Hip"];Neck=Torso.Neck;
  392.         RJoint=Character.HumanoidRootPart.RootJoint;
  393.         GunWeld.Part0=Character["Right Arm"];GunWeld.Part1=Gun;
  394.         CylinderToGunWeld.Part0=Gun;SightModel.Parent=Gun;
  395.         Character:WaitForChild("Animate"):Destroy();
  396.         local animtracks=Character.Humanoid:GetPlayingAnimationTracks();
  397.         for _,v in pairs(animtracks)do v:Stop();v:Remove();end;
  398.         Hum.WalkSpeed=10;Hum.JumpPower=jumppower;Face("hboogyOwO");action=false
  399.         IdleAnimation();enabled=true;end;end);while wait()do if Character then
  400.     break;end;end;
  401.  
  402.  
  403. function FallingAnimation()
  404.     lerpintensity=0.2;action=true;running=false;
  405.     while true do if not freefall then action=false;wait();
  406.         if GunEquipped then
  407.             if running then spawn(GunRunAnimation);
  408.             elseif walking and not running then spawn(GunWalkAnimation);
  409.             elseif not walking then spawn(GunIdleAnimation);
  410.             end;
  411.         elseif not GunEquipped then
  412.             if walking then spawn(WalkAnimation);
  413.             elseif not walking then spawn(IdleAnimation);end;
  414.         break;
  415.         end;
  416.     end;
  417.     if not freefall then action=false;return end;wait();
  418.         lerpintensity=.3;
  419.         if Character.Torso.Velocity.Y < 0 then
  420.             TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0,0,0,1,0,0,0,-.0871549845,.99619472,0,-.99619472,-.0871549845),lerpintensity);
  421.             TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07,-.899998903,.500267029,1,0,0,0,1,0,0,0,1),lerpintensity);
  422.   RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(.400000572,1.30000114, 9.53674316e-07, -0.022557538, -0.0841860026, 0.996194601, -0.257833898, -0.962250412, -0.0871557221, 0.965926051, -0.258818775, 0), lerpintensity)
  423.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.399997711, 1.30000305, -3.81469727e-06, -0.0298090354, 0.0818996206, -0.996194601, 0.340718806, -0.936117053, -0.0871557221, -0.939692795, -0.342020392, -0), lerpintensity)
  424.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.5, 0.926279843, 0.0961994305, 0.0663478896, 0.142828107, 0.987521231, 0.334035039, 0.929415584, -0.156866685, -0.940222502, 0.340274423, 0.0139551731), lerpintensity)
  425.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 0.931063533, 0.0745929778, 0.0663478822, -0.142828137, -0.987521231, -0.334034681, 0.929415822, -0.156866714, 0.940222681, 0.340274096, 0.0139552038), lerpintensity)
  426.   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.996194661, -0.0871557891, 0, -0.0871557891, -0.996194661), lerpintensity)
  427.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, -0.545396805, 0.604500771, -0.99999994, 0, 0, 0, -0.866025329, -0.500000298, 0, -0.500000298, 0.866025329), lerpintensity)
  428.             else
  429.                  --rising
  430.                      RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.400000095, 1.30000114, -1.90734863e-06, 0.0225575734, -0.0841859803, 0.99619472, 0.257834256, -0.962250173, -0.087155737, 0.965925813, 0.258819193, 0), lerpintensity)
  431.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.399998188, 1.30000019, 0, 0.0225575622, 0.0841860026, -0.99619472, -0.257834107, -0.962250233, -0.0871557593, -0.965925813, 0.258818954, -0), lerpintensity)
  432.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.5, 0.926279843, 0.0961994305, 0.0663478896, 0.142828107, 0.987521231, -0.00768500799, 0.989745677, -0.142633513, -0.997766912, 0.00187429786, 0.0667651743), lerpintensity)
  433.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 0.931063533, 0.0745929778, 0.0663478822, -0.142828137, -0.987521231, 0.00768518727, 0.989745855, -0.142633542, 0.997766972, 0.00187411904, 0.0667651817), lerpintensity)
  434.   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.939692616, 0.342020094, 0, 0.342020094, -0.939692616), lerpintensity)
  435.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, -0.0311697274, -0.00833471864, -1, 0, 0, 0, -0.906307936, 0.422617972, 0, 0.422617972, 0.906307936), lerpintensity)
  436.   TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.499999166, 0.866025865, 0, -0.866025865, -0.499999166), lerpintensity)
  437.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  438.         end
  439.     end
  440. end
  441.  
  442. function IdleAnimation()
  443.     lerpintensity=0.2;Face("hboogyOwO")
  444.     Character.Humanoid.WalkSpeed=10
  445.     while true do
  446.         if walking == true or action == true or GunEquipped == true or running == true then
  447.                 break
  448.             end
  449.         for i=1, 15 do
  450.             wait()
  451.             if walking == true or action == true or GunEquipped == true or running == true then
  452.                 return
  453.             end
  454.             if i < 7 then
  455.                    TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  456.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  457.   RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.5, 1.20000005, 0, 0, 0, 1, -0.707106888, 0.707106709, 0, -0.707106709, -0.707106888, 0), lerpintensity)
  458.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.499998122, 1.20000148, -1.90734863e-06, 3.70101283e-10, 0, -1, 0.707106888, 0.707106769, 0, 0.707106769, -0.707106888, 0), lerpintensity)
  459.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.5, 0.126279831, 0.0961994305, 0.0667652041, 0.0560225844, 0.99619472, 0.76312983, 0.640341103, -0.087155737, -0.642787099, 0.766044855, 0), lerpintensity)
  460.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 0.131063491, 0.0745929778, 0.0667652115, -0.0560226105, -0.99619472, -0.763129652, 0.640341401, -0.0871557593, 0.642787337, 0.766044736, 0), lerpintensity)
  461.   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.422618061, 0.906307876, 0, 0.906307876, -0.422618061), lerpintensity)
  462.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 1.2688303, 0.591665268, -1, 0, 0, 0, -0.422618449, 0.906307697, 0, 0.906307697, 0.422618449), lerpintensity)
  463.             else
  464.                   TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807789, 0.173647702, 0, -0.173647702, 0.984807789), lerpintensity)
  465.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  466.   RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.5, 1.20000005, 0, 0, 0, 1, -0.642787874, 0.766044259, 0, -0.766044259, -0.642787874, 0), lerpintensity)
  467.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.499998122, 1.20000148, -1.90734863e-06, 3.70101283e-10, 0, -1, 0.642787755, 0.766044438, 0, 0.766044438, -0.642787755, 0), lerpintensity)
  468.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.500001192, 0.126281738, 0.0961997509, 0.0754791126, 0.0435778275, 0.99619472, 0.862730145, 0.498097032, -0.087155737, -0.499999672, 0.866025746, 1.58324838e-08), lerpintensity)
  469.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 0.131063461, 0.0745928288, 0.0754791275, -0.0435778424, -0.99619472, -0.862729967, 0.498097211, -0.0871557593, 0.499999851, 0.866025507, 1.62981451e-08), lerpintensity)
  470.   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.342020094, 0.939692616, 0, 0.939692616, -0.342020094), lerpintensity)
  471.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 1.30303288, 0.497695923, -1, 0, 0, 0, -0.342020512, 0.939692497, 0, 0.939692497, 0.342020512), lerpintensity)
  472.         end
  473.     end
  474.     end
  475.     end
  476.  
  477. function GunIdleAnimation()
  478.     lerpintensity=0.1
  479.     while true do
  480.         if walking == true or action == true or GunEquipped == false or running == true then
  481.                 break
  482.             end
  483.         for i=1, 30 do
  484.             wait()
  485.             if walking == true or action == true or GunEquipped == false or running == true then
  486.                 return
  487.             end
  488.             if i < 15 then
  489.                  TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  490.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  491.                     RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(-0.199999988, 0.500000119, -0.800000012, 0, 0.087155737, 0.99619472, -8.74227766e-08, -0.99619472, 0.087155737, 1, -8.70901076e-08, 7.61939667e-09), lerpintensity)
  492.                       LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(0.100001812, 0.691286087, 0.900381088, 0, 1, 2.98023224e-08, 0.0871555507, -2.96889162e-08, 0.99619472, 0.99619472, 2.59743782e-09, -0.0871555507), lerpintensity)
  493.                       RHip.C1=RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  494.                       LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  495.                       Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 1.71363354e-07, 1.00000012, 0, 1.00000012, -1.71363354e-07), lerpintensity)
  496.                       RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  497.             else
  498.                 TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.912786424, 0.408437282, 0, -0.408437282, 0.912786424), lerpintensity)
  499.                  TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  500.                     RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(-0.182569504, 0.300760746, -0.799999237, -7.61939578e-09, -7.4505806e-09, 1.00000012, -0.0871556401, -0.996194839, -8.08630141e-09, 0.99619472, -0.0871556476, 6.9410433e-09), lerpintensity)
  501.                       LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(0.100001812, 0.691286087, 0.900381088, -0.00759610627, 0.99619472, -0.086824052, 0.086823903, 0.0871557072, 0.992403924, 0.99619472, 2.59743782e-09, -0.0871555507), lerpintensity)
  502.                       RHip.C1=RHip.C1:Lerp(CFrame.new(0.5, 0.899999976, 0.100000001, 0, 0, 1, 0.087155737, 0.99619472, 0, -0.99619472, 0.087155737, 0), lerpintensity)
  503.                       LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 0.899999976, 0.100000001, 0, 0, -1, -0.0871555507, 0.99619472, 0, 0.99619472, 0.0871555507, 0), lerpintensity)
  504.                       Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.0871553868, 0.99619478, 0, 0.99619478, 0.0871553868), lerpintensity)
  505.                       RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 0.100000001, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  506.             end
  507.         end
  508.     end
  509. end
  510.  
  511. function WalkAnimation()
  512.     lerpintensity=0.2
  513.     Character.Humanoid.WalkSpeed=10
  514.     while true do
  515.         if walking == false or action == true or running == true then
  516.                 break
  517.             end
  518.         for i=1, 40 do
  519.             wait()
  520.             if walking == false or action == true or running == true then
  521.                 return
  522.             end
  523.             if i < 10 then
  524.                    RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.5, 1.11069298, 0.00284805149, -0.0113444775, -0.0275930464, 0.999554873, -0.995644093, -0.0922008753, -0.0138453478, 0.0925418735, -0.99535799, -0.0264268741), lerpintensity)
  525.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.499998093, 0.914716721, 0.236166, 0, 0, -0.99999994, 0.642787814, 0.766044438, 0, 0.766044438, -0.642787814, 0), lerpintensity)
  526.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.400000006, 0.826279819, 0.296199441, -0.107509531, 0.0554968752, 0.992653906, -0.990255713, -0.0948712975, -0.10194578, 0.0885166675, -0.993941426, 0.0651556775), lerpintensity)
  527.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 0.731063485, 0.174592972, 0.0667652488, -0.0560226068, -0.99619472, 0.500505805, 0.865601063, -0.015134437, 0.863155007, -0.49759084, 0.0858316869), lerpintensity)
  528.   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.499999762, 0, -1, 0, 0, 0, 0.965925813, 0.258818835, 0, 0.258818835, -0.965925813), lerpintensity)
  529.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(-1.90734863e-06, 0.690120697, 0.826452255, -0.99619472, 0, 0.087155737, 0.0225575455, -0.965925872, 0.257833958, 0.0841859803, 0.258818835, 0.962250233), lerpintensity)
  530.   TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.984807789, 0.167731062, -0.0449433662, 0.0868238732, -0.251481235, 0.963959992, 0.150383621, -0.953217447, -0.26222375), lerpintensity)
  531.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  532.                 if i == 1 then
  533.                     walksound:Play()
  534.                 end
  535.             elseif i < 20 and i >= 10 then
  536.                   RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.499998093, 1.11069322, 0.00284767151, 0.00104822312, -0.0373455919, 0.99930197, -0.985693932, 0.168385059, 0.00732677151, -0.168541074, -0.985013485, -0.0366348289), lerpintensity)
  537.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.499996185, 1.10000134, 0, -0.00256139738, 0.00549332425, -0.999981701, 0.996196687, 0.0871093869, -0.00207318831, 0.0870963484, -0.996183634, -0.00569554931), lerpintensity)
  538.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.499996185, 0.726279974, 0.296193689, 0.0230207816, 0.0737333521, 0.997012854, -0.939751029, 0.341840804, -0.00358191691, -0.341083586, -0.936860859, 0.0771604925), lerpintensity)
  539.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.384763718, 0.632380009, 0.257478714, -0.0835437849, -0.0496501997, -0.995266914, 0.936419606, 0.337650985, -0.0954484046, 0.340791643, -0.939961255, 0.0182848126), lerpintensity)
  540.   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.499999762, 0, -1, 0, 0, 0, 0.965925813, 0.258818835, 0, 0.258818835, -0.965925813), lerpintensity)
  541.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(-1.90734863e-06, 0.690116882, 0.826450348, -0.99984777, 0, 0.0174524188, 0.00451701321, -0.965925872, 0.258779436, 0.0168577358, 0.258818835, 0.965778768), lerpintensity)
  542.   TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.999999881, -0.000320188352, -0.00100398809, 0.000883448869, -0.264579654, 0.964363515, -0.000574578531, -0.964363813, -0.264579356), lerpintensity)
  543.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  544.             elseif i > 20 and i <= 30 then
  545.               RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.5, 1.11069298, 0.00284805149, -0.0113444775, -0.0275930464, 0.999554873, -0.822192252, 0.569173992, 0.006380721, -0.569096625, -0.821753919, -0.0291437767), lerpintensity)
  546.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.499998093, 1.10000169, -1.91479921e-06, 0, 0, -0.99999994, 0.965925753, -0.258819461, 0, -0.258819461, -0.965925753, 0), lerpintensity)
  547.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.5, 0.726279795, 0.196199447, 0.0667652041, 0.0560225844, 0.99619472, -0.573830307, 0.818938911, -0.00759609137, -0.816248238, -0.571139574, 0.0868240744), lerpintensity)
  548.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.400000006, 0.831063449, 0.274592996, -0.0969493613, 0.00382048264, -0.995281994, 0.93431288, -0.344288349, -0.0923319981, -0.343016714, -0.938856363, 0.0298090242), lerpintensity)
  549.   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.499999762, 0, -1, 0, 0, 0, 0.965925813, 0.258818835, 0, 0.258818835, -0.965925813), lerpintensity)
  550.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 0.69011879, 0.826451302, -0.99619472, 0, -0.087155737, -0.0225575455, -0.965925872, 0.257833958, -0.0841859803, 0.258818835, 0.962250233), lerpintensity)
  551.   TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.939692616, -0.330366075, 0.0885212496, -0.171009839, -0.229692325, 0.958121657, -0.296198249, -0.915477872, -0.272336036), lerpintensity)
  552.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  553.                 if i == 21 then
  554.                     walksound:Play()
  555.                 end
  556.             else
  557.                     RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.499998093, 1.11069322, 0.00284767151, 0.00104822312, -0.0373455919, 0.99930197, -0.985693932, 0.168385059, 0.00732677151, -0.168541074, -0.985013485, -0.0366348289), lerpintensity)
  558.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.499996185, 1.10000134, 0, -0.00256139738, 0.00549332425, -0.999981701, 0.996196687, 0.0871093869, -0.00207318831, 0.0870963484, -0.996183634, -0.00569554931), lerpintensity)
  559.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.499996185, 0.726279974, 0.296193689, 0.0230207816, 0.0737333521, 0.997012854, -0.939751029, 0.341840804, -0.00358191691, -0.341083586, -0.936860859, 0.0771604925), lerpintensity)
  560.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.384763718, 0.632380009, 0.257478714, -0.0835437849, -0.0496501997, -0.995266914, 0.936419606, 0.337650985, -0.0954484046, 0.340791643, -0.939961255, 0.0182848126), lerpintensity)
  561.   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.499999762, 0, -1, 0, 0, 0, 0.965925813, 0.258818835, 0, 0.258818835, -0.965925813), lerpintensity)
  562.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(-1.90734863e-06, 0.690116882, 0.826450348, -0.99984777, 0, 0.0174524188, 0.00451701321, -0.965925872, 0.258779436, 0.0168577358, 0.258818835, 0.965778768), lerpintensity)
  563.   TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.999999881, -0.000320188352, -0.00100398809, 0.000883448869, -0.264579654, 0.964363515, -0.000574578531, -0.964363813, -0.264579356), lerpintensity)
  564.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  565.             end
  566.         end
  567.     end
  568. end
  569.  
  570. function Tackle()
  571.     local timeout=1
  572.     local clocktime=0
  573.     grabbed=false
  574.     running=false
  575.     local grabbedtorso=nil
  576.     if action == true or freefall == true then
  577.         return
  578.     else
  579.         action=true
  580.         lerpintensity=0.2
  581.     end
  582.     Character.Humanoid.JumpPower=0
  583.     Character.Humanoid.WalkSpeed=35
  584.     local connection
  585.     local function onTouched(part)
  586.         if part.Parent:FindFirstChildOfClass("Humanoid") then
  587.             grabbed=true
  588.             if part.Parent:FindFirstChild("Torso") then
  589.                 grabbedtorso=part.Parent.Torso
  590.             else
  591.                 grabbedtorso=part.Parent.UpperTorso
  592.             end
  593.             connection:Disconnect()
  594.         end
  595.     end
  596.     connection=Character["Left Arm"].Touched:Connect(onTouched)
  597.     local connection2
  598.     local function onTouched(part)
  599.         if part.Parent:FindFirstChildOfClass("Humanoid") then
  600.             grabbed=true
  601.             if part.Parent:FindFirstChild("Torso") then
  602.                 grabbedtorso=part.Parent.Torso
  603.             else
  604.                 grabbedtorso=part.Parent.UpperTorso
  605.             end
  606.             connection2:Disconnect()
  607.         end
  608.     end
  609.     connection2=Character["Right Arm"].Touched:Connect(onTouched)
  610.     coroutine.resume(coroutine.create(function()
  611.         repeat
  612.             wait(0.1)
  613.             clocktime=clocktime + 0.1
  614.         until clocktime >= timeout or (grabbed and Settings.HugModeEnabled);
  615.         if clocktime >= timeout then
  616.             action=false
  617.             Face("hboogyOwO")
  618.             Character.Humanoid.WalkSpeed=10
  619.             Character.Humanoid.JumpPower=jumppower
  620.             connection:Disconnect()
  621.             connection2:Disconnect()
  622.             if GunEquipped == true then
  623.                 if running == true then
  624.                     spawn(GunRunAnimation)
  625.                 elseif walking == true and running == false then
  626.                     spawn(GunWalkAnimation)
  627.                 elseif walking == false then
  628.                     spawn(GunIdleAnimation)
  629.                 end
  630.             elseif GunEquipped == false then
  631.                 if walking == true then
  632.                         spawn(WalkAnimation)
  633.                 elseif walking == false then
  634.                         spawn(IdleAnimation)
  635.                 end
  636.             end
  637.         end
  638.     end))
  639.     Face("hboogyOwOhappy")
  640.     Ring:Clone().Parent=Character.Torso
  641.     Character.Torso.Ring.CFrame=CFrame.new(Character.Torso.Position.X, Character.Torso.Position.Y, Character.Torso.Position.Z) * CFrame.new(0, -2.3, 0) * CFrame.Angles(math.rad(90), 0, 0)
  642.     local property={}
  643.     property.Scale=Vector3.new(10, 10, 1)
  644.     local TweenInf=TweenInfo.new(0.6, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
  645.     local Tween=TweenService:Create(Character.Torso.Ring.Mesh, TweenInf, property)
  646.     Character.Torso.Ring.Transparency=1
  647.     Tween:Play()
  648.     property.Scale=nil
  649.     property.Transparency=1
  650.     local TweenL=TweenService:Create(Character.Torso.Ring, TweenInf, property)
  651.     TweenL:Play()
  652.     DashJump:Play()
  653.     TweenL.Completed:Connect(function()
  654.         pcall(function()
  655.             Character.Torso.Ring:Destroy()
  656.         end)
  657.     end)
  658.     repeat
  659.         wait()
  660.             RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.5, 1.50000012, 0, 1.29377966e-08, -0.173648164, 0.984807789, 7.33739043e-08, -0.984807789, -0.173648164, 1, 7.4505806e-08, 0), lerpintensity)
  661.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.499998093, 1.50000024, 0, -5.17511856e-09, 0.173648164, -0.984807789, 2.93495592e-08, -0.984807789, -0.173648164, -1, -2.98023224e-08, 0), lerpintensity)
  662.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0.087155737, 0.99619472, 0, 0.99619472, -0.087155737, -1, 0, 0), lerpintensity)
  663.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, -0.087155737, -0.99619472, 0, 0.99619472, -0.087155737, 1, 0, 0), lerpintensity)
  664.   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.700000048, 0, -1, 0, 0, 0, 1, 4.47034836e-08, 0, 4.47034836e-08, -1), lerpintensity)
  665.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 0, 0, -0.99999994, 0, 0, 0, -0.996194661, 0.0871559232, 0, 0.0871559158, 0.99619472), lerpintensity)
  666.   TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, -0.573576331, 0.819152117, 0, -0.819152117, -0.573576331), lerpintensity)
  667.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  668.     until action == false or grabbed == true
  669.     if not action then return;end;
  670.     grabbed = Settings.HugModeEnabled;
  671.     if grabbed then
  672.         if Settings.HugModeEnabled=='NonPlayers'then
  673.             local char1=grabbedtorso:FindFirstAncestorWhichIsA'Model';
  674.             local pls=game:GetService("Players"):GetPlayers();
  675.             if pls and char1 then for _,v in pairs(pls)do
  676.                 if v.Character==char1 then return;end;end;end;end;
  677.         Grab:Play();
  678.         local Motor=Instance.new("Motor6D")
  679.         Motor.Name="Hugging"
  680.         Motor.C1=CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  681.         Motor.C0=CFrame.new(-0.0495090485, 2.10305977, -0.770607471, -1, 0, 0, 0, 0.25881806, 0.965925753, 0, 0.965921581, -0.258819163)
  682.         Motor.Part0=Character.Torso
  683.         Motor.Part1=grabbedtorso
  684.         Motor.Parent=Character.Torso
  685.         grabbedtorso.Parent:FindFirstChildOfClass("Humanoid").PlatformStand=true
  686.         Character.Humanoid.WalkSpeed=10
  687.         for i=1, 5 do
  688.                 wait()
  689.                     RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.5, 1.30000007, 0, -0.0713938177, 0.0499904528, 0.99619472, -0.573576093, -0.819152355, 1.11758709e-08, 0.816035211, -0.571393609, 0.0871557295), lerpintensity)
  690.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.499998122, 1.3000015, -1.90734863e-06, -0.0713938028, -0.0499904826, -0.99619472, 0.573576033, -0.819152415, 5.58793545e-08, -0.816035271, -0.571393549, 0.087155737), lerpintensity)
  691.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.500001192, 0.826281726, 0.0961997509, -0.0113969073, 0.0511440039, 0.998626411, 0.0852660537, 0.995103419, -0.0499904603, -0.996293128, 0.0845791027, -0.0157019645), lerpintensity)
  692.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 0.831063509, 0.0745928288, -0.0113969073, -0.0511439741, -0.998626411, -0.0852655172, 0.995103478, -0.0499904566, 0.996293187, 0.0845785663, -0.015701957), lerpintensity)
  693.   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.819152117, 0.573576331, 0, 0.573576331, -0.819152117), lerpintensity)
  694.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 0.645248413, 0.258281708, -1, 0, 0, 0, -0.984807611, -0.173649192, 0, -0.173649192, 0.984807611), lerpintensity)
  695.   TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.0871561915, 0.996194601, 0, -0.996194601, 0.0871561915), lerpintensity)
  696.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  697.         end
  698.         Motor.C0=CFrame.new(-0.0495090485, 2.10305977, -0.770607471, -1, 0, 0, 0, 0.25881806, 0.965925753, 0, 0.965921581, -0.258819163)
  699.         BodyFall:Play()
  700.         for i=1, 5 do
  701.             wait()
  702.             if i <= 3 then
  703.                 Motor.C0=CFrame.new(-0.0495090485, 2.10305977, -0.770607471, -1, 0, 0, 0, 0.25881806, 0.965925753, 0, 0.965921581, -0.258819163)
  704.                   RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.5, 1.30000007, 0, -0.0713938177, 0.0499904528, 0.99619472, -0.573576093, -0.819152355, 1.11758709e-08, 0.816035211, -0.571393609, 0.0871557295), lerpintensity)
  705.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.499998122, 1.3000015, -1.90734863e-06, -0.0713938028, -0.0499904826, -0.99619472, 0.573576033, -0.819152415, 5.58793545e-08, -0.816035271, -0.571393549, 0.087155737), lerpintensity)
  706.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.500001192, 0.826281726, 0.0961997509, -0.0113969073, 0.0511440039, 0.998626411, 0.0852660537, 0.995103419, -0.0499904603, -0.996293128, 0.0845791027, -0.0157019645), lerpintensity)
  707.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 0.831063509, 0.0745928288, -0.0113969073, -0.0511439741, -0.998626411, -0.0852655172, 0.995103478, -0.0499904566, 0.996293187, 0.0845785663, -0.015701957), lerpintensity)
  708.   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.819152117, 0.573576331, 0, 0.573576331, -0.819152117), lerpintensity)
  709.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 0.645248413, 0.258281708, -1, 0, 0, 0, -0.984807611, -0.173649192, 0, -0.173649192, 0.984807611), lerpintensity)
  710.   TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.0871561915, 0.996194601, 0, -0.996194601, 0.0871561915), lerpintensity)
  711.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  712.             else
  713.                   RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.5, 1.30000007, 0, -0.0713938177, 0.0499904528, 0.99619472, -0.573576093, -0.819152355, 1.11758709e-08, 0.816035211, -0.571393609, 0.0871557295), lerpintensity)
  714.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.499998122, 1.3000015, -1.90734863e-06, -0.0713938028, -0.0499904826, -0.99619472, 0.573576033, -0.819152415, 5.58793545e-08, -0.816035271, -0.571393549, 0.087155737), lerpintensity)
  715.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.500001192, 0.826281726, 0.0961997509, -0.0113969073, 0.0511440039, 0.998626411, 0.0852660537, 0.995103419, -0.0499904603, -0.996293128, 0.0845791027, -0.0157019645), lerpintensity)
  716.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 0.831063509, 0.0745928288, -0.0113969073, -0.0511439741, -0.998626411, -0.0852655172, 0.995103478, -0.0499904566, 0.996293187, 0.0845785663, -0.015701957), lerpintensity)
  717.   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.819152117, 0.573576331, 0, 0.573576331, -0.819152117), lerpintensity)
  718.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 0.645248413, 0.258281708, -1, 0, 0, 0, -0.984807611, -0.173649192, 0, -0.173649192, 0.984807611), lerpintensity)
  719.   TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.0871561915, 0.996194601, 0, -0.996194601, 0.0871561915), lerpintensity)
  720.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  721.             end
  722.         end
  723.         Motor.C0=CFrame.new(-0.0495090485, 2.10305977, -0.770607471, -1, 0, 0, 0, 0.25881806, 0.965925753, 0, 0.965921581, -0.258819163)
  724.         Character.Humanoid.WalkSpeed=0
  725.         lerpintensity=0.1
  726.         repeat
  727.             local chance=math.random(1, 10)
  728.             if chance < 10 then
  729.                 for i=1, 30 do
  730.                     wait()
  731.                     if i < 5 then
  732.                         TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.965925694, -0.25881952, 0, 0.25881952, 0.965925694), lerpintensity)
  733.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  734.                     elseif i >= 5 and i < 10 then
  735.                          TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807789, 0.173647702, 0, -0.173647702, 0.984807789), lerpintensity)
  736.               TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  737.                     elseif i >= 10 and i < 15 then
  738.                         TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.965925694, -0.25881952, 0, 0.25881952, 0.965925694), lerpintensity)
  739.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  740.                     elseif i >= 15 and i < 20 then
  741.                          TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807789, 0.173647702, 0, -0.173647702, 0.984807789), lerpintensity)
  742.               TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  743.                     elseif i >= 20 and i < 25 then
  744.                             TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.965925694, -0.25881952, 0, 0.25881952, 0.965925694), lerpintensity)
  745.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  746.                     elseif i >= 25 then
  747.                          TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807789, 0.173647702, 0, -0.173647702, 0.984807789), lerpintensity)
  748.               TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  749.                     end
  750.                     if i > 15 then
  751.                          RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.5, 1.30000007, 0, -0.0713938177, 0.0499904528, 0.99619472, -0.816035151, 0.571393549, -0.087155737, -0.573576152, -0.819152236, 0), lerpintensity)
  752.               LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.499998122, 1.3000015, -1.90734863e-06, -0.0713938028, -0.0499904826, -0.99619472, 0.816034973, 0.571393907, -0.087155737, 0.57357651, -0.819152057, 0), lerpintensity)
  753.               RHip.C1=RHip.C1:Lerp(CFrame.new(0.500001192, 0.826281726, 0.0961997509, 0.07547912, 0.0435778312, 0.996194839, 0.862730265, 0.498097062, -0.087155737, -0.499999672, 0.866025746, 1.58324838e-08), lerpintensity)
  754.               LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 0.831063509, 0.0745928288, 0.0754791349, -0.0435778461, -0.996194839, -0.862730086, 0.498097271, -0.0871557519, 0.499999851, 0.866025507, 1.62981451e-08), lerpintensity)
  755.               Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.642787695, 0.766044319, 0, 0.766044319, 0.642787695), lerpintensity)
  756.               RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 0.645248413, 0.258281708, -1, 0, 0, 0, -0.342020512, 0.939692497, 0, 0.939692497, 0.342020512), lerpintensity)
  757.                     end
  758.                         Motor.C0=Motor.C0:Lerp(CFrame.new(-0.0227355957, -1.26026344, -1.37898636, -1, 0, 0, 0, 0.573576629, -0.819151938, 0, -0.819151938, -0.573576629), lerpintensity)
  759.   RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.5, 1.39999998, -0.100000001, -0.0713938177, 0.0499904528, 0.99619472, -0.96299684, 0.25676772, -0.0818995982, -0.259884864, -0.965179384, 0.0298090167), lerpintensity)
  760.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.499998122, 1.40000141, -0.100001909, -0.0713938028, -0.0499904826, -0.99619472, 0.962996662, 0.256768346, -0.0818996057, 0.25988543, -0.965179324, 0.0298089981), lerpintensity)
  761.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.500001192, 0.42628178, 0.0961997509, 0.07547912, 0.0435778312, 0.996194839, 0.639691591, 0.76425612, -0.0818996131, -0.764916778, 0.643439114, 0.0298089981), lerpintensity)
  762.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 0.431063563, 0.0745928288, 0.0754791349, -0.0435778461, -0.996194839, -0.639691174, 0.764256358, -0.0818996206, 0.764917135, 0.643438578, 0.0298090223), lerpintensity)
  763.   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.707106829, 0.70710665, 0, 0.70710665, 0.707106829), lerpintensity)
  764.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 0.645248413, 0.258281708, -1, 0, 0, 0, -0.573576629, 0.819151938, 0, 0.819151938, 0.573576629), lerpintensity)
  765.                 end
  766.             else
  767.                 local squishnoise=math.random(1, 2)
  768.                 if squishnoise == 1 then
  769.                     SmallSquish:Play()
  770.                 else
  771.                     BigSquish:Play()
  772.                 end
  773.                 lerpintensity=0.2
  774.                 for i=1, 7 do
  775.                     wait()
  776.                     if i > 3 then
  777.                         TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.984807789, 0.173647702, 0, -0.173647702, 0.984807789), lerpintensity)
  778.                         TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  779.                     else
  780.                           TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.965925932, 0.258818567, 0, -0.258818567, 0.965925932), lerpintensity)
  781.                          TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  782.                     end
  783.                     Motor.C0=Motor.C0:Lerp(CFrame.new(-0.0227355957, -1.26026344, -1.37898636, -1, 0, 0, 0, 0.573576629, -0.819151938, 0, -0.819151938, -0.573576629), lerpintensity)
  784.   RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.5, 1.39999998, -0.100000001, -0.0713938177, 0.0499904528, 0.99619472, -0.96299684, 0.25676772, -0.0818995982, -0.259884864, -0.965179384, 0.0298090167), lerpintensity)
  785.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.499998122, 1.40000141, -0.100001909, -0.0713938028, -0.0499904826, -0.99619472, 0.962996662, 0.256768346, -0.0818996057, 0.25988543, -0.965179324, 0.0298089981), lerpintensity)
  786.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.500001192, 0.42628178, 0.0961997509, 0.07547912, 0.0435778312, 0.996194839, 0.639691591, 0.76425612, -0.0818996131, -0.764916778, 0.643439114, 0.0298089981), lerpintensity)
  787.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 0.431063563, 0.0745928288, 0.0754791349, -0.0435778461, -0.996194839, -0.639691174, 0.764256358, -0.0818996206, 0.764917135, 0.643438578, 0.0298090223), lerpintensity)
  788.   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.707106829, 0.70710665, 0, 0.70710665, 0.707106829), lerpintensity)
  789.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 0.645248413, 0.258281708, -1, 0, 0, 0, -0.573576629, 0.819151938, 0, 0.819151938, 0.573576629), lerpintensity)
  790.                 end
  791.             end
  792.         until on == "more" or on == "false"
  793.             local first=false
  794.             purring:Play()
  795.             repeat
  796.                 if on == "false" then
  797.                     break
  798.                 end
  799.                 if first == false then
  800.                     first=true
  801.                     coroutine.resume(coroutine.create(function()
  802.                         Talk("prrrrrrrrrrrr...")
  803.                     end))
  804.                 else
  805.                     coroutine.resume(coroutine.create(function()
  806.                         Talk("prrrrrrrrrrrr...")
  807.                     end))
  808.                 end
  809.                 lerpintensity=0.15
  810.                 Face("hboogyOwOlick")
  811.                 for i=1, 15 do
  812.                     wait()
  813.                     if i <= 7 then
  814.                         if i == 1 then
  815.                             brushsound:Play()
  816.                             local chance=math.random(8, 13)
  817.                             purring.PlaybackSpeed=chance/10
  818.                         end
  819.                         Motor.C0=Motor.C0:Lerp(CFrame.new(0.0583114624, -0.512584686, -1.41906452, -0.99619472, 0, -0.087155737, 0.0298089981, 0.939692736, -0.340718448, 0.0818996131, -0.342019916, -0.936116934), lerpintensity)
  820.                            TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.438678026, 0.680997431, 0.586348057, -0.474547088, -0.378539503, 0.794677913, 0.763129473, -0.626857519, 0.157108307), lerpintensity)
  821.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  822.   RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.300007641, 0.600003064, -0.100000381, -0.230375499, 0.115933135, 0.966171086, -0.934927404, 0.249000192, -0.252803802, -0.269885123, -0.961539626, 0.0510255098), lerpintensity)
  823.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.273846447, 0.619167328, -0.0977859497, -0.389224023, -0.157410368, -0.907593906, 0.880719543, 0.225086316, -0.41673708, 0.269885838, -0.961539865, 0.051025331), lerpintensity)
  824.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.497009277, -0.173597336, 0.196154714, 0.0262007248, -0.0151497796, 0.999542058, 0.343312234, 0.939207077, 0.00523614883, -0.938855946, 0.343017817, 0.0298089981), lerpintensity)
  825.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.497009277, -0.168815613, 0.174548149, 0.0854182094, -0.148172021, -0.98526603, -0.33354643, 0.927569389, -0.16841206, 0.938856184, 0.34301731, 0.0298090223), lerpintensity)
  826.   Neck.C1=Neck.C1:Lerp(CFrame.new(0.200912476, -0.709360123, 0.458553314, -0.800952435, 0.101351067, 0.590087712, 0.368687898, -0.693053365, 0.619472563, 0.471746415, 0.713726521, 0.517735839), lerpintensity)
  827.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0.298843384, 0.105287552, 1.00426102, -0.99619472, 0, 0.087155737, 0.0298089981, -0.939692736, 0.340718448, 0.0818996131, 0.342019916, 0.936116934), lerpintensity)
  828.                     else
  829.                         if i == 8 then
  830.                             brushsound:Play()
  831.                         end
  832.                         Motor.C0=Motor.C0:Lerp(CFrame.new(0.195236206, -0.504997253, -1.39821768, -0.99619472, 0, 0.087155737, -0.0298089981, 0.939692736, -0.340718448, -0.0818996131, -0.342019916, -0.936116934), lerpintensity)
  833.                           RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.300018311, 0.600002289, -0.100000381, -0.386793852, 0.164786592, 0.90732348, -0.880415916, 0.226710796, -0.416497767, -0.274333209, -0.959920764, 0.0573903918), lerpintensity)
  834.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.273849487, 0.619165421, -0.0977859497, -0.232747033, -0.108718231, -0.966441572, 0.935460567, 0.246745914, -0.253043085, 0.265976012, -0.962962985, 0.0442721732), lerpintensity)
  835.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.497024536, -0.173601151, 0.196154594, 0.116779052, 0.226236105, 0.967047155, 0.343777001, 0.904307723, -0.25307247, -0.93176204, 0.362002134, 0.0278293937), lerpintensity)
  836.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.497009277, -0.168815613, 0.174548388, 0.0265306477, 0.0151176825, -0.999533892, -0.347999454, 0.937482119, 0.00494225696, 0.937119603, 0.347706079, 0.0301329084), lerpintensity)
  837.   Neck.C1=Neck.C1:Lerp(CFrame.new(0.570289612, -0.803970337, -0.0138549805, 0.00520382822, 0.624937713, 0.78065753, -0.286788315, -0.746941745, 0.59985894, 0.957979977, -0.22700496, 0.175337881), lerpintensity)
  838.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 0.11423111, 1.02883196, -0.99619472, 0, -0.087155737, -0.0298089981, -0.939692736, 0.340718448, -0.0818996131, 0.342019916, 0.936116934), lerpintensity)
  839.   TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.9468472, -0.225056857, 0.229848579, -0.193389788, 0.172739729, 0.965796232, -0.257062763, -0.95891124, 0.120034307), lerpintensity)
  840.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  841.                     end
  842.                 end
  843.             until on == "false"
  844.                 coroutine.resume(coroutine.create(function()
  845.                     Talk("-w-")
  846.                 end))
  847.                 purring:Stop()
  848.                 Face("hboogyOwOhappy")
  849.         for i=1, 5 do
  850.             wait()
  851.              RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.5, 1.30000007, 0, -0.0713938177, 0.0499904528, 0.99619472, -0.816035151, 0.571393549, -0.087155737, -0.573576152, -0.819152236, 0), lerpintensity)
  852.               LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.499998122, 1.3000015, -1.90734863e-06, -0.0713938028, -0.0499904826, -0.99619472, 0.816034973, 0.571393907, -0.087155737, 0.57357651, -0.819152057, 0), lerpintensity)
  853.               RHip.C1=RHip.C1:Lerp(CFrame.new(0.500001192, 0.826281726, 0.0961997509, 0.07547912, 0.0435778312, 0.996194839, 0.862730265, 0.498097062, -0.087155737, -0.499999672, 0.866025746, 1.58324838e-08), lerpintensity)
  854.               LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 0.831063509, 0.0745928288, 0.0754791349, -0.0435778461, -0.996194839, -0.862730086, 0.498097271, -0.0871557519, 0.499999851, 0.866025507, 1.62981451e-08), lerpintensity)
  855.               Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.642787695, 0.766044319, 0, 0.766044319, 0.642787695), lerpintensity)
  856.               RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 0.645248413, 0.258281708, -1, 0, 0, 0, -0.342020512, 0.939692497, 0, 0.939692497, 0.342020512), lerpintensity)
  857.         end
  858.         grabbedtorso.Anchored=true
  859.         coroutine.resume(coroutine.create(function()
  860.             wait(0.2)
  861.             grabbedtorso.Anchored=false
  862.         end))
  863.         on=true
  864.         action=false
  865.         pcall(function()
  866.             for i, v in pairs(Character.Torso:GetChildren()) do
  867.                 if v.Name == "Hugging" and v.ClassName == "Motor6D" then
  868.                     v:Destroy()
  869.                 end
  870.             end
  871.         end)
  872.         grabbedtorso.Parent:FindFirstChildOfClass("Humanoid").PlatformStand=false
  873.         if walking == true then
  874.             spawn(WalkAnimation)
  875.         elseif walking == false then
  876.             spawn(IdleAnimation)
  877.         end
  878.         Character.Humanoid.WalkSpeed=10
  879.         Character.Humanoid.JumpPower=jumppower
  880.         Face("hboogyOwO")
  881.     end
  882. end
  883.  
  884. function Groom()
  885.     local timeout=1
  886.     local clocktime=0
  887.     grabbed=false
  888.     running=false
  889.     local grabbedtorso=nil
  890.     if action == true or freefall == true then
  891.         return
  892.     else
  893.         action=true
  894.         lerpintensity=0.2
  895.     end
  896.     Character.Humanoid.JumpPower=0
  897.     Character.Humanoid.WalkSpeed=35
  898.     coroutine.resume(coroutine.create(function()
  899.         repeat
  900.             wait(0.1)
  901.             clocktime=clocktime + 0.1
  902.         until clocktime >= timeout or grabbed == true
  903.         if clocktime >= timeout then
  904.             action=false
  905.             Character.Humanoid.WalkSpeed=10
  906.             Character.Humanoid.JumpPower=jumppower
  907.             if GunEquipped == true then
  908.                 if running == true then
  909.                     spawn(GunRunAnimation)
  910.                 elseif walking == true and running == false then
  911.                     spawn(GunWalkAnimation)
  912.                 elseif walking == false then
  913.                     spawn(GunIdleAnimation)
  914.                 end
  915.             elseif GunEquipped == false then
  916.                 if walking == true then
  917.                         spawn(WalkAnimation)
  918.                 elseif walking == false then
  919.                         spawn(IdleAnimation)
  920.                 end
  921.             end
  922.         end
  923.     end))
  924.     Ring:Clone().Parent=Character.Torso
  925.     Character.Torso.Ring.CFrame=CFrame.new(Character.Torso.Position.X, Character.Torso.Position.Y, Character.Torso.Position.Z) * CFrame.new(0, -2.3, 0) * CFrame.Angles(math.rad(90), 0, 0)
  926.     local property={}
  927.     property.Scale=Vector3.new(10, 10, 1)
  928.     local TweenInf=TweenInfo.new(0.6, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
  929.     local Tween=TweenService:Create(Character.Torso.Ring.Mesh, TweenInf, property)
  930.     Character.Torso.Ring.Transparency=1
  931.     Tween:Play()
  932.     property.Scale=nil
  933.     property.Transparency=1
  934.     brushsound.PlaybackSpeed=0.9
  935.     local TweenL=TweenService:Create(Character.Torso.Ring, TweenInf, property)
  936.     TweenL:Play()
  937.     TweenL.Completed:Connect(function()
  938.         pcall(function()
  939.             Character.Torso.Ring:Destroy()
  940.         end)
  941.     end)
  942.     grabbed=true
  943.     if action == false then
  944.         return
  945.     end
  946.     if grabbed == true then
  947.         end
  948.         Character.Humanoid.WalkSpeed=0
  949.         lerpintensity=0.1
  950.         brushsound.Volume=0.1
  951.         Face("hboogyOwOhappy")
  952.         for i=1, 15 do
  953.             wait()
  954.                  TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  955.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  956.   RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.500001907, 0.700000763, 3.81469727e-06, -0.212012142, 0.148452476, 0.965925813, -0.791240156, 0.554032147, -0.258819044, -0.573576331, -0.819152117, 0), lerpintensity)
  957.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.499998122, 0.50000149, -1.90734863e-06, -0.54167527, -0.54167521, -0.642787635, 0.45451957, 0.45451948, -0.766044438, 0.707106769, -0.707106888, 0), lerpintensity)
  958.   RHip.C1=RHip.C1:Lerp(CFrame.new(-0.206653118, 0.875644684, -0.290397644, 0.599353969, -0.78719008, 0.145280719, -0.726487219, -0.611128151, -0.314227045, 0.336141646, 0.0827887207, -0.938165724), lerpintensity)
  959.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.200000018, 0.631063461, 0.274592966, -0.696535289, -0.623583138, -0.354940355, 0.632912159, -0.300920159, -0.713350654, 0.338024706, -0.721520066, 0.604274809), lerpintensity)
  960.   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -0.939692557, -0.309975654, -0.14454414, 0.0298090428, -0.495236635, 0.868246615, -0.340718865, 0.811576068, 0.47461018), lerpintensity)
  961.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 1.2688303, 0.591665268, -1, 0, 0, 0, -0.422618449, 0.906307697, 0, 0.906307697, 0.422618449), lerpintensity)
  962.         end
  963.         Face("hboogyOwOlick")
  964.         repeat
  965.                 for i=1, 30 do
  966.                     wait()
  967.                     if i > 15 then
  968.         TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  969.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  970.   RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.380865097, 0.944504738, 0.102607727, -0.298836291, 0.298836201, 0.906307757, -0.640856564, 0.640856266, -0.42261827, -0.707106888, -0.707106948, 3.36828379e-08), lerpintensity)
  971.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.359044552, 0.955858231, 0.102600098, -0.353553444, -0.353553385, -0.866025209, 0.612372696, 0.612372339, -0.5, 0.707106948, -0.707106948, -5.05242355e-08), lerpintensity)
  972.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.199999988, 1.12627983, -0.103800572, 0.549776137, 0.331297398, 0.76680398, -0.668760061, -0.375469327, 0.64170301, 0.500505924, -0.865600824, 0.0151344091), lerpintensity)
  973.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 1.03106344, -0.525407076, 0.0844903067, -0.123125963, -0.98878783, 0.251149267, -0.957666337, 0.14071092, -0.964253783, -0.260222107, -0.0499905124), lerpintensity)
  974.   Neck.C1=Neck.C1:Lerp(CFrame.new(0.200000003, -0.800000012, 0, -1, 0, 0, 0, -0.939692795, 0.342019498, 0, 0.342019498, 0.939692795), lerpintensity)
  975.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 1.45009613, 0.676193237, -1, 2.30967999e-07, 0, -9.68575478e-08, -0.422618479, 0.906307697, 1.86264515e-07, 0.906307757, 0.422618449), lerpintensity)
  976.                     else
  977.                         if i == 1 then
  978.                             brushsound:Play()
  979.                             licksound:Play()
  980.                         end
  981.                        TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  982.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  983.   RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.385093689, 0.95358181, 0.126781464, -0.29883635, 0.298836231, 0.906307757, -0.640856504, 0.640856326, -0.42261824, -0.707106948, -0.707106948, 1.54024349e-08), lerpintensity)
  984.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.364051819, 0.964536667, 0.126785278, -0.353553474, -0.353553414, -0.866025388, 0.612372637, 0.612372458, -0.5, 0.707107008, -0.707107008, -1.54024349e-08), lerpintensity)
  985.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.199996948, 1.12628174, -0.10380125, 0.665907323, 0.373565733, 0.645768106, -0.553245008, -0.333425283, 0.763379157, 0.500487685, -0.865607619, -0.0153569616), lerpintensity)
  986.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 1.03106344, -0.525407076, 0.073927626, -0.142482787, -0.987032592, -0.00799306482, -0.989794016, 0.142282695, -0.997231603, -0.00262916833, -0.0743119791), lerpintensity)
  987.   Neck.C1=Neck.C1:Lerp(CFrame.new(0.200001717, -0.782634735, 0.0984802246, -1, 5.21098116e-08, -3.27107017e-08, 2.75191532e-08, -0.642788827, 0.76604414, -8.91841552e-08, 0.766044319, 0.642788351), lerpintensity)
  988.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 1.42257214, 0.754058838, -1, 2.30967999e-07, 0, -8.02549565e-08, -0.342020363, 0.939692616, 1.93997408e-07, 0.939692676, 0.342020333), lerpintensity)
  989.                     end
  990.                     end
  991.         until on == "more" or on == "false"
  992.             Face("hboogyOwOhappy")
  993.             for i=1, 15 do
  994.                 wait()
  995.                      TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  996.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  997.   RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.300000012, 0.700000048, 0, -0.640856445, 0.640856266, 0.42261827, -0.298836231, 0.298836172, -0.906307697, -0.707106709, -0.707106888, 0), lerpintensity)
  998.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.537373543, 0.410797119, 0.514456749, -0.429610223, -0.797377706, 0.423821598, 0.859225631, -0.505339205, -0.0797840059, 0.27779156, 0.329882175, 0.902224898), lerpintensity)
  999.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.413868725, 0.029406786, -0.140187263, -0.851848006, -0.495542467, 0.169690445, -0.154495448, -0.0718461946, -0.985377789, 0.500487924, -0.865607798, -0.015357133), lerpintensity)
  1000.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 0.531063378, 0.474592924, -0.78243959, -0.0379041135, -0.621571779, 0.617411792, 0.0829073936, -0.782258809, 0.0811837018, -0.995836377, -0.0414675511), lerpintensity)
  1001.   Neck.C1=Neck.C1:Lerp(CFrame.new(2.1904707e-06, -0.61192739, 0.169189453, -1, 8.48723403e-09, -1.63108695e-07, 2.87404873e-08, -0.4226197, 0.906308532, -2.53046608e-07, 0.906308353, 0.422618985), lerpintensity)
  1002.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(-0.375876427, 1.14027405, 0.544895172, -0.939692616, 2.30967999e-07, -0.342020124, -0.321393877, -0.342020363, 0.883022189, -0.116977654, 0.939692676, 0.321394026), lerpintensity)
  1003.             end
  1004.             local first=false
  1005.             Face("hboogyOwOlick")
  1006.             repeat
  1007.                 if on == "false" then
  1008.                     break
  1009.                 end
  1010.                 lerpintensity=0.2
  1011.                 for i=1, 30 do
  1012.                     wait()
  1013.                     if i <= 15 then
  1014.                         if i == 1 then
  1015.                             local chance=math.random(8, 13)
  1016.                             purring.PlaybackSpeed=chance/10
  1017.                         end
  1018.                           TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  1019.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1020.   RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.5, 1.20000005, 0, 0, 0, 1, -0.707106888, 0.707106709, 0, -0.707106709, -0.707106888, 0), lerpintensity)
  1021.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(0.700001895, 1.50501728e-06, 0.799998105, 0.178606153, 0.383022219, 0.906307817, -0.0499477684, -0.916401803, 0.397131234, 0.982652187, -0.116198137, -0.144543841), lerpintensity)
  1022.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.5, 0.126279831, 0.0961994305, 0.0667652041, 0.0560225844, 0.99619472, 0.76312983, 0.640341103, -0.087155737, -0.642787099, 0.766044855, 0), lerpintensity)
  1023.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 0.131063491, 0.0745929778, 0.0667652115, -0.0560226105, -0.99619472, -0.763129652, 0.640341401, -0.0871557593, 0.642787337, 0.766044736, 0), lerpintensity)
  1024.   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.573576808, 0.819151819, 0, 0.819151819, 0.573576808), lerpintensity)
  1025.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 1.2688303, 0.591665268, -1, 0, 0, 0, -0.422618449, 0.906307697, 0, 0.906307697, 0.422618449), lerpintensity)
  1026.                     else
  1027.                         if i == 16 then
  1028.                             brushsound:Play()
  1029.                             licksound:Play()
  1030.                         end
  1031.                             TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  1032.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1033.   RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.5, 1.20000005, 0, 0, 0, 1, -0.707106888, 0.707106709, 0, -0.707106709, -0.707106888, 0), lerpintensity)
  1034.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(0.700001895, -0.199998498, 0.699998081, 0.178606153, 0.383022219, 0.906307817, -0.302574754, -0.855101943, 0.421009988, 0.936241746, -0.349420846, -0.0368335955), lerpintensity)
  1035.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.5, 0.126279831, 0.0961994305, 0.0667652041, 0.0560225844, 0.99619472, 0.76312983, 0.640341103, -0.087155737, -0.642787099, 0.766044855, 0), lerpintensity)
  1036.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 0.131063491, 0.0745929778, 0.0667652115, -0.0560226105, -0.99619472, -0.763129652, 0.640341401, -0.0871557593, 0.642787337, 0.766044736, 0), lerpintensity)
  1037.   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.0871561468, 0.99619472, 0, 0.99619472, 0.0871561468), lerpintensity)
  1038.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 1.2688303, 0.591665268, -1, 0, 0, 0, -0.422618449, 0.906307697, 0, 0.906307697, 0.422618449), lerpintensity)
  1039.                     end
  1040.                 end
  1041.             until on == "owo" or on == "false"
  1042.             on="owo"
  1043.             repeat
  1044.                 if on == "false" then
  1045.                     break
  1046.                 end
  1047.                 for i=1, 30 do
  1048.                     wait()
  1049.                     if i <= 15 then
  1050.                            TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  1051.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1052.   RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(-2.98023224e-08, 0.5, 0.099999994, -0.353553444, 0.353553355, 0.866025388, 0.227985561, 0.930470407, -0.286788166, -0.907205939, 0.0960462689, -0.409576058), lerpintensity)
  1053.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(0.100001879, 0.500001431, 0.0999981016, -0.184465587, -0.475197434, -0.860325277, -0.192233726, 0.875884712, -0.442574114, 0.96385622, 0.0837437212, -0.252919555), lerpintensity)
  1054.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.5, 0.826279819, -0.00380057096, -0.0577223599, 0.537662208, 0.841182172, -0.561163247, -0.714351654, 0.418088078, 0.825689912, -0.447907448, 0.342950404), lerpintensity)
  1055.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.399999529, 0.531062007, -0.0254074335, -0.465810895, -0.352879643, -0.81147778, 0.541474938, 0.611641765, -0.576800704, 0.699874997, -0.708075047, -0.0938339308), lerpintensity)
  1056.   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -1.09999347, 0.119611315, -1, 0, 0, 0, -0.984807789, -0.173647702, 0, -0.173647702, 0.984807789), lerpintensity)
  1057.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 1.97360229, -1.11223984, -1, 0, 0, 0, 0.819151938, 0.57357657, 0, 0.57357657, -0.819151938), lerpintensity)
  1058.                     else
  1059.                         if i == 16 then
  1060.                             brushsound:Play()
  1061.                             licksound:Play()
  1062.                         end
  1063.                           TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.98480767, -0.173648626, 0, 0.173648626, 0.98480767), lerpintensity)
  1064.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1065.   RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(-2.98023224e-08, 0.5, 0.099999994, -0.353553444, 0.353553355, 0.866025388, 0.227985561, 0.930470407, -0.286788166, -0.907205939, 0.0960462689, -0.409576058), lerpintensity)
  1066.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(0.100001879, 0.500001431, 0.0999981016, -0.184465587, -0.475197434, -0.860325277, -0.192233726, 0.875884712, -0.442574114, 0.96385622, 0.0837437212, -0.252919555), lerpintensity)
  1067.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.5, 0.826279819, -0.00380057096, -0.0999531671, 0.470191002, 0.876886427, -0.480180144, -0.794674814, 0.371374696, 0.871456385, -0.383943319, 0.305206686), lerpintensity)
  1068.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.399999529, 0.531062007, -0.0254074335, -0.465810895, -0.352879643, -0.81147778, 0.478416353, 0.671027124, -0.566427648, 0.744404435, -0.652072549, -0.143748358), lerpintensity)
  1069.   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -1.09999347, 0.119611315, -1, 0, 0, 0, -0.996194601, 0.0871562064, 0, 0.0871562064, 0.996194601), lerpintensity)
  1070.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 1.97360229, -1.11223984, -1, 0, 0, 0, 0.819151938, 0.57357657, 0, 0.57357657, -0.819151938), lerpintensity)
  1071.                     end
  1072.                 end
  1073.             until on == "false"
  1074.                 coroutine.resume(coroutine.create(function()
  1075.                     Talk("-w-")
  1076.                 end))
  1077.         on=true
  1078.         action=false
  1079.         if walking == true then
  1080.             spawn(WalkAnimation)
  1081.         elseif walking == false then
  1082.             spawn(IdleAnimation)
  1083.         end
  1084.         Face("hboogyOwO")
  1085.         Character.Humanoid.WalkSpeed=10
  1086.         brushsound.PlaybackSpeed=1
  1087.         Character.Humanoid.JumpPower=jumppower
  1088. end
  1089.  
  1090.  
  1091. function GunWalkAnimation()
  1092.     lerpintensity=0.15
  1093.     while true do
  1094.         if walking == false or action == true or GunEquipped == false or running == true then
  1095.                 break
  1096.             end
  1097.         for i=1, 20 do
  1098.             wait()
  1099.             if walking == false or action == true or GunEquipped == false or running == true then
  1100.                 break
  1101.             end
  1102.             if i < 5 then
  1103.                  TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.953098297, 0.221296161, 0.206474632, -0.267031431, 0.935967088, 0.229476914, -0.142471164, -0.273849219, 0.951161504), lerpintensity)
  1104.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1105.                    RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(-0.199999988, 0.500000119, -0.800000012, 0, 0.087155737, 0.99619472, -8.74227766e-08, -0.99619472, 0.087155737, 1, -8.70901076e-08, 7.61939667e-09), lerpintensity)
  1106.                   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(0.100001812, 0.691286087, 0.900381088, 0, 1, 2.98023224e-08, 0.0871555507, -2.96889162e-08, 0.99619472, 0.99619472, 2.59743782e-09, -0.0871555507), lerpintensity)
  1107.                   RHip.C1=RHip.C1:Lerp(CFrame.new(0.5, 1.10000229, -0.173206329, -0.173648134, 0, 0.984807551, 0.492403775, 0.866025448, 0.0868240669, -0.852868378, 0.5, -0.150383696), lerpintensity)
  1108.                   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 1.05000019, 0.0866088867, 0.173648134, 0, -0.984807551, 0.492404044, 0.866025329, 0.0868241116, 0.852868319, -0.500000179, 0.150383681), lerpintensity)
  1109.                   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 1.71363354e-07, 1.00000012, 0, 1.00000012, -1.71363354e-07), lerpintensity)
  1110.                   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 0, 0, -0.98480773, -0.173648179, 0, 0, 0, 1, -0.173648179, 0.98480773, 0), lerpintensity)
  1111.                   if i == 1 then
  1112.                     walksound:Play()
  1113.                   end
  1114.             elseif i >= 5 and i < 10 then
  1115.                  TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.953098297, 0.221296161, 0.206474632, -0.267031431, 0.935967088, 0.229476914, -0.142471164, -0.273849219, 0.951161504), lerpintensity)
  1116.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1117.                  RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(-0.199999988, 0.500000119, -0.800000012, 0, 0.087155737, 0.99619472, -8.74227766e-08, -0.99619472, 0.087155737, 1, -8.70901076e-08, 7.61939667e-09), lerpintensity)
  1118.                   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(0.100001812, 0.691286087, 0.900381088, 0, 1, 2.98023224e-08, 0.0871555507, -2.96889162e-08, 0.99619472, 0.99619472, 2.59743782e-09, -0.0871555507), lerpintensity)
  1119.                   RHip.C1=RHip.C1:Lerp(CFrame.new(0.5, 1.10000229, -0.173206329, -0.173648134, 0, 0.984807551, 0.492403775, 0.866025448, 0.0868240669, -0.852868378, 0.5, -0.150383696), lerpintensity)
  1120.                   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 1.05000019, 0.0866088867, 0.173648134, 0, -0.984807551, 0.492404044, 0.866025329, 0.0868241116, 0.852868319, -0.500000179, 0.150383681), lerpintensity)
  1121.                   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 1.71363354e-07, 1.00000012, 0, 1.00000012, -1.71363354e-07), lerpintensity)
  1122.                   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 0.0999999046, 0, -0.98480773, -0.173648179, 0, 0, 0, 1, -0.173648179, 0.98480773, 0), lerpintensity)
  1123.             elseif i >= 10 and i < 15 then
  1124.                   TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.696813047, 0.600698888, -0.391934067, -0.432968378, 0.787925243, 0.437849402, 0.571830273, -0.135404035, 0.809120178), lerpintensity)
  1125.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1126.                   RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(-0.199999988, 0.500000119, -0.800000012, 0, 0.087155737, 0.99619472, -8.74227766e-08, -0.99619472, 0.087155737, 1, -8.70901076e-08, 7.61939667e-09), lerpintensity)
  1127.                   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(0.100001812, 0.691286087, 0.900381088, 0, 1, 2.98023224e-08, 0.0871555507, -2.96889162e-08, 0.99619472, 0.99619472, 2.59743782e-09, -0.0871555507), lerpintensity)
  1128.                   RHip.C1=RHip.C1:Lerp(CFrame.new(0.499996185, 1.19015789, 0.129904747, 0.173648402, -1.62060473e-07, 0.984807253, -0.564862609, 0.819151878, 0.0996008292, -0.806706905, -0.573576272, 0.142244384), lerpintensity)
  1129.                   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 1.15000057, -0.0866012573, -0.173648402, 1.54857418e-07, -0.984807372, -0.492403805, 0.866025448, 0.0868243426, 0.852868497, 0.499999762, -0.150383979), lerpintensity)
  1130.                   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 1.71363354e-07, 1.00000012, 0, 1.00000012, -1.71363354e-07), lerpintensity)
  1131.                   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 0, 0, -0.98480767, 0.173648551, 0, 0, 0, 1, 0.173648551, 0.98480767, 0), lerpintensity)
  1132.                   if i == 10 then
  1133.                     walksound:Play()
  1134.                   end
  1135.             elseif i >= 15 then
  1136.                   TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.696813047, 0.600698888, -0.391934067, -0.432968378, 0.787925243, 0.437849402, 0.571830273, -0.135404035, 0.809120178), lerpintensity)
  1137.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1138.                   RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(-0.199999988, 0.500000119, -0.800000012, 0, 0.087155737, 0.99619472, -8.74227766e-08, -0.99619472, 0.087155737, 1, -8.70901076e-08, 7.61939667e-09), lerpintensity)
  1139.                   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(0.100001812, 0.691286087, 0.900381088, 0, 1, 2.98023224e-08, 0.0871555507, -2.96889162e-08, 0.99619472, 0.99619472, 2.59743782e-09, -0.0871555507), lerpintensity)
  1140.                   RHip.C1=RHip.C1:Lerp(CFrame.new(0.499996185, 1.19015789, 0.129904747, 0.173648402, -1.62060473e-07, 0.984807253, -0.564862609, 0.819151878, 0.0996008292, -0.806706905, -0.573576272, 0.142244384), lerpintensity)
  1141.                   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 1.15000057, -0.0866012573, -0.173648402, 1.54857418e-07, -0.984807372, -0.492403805, 0.866025448, 0.0868243426, 0.852868497, 0.499999762, -0.150383979), lerpintensity)
  1142.                   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 1.71363354e-07, 1.00000012, 0, 1.00000012, -1.71363354e-07), lerpintensity)
  1143.                   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 0.0999999046, 0, -0.98480767, 0.173648551, 0, 0, 0, 1, 0.173648551, 0.98480767, 0), lerpintensity)
  1144.             end
  1145.         end
  1146.     end
  1147. end
  1148.  
  1149. function GunRunAnimation()
  1150.     lerpintensity=0.5
  1151.     if running == true then
  1152.         return
  1153.     end
  1154.     running=true
  1155.     while true do
  1156.         if action == true and running == false then
  1157.             stoprunning()
  1158.             running=false
  1159.             break
  1160.         elseif walking == false then
  1161.                 stoprunning()
  1162.                 running=false
  1163.                 return
  1164.             end
  1165.         for i=1, 12 do
  1166.             wait()
  1167.             if action == true and running == false then
  1168.                 stoprunning()
  1169.                 running=false
  1170.                 return
  1171.             elseif walking == false then
  1172.                 stoprunning()
  1173.                 running=false
  1174.                 return
  1175.             end
  1176.             if i < 3 then
  1177.                      TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.999999881, -0.000320188352, -0.00100398809, 0.000969801738, -0.0931002796, 0.995656371, -0.000412440335, -0.995656729, -0.0931000262), lerpintensity)
  1178.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1179.   RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.499998093, 1.11069322, 0.00284767151, 0.00104822579, -0.0373455845, 0.99930197, -0.769365489, 0.638332546, 0.0246625859, -0.638807893, -0.768854201, -0.0280633103), lerpintensity)
  1180.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.499996185, 1.10000134, 0, -0.0025613904, 0.00549331307, -0.999981642, 0.766080141, 0.642743289, 0.00156857644, 0.64274013, -0.766061962, -0.00585465133), lerpintensity)
  1181.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.399996161, 0.726279974, 0.19619368, -0.570106149, -0.145601541, 0.80856663, -0.703167975, -0.422509432, -0.571875095, 0.424892604, -0.8945871, 0.138492972), lerpintensity)
  1182.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.1847637, 0.732380033, 0.257478714, -0.633421242, -0.0332981311, -0.773090959, 0.734873354, -0.338801771, -0.587516189, -0.242361262, -0.940268636, 0.2390742), lerpintensity)
  1183.   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.499999762, 0, -1, 0, 0, 0, 0.965925813, 0.258818835, 0, 0.258818835, -0.965925813), lerpintensity)
  1184.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(-1.90734863e-06, 0.690116882, 0.826450348, -0.99984777, 0, 0.0174524188, 0.00152107805, -0.99619472, 0.0871424824, 0.0173860006, 0.0871557295, 0.996042967), lerpintensity)
  1185.             elseif i >= 3 and i < 6 then
  1186.                   RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.499998093, 1.11069322, 0.00284767151, 0.00104822579, -0.0373455845, 0.99930197, -0.99572897, -0.0922928452, -0.00240467861, 0.0923182517, -0.995031238, -0.0372828394), lerpintensity)
  1187.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.499996185, 1.10000134, 0, -0.0025613904, 0.00549331307, -0.999981642, 0.996186376, -0.0871997625, -0.00303071458, -0.0872148126, -0.996175826, -0.00524901412), lerpintensity)
  1188.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.199996173, 0.726279974, -0.00380632281, -0.486058295, -0.180515736, 0.855080307, -0.80583936, 0.471205562, -0.358592451, -0.338186681, -0.863353729, -0.374500334), lerpintensity)
  1189.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.1847637, 0.632380009, 0.15747872, -0.413873613, 0.211198509, -0.885496855, 0.714891076, 0.677620411, -0.172516018, 0.563595235, -0.704433382, -0.43143332), lerpintensity)
  1190.   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.499999762, 0, -1, 0, 0, 0, 0.965925813, 0.258818835, 0, 0.258818835, -0.965925813), lerpintensity)
  1191.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(-1.90734863e-06, 0.690116882, 0.826450348, -0.99984777, 0, 0.0174524188, 0.00303057628, -0.984807789, 0.17362155, 0.0171872713, 0.17364797, 0.984657824), lerpintensity)
  1192.   TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.999999881, -0.000320188352, -0.00100398809, 0.000704634411, -0.505159855, 0.863025546, -0.000783653464, -0.863025784, -0.505159497), lerpintensity)
  1193.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1194.                 if i == 3 then
  1195.                     walksound:Play()
  1196.                 end
  1197.             elseif i >= 6 and i < 9 then
  1198.                   RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.499998093, 1.11069322, 0.00284767151, 0.00104822591, -0.0373455882, 0.99930203, -0.569322526, -0.821562707, -0.0301060043, 0.822113454, -0.568893552, -0.0221228637), lerpintensity)
  1199.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.499996185, 1.10000134, 0, -0.0025613904, 0.00549331307, -0.999981642, 0.573526025, -0.819165647, -0.00596908294, -0.819183469, -0.573530793, -0.00105234119), lerpintensity)
  1200.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.499996185, 0.726279974, 0.296193689, 0.0152609367, 0.160046577, 0.986992121, -0.0897005647, 0.983345449, -0.158068463, -0.995851815, -0.0861214399, 0.0293631069), lerpintensity)
  1201.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.484763712, 0.632380009, 0.257478714, -0.0973621383, -0.221604943, -0.970264375, 0.0710586309, 0.970860004, -0.228871584, 0.99270916, -0.0912289917, -0.0787781402), lerpintensity)
  1202.   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.499999762, 0, -1, 0, 0, 0, 0.965925813, 0.258818835, 0, 0.258818835, -0.965925813), lerpintensity)
  1203.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(-1.90734863e-06, 0.690116882, 0.826450348, -0.99984777, 0, 0.0174524188, 0.00737570506, -0.906307876, 0.422553718, 0.0158172604, 0.422618091, 0.906169891), lerpintensity)
  1204.   TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.999999881, -0.000320188352, -0.00100398809, 0.000557849184, -0.647348344, 0.762194097, -0.000894106633, -0.762194157, -0.647347927), lerpintensity)
  1205.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1206.             elseif i >= 9 then
  1207.                    RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.499998093, 1.11069322, 0.00284767151, 0.00104822579, -0.0373455845, 0.99930197, -0.99572897, -0.0922928452, -0.00240467861, 0.0923182517, -0.995031238, -0.0372828394), lerpintensity)
  1208.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(-0.499996185, 1.10000134, 0, -0.0025613904, 0.00549331307, -0.999981642, 0.996186376, -0.0871997625, -0.00303071458, -0.0872148126, -0.996175826, -0.00524901412), lerpintensity)
  1209.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.199996173, 0.726279974, -0.00380632281, -0.486058295, -0.180515736, 0.855080307, -0.80583936, 0.471205562, -0.358592451, -0.338186681, -0.863353729, -0.374500334), lerpintensity)
  1210.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.1847637, 0.632380009, 0.15747872, -0.413873613, 0.211198509, -0.885496855, 0.714891076, 0.677620411, -0.172516018, 0.563595235, -0.704433382, -0.43143332), lerpintensity)
  1211.   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.499999762, 0, -1, 0, 0, 0, 0.965925813, 0.258818835, 0, 0.258818835, -0.965925813), lerpintensity)
  1212.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(-1.90734863e-06, 0.690116882, 0.826450348, -0.99984777, 0, 0.0174524188, 0.00303057628, -0.984807789, 0.17362155, 0.0171872713, 0.17364797, 0.984657824), lerpintensity)
  1213.   TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 0.999999881, -0.000320188352, -0.00100398809, 0.000704634411, -0.505159855, 0.863025546, -0.000783653464, -0.863025784, -0.505159497), lerpintensity)
  1214.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1215.             end
  1216.         end
  1217.     end
  1218. end
  1219.  
  1220. function GunTakeOut()
  1221.     if action == true then
  1222.         return
  1223.     else
  1224.         action=true
  1225.     end
  1226.     lerpintensity=0.3
  1227.     Character.Humanoid.WalkSpeed=0
  1228.     Character.Humanoid.JumpPower=0
  1229.     if Tail ~= nil then
  1230.        
  1231.     end
  1232.     if GunEquipped == false then
  1233.         local random=nil
  1234.         if Tail ~= nil then
  1235.             random=math.random(1, 2)
  1236.         else
  1237.             random=math.random(2, 2)
  1238.         end
  1239.        
  1240.         if random == 1 then
  1241.             for i=1, 45 do
  1242.                 wait()
  1243.                 if i >= 1 and i < 15 then
  1244.                   TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0.459564209, 0.892467499, 0.967061996, 0.3538284, 0.925181389, 0.137275308, 0.732968211, -0.36545071, 0.573762238, 0.581001699, -0.102394968, -0.807435691), lerpintensity)
  1245.                   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1246.                   RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(-0.5, 0.500000119, 0, 0, 0.087155737, 0.99619472, 0, 0.99619472, -0.087155737, -1, 0, 0), lerpintensity)
  1247.                   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(0.500001907, 0.500000238, 0, 0, -0.0871557593, -0.99619472, 0, 0.99619472, -0.0871557593, 1, 0, 0), lerpintensity)
  1248.                   RHip.C1=RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1249.                   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1250.                   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -0.766044438, 0.620885134, 0.166365698, -0.321393549, -0.59411478, 0.737383127, 0.556670487, 0.511399388, 0.654666781), lerpintensity)
  1251.                   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  1252.                 elseif i >= 15 and i < 30 then
  1253.                     if i == 15 then
  1254.                         Gun.Parent=Tail
  1255.                 GunLoadSound.Parent=Gun
  1256.                 GunLoadSound:Play()
  1257.                 GunWeld.Part0=Tail
  1258.                 GunWeld.Part1=Gun
  1259.                  GunWeld.C1=GunWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), 1)
  1260.   GunWeld.C0=GunWeld.C0:Lerp(CFrame.new(-0.136752129, 0.964542389, 2.05783081, -0.118005216, 0.918902755, 0.3764202, -0.431004584, -0.388897091, 0.81424433, 0.894600451, -0.0661537051, 0.441943228), 1)
  1261.                     end
  1262.                       RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(-0.500000954, 0.499999881, 0, 0, 0.087155737, 0.99619478, 0, 0.99619478, -0.087155737, -1, 0, 0), lerpintensity)
  1263.                       LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(0.500001907, 0.500000238, 0, 0, -0.0871557593, -0.99619472, 0, 0.99619472, -0.0871557593, 1, 0, 0), lerpintensity)
  1264.                       RHip.C1=RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1265.                       LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1266.                       Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -0.766044438, 0.620885134, 0.166365698, -0.321393549, -0.59411478, 0.737383127, 0.556670487, 0.511399388, 0.654666781), lerpintensity)
  1267.                       RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  1268.                       TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(-0.0357952118, -0.133686066, 0.153659821, -0.156166315, 0.978144765, 0.137275308, 0.817494452, 0.0499944985, 0.573762238, 0.554359674, 0.201824218, -0.807435691), lerpintensity)
  1269.                       TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1270.                 elseif i >= 30 then
  1271.                        RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(-0.500011444, 0.699986637, 2.67028809e-05, -0.115969479, 0.31778273, 0.941044807, -0.557318985, 0.763417304, -0.326480567, -0.822159767, -0.562323868, 0.0885732472), lerpintensity)
  1272.   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(0.700001895, 1.10000026, 0, 0.951251209, 0.2387826, -0.195202321, 0.0950286984, 0.375202537, 0.92205888, 0.29341203, -0.895659447, 0.334220678), lerpintensity)
  1273.   RHip.C1=RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1274.   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1275.   Neck.C1=Neck.C1:Lerp(CFrame.new(-3.81469727e-06, -0.499997854, 5.7220459e-06, -0.76603961, 0.620893061, 0.166358367, -0.413185656, -0.673885822, 0.612499475, 0.49240315, 0.400461972, 0.772767425), lerpintensity)
  1276.   RJoint.C1=RJoint.C1:Lerp(CFrame.new(-0.000455379486, -9.98973846e-05, 0.00012588501, -1.00000155, -1.95503235e-05, -1.08927488e-05, -1.69947743e-05, 1.19060287e-05, 0.999993205, -1.01029873e-05, 0.999999881, -7.64429569e-06), lerpintensity)
  1277.   TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(-0.0357913971, -0.133386612, 0.154045105, 0.151821822, 0.941880465, 0.299685538, 0.876633883, -0.268372595, 0.399361014, 0.456577718, 0.202082798, -0.866429031), lerpintensity)
  1278.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1279.                 end
  1280.             end
  1281.         else
  1282.             for i=1, 45 do
  1283.             wait()
  1284.             if i >= 1 and i < 15 then
  1285.                     if i == 1 then
  1286.                         masksound:Play()
  1287.                     end
  1288.                   RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(-0.5, 0.500000119, 0, -0.0885213241, -0.411008537, 0.907323539, 0.243210346, 0.874410391, 0.41982758, -0.965925813, 0.257834166, 0.0225575641), lerpintensity)
  1289.                   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(0.500001907, 0.500000238, 0, -0.00644042995, 0.0771135688, -0.997001529, 0.036346633, 0.996381342, 0.0768309459, 0.999318421, -0.035742797, -0.00922000408), lerpintensity)
  1290.                   RHip.C1=RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1291.                   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1292.                   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -0.817427635, 0.574380577, 0.0435779542, -0.306258202, -0.49742949, 0.811646461, 0.487870991, 0.650116205, 0.582521319), lerpintensity)
  1293.                   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  1294.             elseif i >= 15 and i < 30 then
  1295.                 if i == 15 then
  1296.                 Gun.Parent=Character["Right Arm"]
  1297.                 GunLoadSound.Parent=Gun
  1298.                 GunLoadSound:Play()
  1299.                 end
  1300.                  RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(-0.499996185, 0.500000954, -0.299999237, 0.573117733, 0.450334728, 0.684641957, -0.810699165, 0.189650699, 0.553894997, 0.119595334, -0.872485697, 0.473778099), lerpintensity)
  1301.                   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(0.500001907, 0.500000238, 0, 0, 0.0871557593, -0.99619472, 0, 0.99619472, 0.0871557593, 1, 0, 0), lerpintensity)
  1302.                   RHip.C1=RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1303.                   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1304.                   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -0.836516201, 0.247167766, 0.489028335, 0.224143848, -0.660038292, 0.717013896, 0.500000179, 0.709406495, 0.496731579), lerpintensity)
  1305.                   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  1306.             elseif i >= 30 then
  1307.                  RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(-0.399996191, 0.500000954, -0.0999992415, 0.390131444, -0.530427456, 0.752624869, -0.810699165, 0.189650699, 0.553894997, -0.436536878, -0.826244116, -0.356028348), lerpintensity)
  1308.                   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(0.500001907, 0.500000238, 0, 0, 0.0871557593, -0.99619472, 0, 0.99619472, 0.0871557593, 1, 0, 0), lerpintensity)
  1309.                   RHip.C1=RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1310.                   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1311.                   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -0.859785378, 0.00365444645, 0.51064235, 0.365998089, -0.692931056, 0.621201932, 0.356110126, 0.720994592, 0.59443444), lerpintensity)
  1312.                   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  1313.             end
  1314.             end
  1315.         end
  1316.         GunWeld.Part1=Character["Right Arm"]
  1317.         GunWeld.Part0=Gun
  1318.         GunWeld.C0=CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1319.         GunWeld.C1=CFrame.new(0.00025177002, -1.30018997, 4.76837158e-05, 1.00000012, -4.7326088e-05, 8.3854422e-05, -8.38935375e-05, 9.13441181e-06, 1, -4.73186374e-05, -1, 9.13441181e-06)
  1320.         FlashlightClick.PlaybackSpeed=1.1
  1321.         FlashlightClick:Play()
  1322.         GunLaser1.Transparency=0.6
  1323.         GunLaser2.Transparency=0.8
  1324.         GunLaser3.Transparency=0.95
  1325.         action=false
  1326.         walking=false
  1327.         running=false
  1328.         GunEquipped=true
  1329.         Character.Humanoid.WalkSpeed=10
  1330.         GunIdleAnimation()
  1331.         Character.Humanoid.JumpPower=jumppower
  1332.     else
  1333.         action=true
  1334.         GunEquipped=false
  1335.         running=false
  1336.         shiftdown=false
  1337.         FlashlightClick.PlaybackSpeed=0.9
  1338.         FlashlightClick:Play()
  1339.         GunLaser1.Transparency=1
  1340.         GunLaser2.Transparency=1
  1341.         GunLaser3.Transparency=1
  1342.         Character.Humanoid.JumpPower=0
  1343.         for i=1, 15 do
  1344.             wait()
  1345.             if i == 1 then
  1346.                 masksound:Play()
  1347.             elseif i == 14 then
  1348.                 equipsound:Play()
  1349.             end
  1350.               TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.866025448, 0.499999762, 0, -0.499999762, 0.866025448), lerpintensity)
  1351.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1352.              RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(-0.5, 0.500000119, 0, -0.0885213241, -0.411008537, 0.907323539, 0.243210346, 0.874410391, 0.41982758, -0.965925813, 0.257834166, 0.0225575641), lerpintensity)
  1353.                   LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(0.500001907, 0.500000238, 0, -0.00644042995, 0.0771135688, -0.997001529, 0.036346633, 0.996381342, 0.0768309459, 0.999318421, -0.035742797, -0.00922000408), lerpintensity)
  1354.                   RHip.C1=RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1355.                   LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1356.                   Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -0.817427635, 0.574380577, 0.0435779542, -0.306258202, -0.49742949, 0.811646461, 0.487870991, 0.650116205, 0.582521319), lerpintensity)
  1357.                   RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  1358.         end
  1359.         Gun.Parent=nil
  1360.         action=false
  1361.         walking=false
  1362.         running=false
  1363.         shiftdown=false
  1364.         wait()
  1365.         Character.Humanoid.WalkSpeed=10
  1366.         Character.Humanoid.JumpPower=jumppower
  1367.         IdleAnimation()
  1368.     end
  1369. end
  1370.  
  1371. function GunFire(hitP)
  1372.     if action == true then
  1373.         return
  1374.     else
  1375.         action=true
  1376.         shooting=true
  1377.         lerpintensity=0.7
  1378.     end
  1379.     Character.Humanoid.JumpPower=0
  1380.     for i=1, 5 do
  1381.         wait()
  1382.           TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.866025448, 0.499999762, 0, -0.499999762, 0.866025448), lerpintensity)
  1383.             TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1384.           RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.200000018, 1.10000014, 0, -1.94808241e-08, -1.49011603e-08, 0.99999994, -1, 1.87256603e-07, -2.00234354e-08, -1.78955474e-07, -1.00000012, 8.75252168e-16), lerpintensity)
  1385.               LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(0.500001907, 1.10000026, 0, 0.819151998, -3.58062735e-08, -0.573576331, 0.573576391, -2.50718202e-08, 0.819151938, -4.37113883e-08, -1, 0), lerpintensity)
  1386.               RHip.C1=RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1387.               LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1388.               Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0871559083, 0.99619472, 0, 0.99619472, -0.0871559083), lerpintensity)
  1389.               RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  1390.     end
  1391.     local Rya=Ray.new(Gun.CFrame.p, (hitP - Gun.CFrame.p).unit * 500)
  1392.     if not game.Workspace:FindFirstChild("ShotFolder") then
  1393.         local Folder=Instance.new("Folder")
  1394.         Folder.Name="ShotFolder"
  1395.         Folder.Parent=game.Workspace
  1396.         RemoteEvent:FireClient(Playerr, "folderexists")
  1397.     end
  1398.     for i, v in pairs(game.Workspace.ShotFolder:GetChildren()) do
  1399.         table.insert(gunraycastignorelist, 1, v)
  1400.     end
  1401.     for i, v in pairs(game.Workspace:GetDescendants()) do
  1402.         if v.ClassName == "Accessory" then
  1403.             table.insert(gunraycastignorelist, 1, v)
  1404.         end
  1405.     end
  1406.     local part, hitposition=workspace:FindPartOnRayWithIgnoreList(Rya, gunraycastignorelist)
  1407.     local FireBeam=Instance.new("Part")
  1408.     local Magn=(Gun.Position - hitposition).magnitude
  1409.     if part then
  1410.         if part.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1411.             if part.Name == "Head" then
  1412.                 if part.Parent:FindFirstChildOfClass("Humanoid").Health - headshotdamage <= 0 and part.Parent:FindFirstChildOfClass("Humanoid"):GetState() ~= Enum.HumanoidStateType.Dead then
  1413.                 if shoutplaying == true then
  1414.                     return
  1415.                 else
  1416.                     local chance=math.random(1, 3)
  1417.                 if chance == 1 then
  1418.                     Character.Head.Kill1:Play()
  1419.                     Character.Head.Kill1.Ended:Connect(function()
  1420.                         shoutplaying=false
  1421.                     end)
  1422.                 elseif chance == 2 then
  1423.                     Character.Head.Kill2:Play()
  1424.                     Character.Head.Kill2.Ended:Connect(function()
  1425.                         shoutplaying=false
  1426.                     end)
  1427.                 elseif chance == 3 then
  1428.                     Character.Head.Kill3:Play()
  1429.                     Character.Head.Kill3.Ended:Connect(function()
  1430.                         shoutplaying=false
  1431.                     end)
  1432.                 end
  1433.                 end
  1434.             end
  1435.                 if headshotdamage <= part.Parent:FindFirstChildOfClass("Humanoid").Health / 40 then
  1436.                 Useless:Clone().Parent=part
  1437.                 part.Useless.PlaybackSpeed=(math.random(9, 12)) / 10
  1438.                 part.Useless:Remove()
  1439.                 else
  1440.                     ShotMarker:Clone().Parent=part
  1441.                     part.ShotMarker.PlaybackSpeed=1.4
  1442.                     part.ShotMarker:Remove()
  1443.                 end
  1444.                 part.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(headshotdamage)
  1445.             else
  1446.                 if part.Parent:FindFirstChildOfClass("Humanoid").Health - gunshotdamage <= 0 and part.Parent:FindFirstChildOfClass("Humanoid"):GetState() ~= Enum.HumanoidStateType.Dead then
  1447.                 if shoutplaying == true then
  1448.                     return
  1449.                 else
  1450.                     local chance=math.random(1, 3)
  1451.                 if chance == 1 then
  1452.                     Character.Head.Kill1:Play()
  1453.                     Character.Head.Kill1.Ended:Connect(function()
  1454.                         shoutplaying=false
  1455.                     end)
  1456.                 elseif chance == 2 then
  1457.                     Character.Head.Kill2:Play()
  1458.                     Character.Head.Kill2.Ended:Connect(function()
  1459.                         shoutplaying=false
  1460.                     end)
  1461.                 elseif chance == 3 then
  1462.                     Character.Head.Kill3:Play()
  1463.                     Character.Head.Kill3.Ended:Connect(function()
  1464.                         shoutplaying=false
  1465.                     end)
  1466.                 end
  1467.                 end
  1468.             end
  1469.                 if gunshotdamage <= part.Parent:FindFirstChildOfClass("Humanoid").Health / 60 then
  1470.                 Useless:Clone().Parent=part
  1471.                 part.Useless.PlaybackSpeed=(math.random(9, 12)) / 10
  1472.                 part.Useless:Remove()
  1473.                 else
  1474.                     ShotMarker:Clone().Parent=part
  1475.                     part.ShotMarker.PlaybackSpeed=1
  1476.                     part.ShotMarker:Remove()
  1477.                 end
  1478.                 part.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(gunshotdamage)
  1479.             end
  1480.         end
  1481.     end
  1482.     FireBeam.Transparency=0.4
  1483.     FireBeam.CanCollide=false
  1484.     if part then
  1485.         FireBeam.Size=Vector3.new(0.3, 0.3, Magn)
  1486.     else
  1487.         FireBeam.Size=Vector3.new(0.3, 0.3, 500)
  1488.     end
  1489.     FireBeam.Material="Neon"
  1490.     FireBeam.CFrame=Gun.CFrame:Lerp(CFrame.new(hitposition), 0.5)
  1491.     FireBeam.CFrame=CFrame.new(FireBeam.Position, hitposition)
  1492.     FireBeam.Anchored=true
  1493.     FireBeam.Name="PlayerGunFire"
  1494.     FireBeam.Parent=game.Workspace.ShotFolder
  1495.     local properties={}
  1496.     properties.Transparency=1
  1497.     properties.Size=FireBeam.Size + Vector3.new(1, 1, 0)
  1498.     local TweenEnfo=TweenInfo.new(0.3, Enum.EasingStyle.Linear)
  1499.     local TTween=TweenService:Create(FireBeam, TweenEnfo, properties)
  1500.     TTween:Play()
  1501.     TTween.Completed:Connect(function()
  1502.         FireBeam:Destroy()
  1503.     end)
  1504.         local chance=possibleshotnoise[math.random(1, #possibleshotnoise)]
  1505.         if chance == possibleshotnoise[1] then
  1506.             if not Gun:FindFirstChild("first") then
  1507.                 local FireSound=Instance.new("Sound")
  1508.                 FireSound.Name="first"
  1509.                 FireSound.Volume=4
  1510.                 FireSound.SoundId=possibleshotnoise[1]
  1511.                 FireSound.Parent=Gun
  1512.             end
  1513.             Gun.first.Pitch=(math.random(8,12)) / 10
  1514.             Gun.first:Play()
  1515.         elseif chance == possibleshotnoise[2] then
  1516.             if not Gun:FindFirstChild("second") then
  1517.             local FireSound=Instance.new("Sound")
  1518.                 FireSound.Name="second"
  1519.                 FireSound.Volume=4
  1520.                 FireSound.SoundId=possibleshotnoise[2]
  1521.                 FireSound.Parent=Gun
  1522.             end
  1523.             Gun.second.Pitch=(math.random(8,12)) / 10
  1524.             Gun.second:Play()
  1525.         elseif chance == possibleshotnoise[3] then
  1526.             if not Gun:FindFirstChild("third") then
  1527.             local FireSound=Instance.new("Sound")
  1528.                 FireSound.Name="third"
  1529.                 FireSound.Volume=4
  1530.                 FireSound.SoundId=possibleshotnoise[3]
  1531.                 FireSound.Parent=Gun
  1532.             end
  1533.             Gun.third.Pitch=(math.random(8,12)) / 10
  1534.             Gun.third:Play()
  1535.         elseif chance == possibleshotnoise[4] then
  1536.             if not Gun:FindFirstChild("fourth") then
  1537.             local FireSound=Instance.new("Sound")
  1538.                 FireSound.Name="fourth"
  1539.                 FireSound.Volume=4
  1540.                 FireSound.SoundId=possibleshotnoise[4]
  1541.                 FireSound.Parent=Gun
  1542.             end
  1543.             Gun.fourth.Pitch=(math.random(8,12)) / 10
  1544.             Gun.fourth:Play()
  1545.         elseif chance == possibleshotnoise[5] then
  1546.             if not Gun:FindFirstChild("fifth") then
  1547.             local FireSound=Instance.new("Sound")
  1548.                 FireSound.Name="fifth"
  1549.                 FireSound.Volume=4
  1550.                 FireSound.SoundId=possibleshotnoise[5]
  1551.                 FireSound.Parent=Gun
  1552.             end
  1553.             Gun.fifth.Pitch=(math.random(8,12)) / 10
  1554.             Gun.fifth:Play()
  1555.         end
  1556.     action=false
  1557.     if walking == true then
  1558.         if running == true then
  1559.             GunRunAnimation()
  1560.         else
  1561.             GunWalkAnimation()
  1562.         end
  1563.     else
  1564.         GunIdleAnimation()
  1565.     end
  1566.     shooting=false
  1567.     Character.Humanoid.JumpPower=jumppower
  1568.     gunraycastignorelist={Gun, Character}
  1569. end
  1570.  
  1571. function GunExplosionFire(hitP)
  1572.     local Cooldown=coroutine.wrap(function(cooldowntime)
  1573.         repeat
  1574.             wait(0.1)
  1575.             cooldowntime=cooldowntime - 0.1
  1576.         until cooldowntime <= 0
  1577.         shotavailable=true
  1578.     end)
  1579.     if action == true then
  1580.         return
  1581.     else
  1582.         action=true
  1583.     end
  1584.     Character.Humanoid.JumpPower=0
  1585.     lerpintensity=0.7
  1586.     shooting=true
  1587.     shotavailable=false
  1588.     for i=1, 5 do
  1589.         wait()
  1590.           TailWeld.C1=TailWeld.C1:Lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.866025448, 0.499999762, 0, -0.499999762, 0.866025448), lerpintensity)
  1591.   TailWeld.C0=TailWeld.C0:Lerp(CFrame.new(-9.53674316e-07, -0.899998903, 0.500267029, 1, 0, 0, 0, 1, 0, 0, 0, 1), lerpintensity)
  1592.           RShoulder.C1=RShoulder.C1:Lerp(CFrame.new(0.200000018, 1.10000014, 0, -1.94808241e-08, -1.49011603e-08, 0.99999994, -1, 1.87256603e-07, -2.00234354e-08, -1.78955474e-07, -1.00000012, 8.75252168e-16), lerpintensity)
  1593.               LShoulder.C1=LShoulder.C1:Lerp(CFrame.new(0.500001907, 1.10000026, 0, 0.819151998, -3.58062735e-08, -0.573576331, 0.573576391, -2.50718202e-08, 0.819151938, -4.37113883e-08, -1, 0), lerpintensity)
  1594.               RHip.C1=RHip.C1:Lerp(CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), lerpintensity)
  1595.               LHip.C1=LHip.C1:Lerp(CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), lerpintensity)
  1596.               Neck.C1=Neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0871559083, 0.99619472, 0, 0.99619472, -0.0871559083), lerpintensity)
  1597.               RJoint.C1=RJoint.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), lerpintensity)
  1598.     end
  1599.     local Rya=Ray.new(Gun.CFrame.p, (hitP - Gun.CFrame.p).unit * 500)
  1600.     if not game.Workspace:FindFirstChild("ShotFolder") then
  1601.         local Folder=Instance.new("Folder")
  1602.         Folder.Name="ShotFolder"
  1603.         Folder.Parent=game.Workspace
  1604.         RemoteEvent:FireClient(Playerr, "folderexists")
  1605.     end
  1606.     for i, v in pairs(game.Workspace.ShotFolder:GetChildren()) do
  1607.         if v.Name == "PlayerGunFire" then
  1608.             table.insert(gunraycastignorelist, 1, v)
  1609.         end
  1610.     end
  1611.     local part, hitposition=workspace:FindPartOnRayWithIgnoreList(Rya, gunraycastignorelist)
  1612.     local FireBeam=Instance.new("Part")
  1613.     FireBeam.Color=Orange
  1614.     local Magn=(Gun.Position - hitposition).magnitude
  1615.     FireBeam.Transparency=0.4
  1616.     FireBeam.CanCollide=false
  1617.     if part then
  1618.         FireBeam.Size=Vector3.new(0.3, 0.3, Magn)
  1619.     else
  1620.         FireBeam.Size=Vector3.new(0.3, 0.3, 500)
  1621.     end
  1622.     FireBeam.Material="Neon"
  1623.     FireBeam.CFrame=Gun.CFrame:Lerp(CFrame.new(hitposition), 0.5)
  1624.     FireBeam.CFrame=CFrame.new(FireBeam.Position, hitposition)
  1625.     FireBeam.Anchored=true
  1626.     FireBeam.Name="PlayerGunFire"
  1627.     local SecondBeam=FireBeam:Clone()
  1628.     SecondBeam.Size=FireBeam.Size + Vector3.new(0.7, 0.7, 0)
  1629.     SecondBeam.Name="PlayerGunFire"
  1630.     FireBeam.Parent=game.Workspace.ShotFolder
  1631.     SecondBeam.Parent=game.Workspace.ShotFolder
  1632.     local properties={}
  1633.     properties.Transparency=1
  1634.     properties.CFrame=FireBeam.CFrame
  1635.     properties.Size=FireBeam.Size + Vector3.new(FireBeam.Size.X + 1, FireBeam.Size.Y + 1, 0)
  1636.     local TweenEnfo=TweenInfo.new(0.3, Enum.EasingStyle.Linear)
  1637.     local TTween=TweenService:Create(FireBeam, TweenEnfo, properties)
  1638.     TTween:Play()
  1639.     TTween=TweenService:Create(SecondBeam, TweenEnfo, properties)
  1640.     TTween:Play()
  1641.     TTween.Completed:Connect(function()
  1642.         FireBeam:Destroy()
  1643.         SecondBeam:Destroy()
  1644.     end)
  1645.     local Explosioo1=Explosion1:Clone()
  1646.     local Explosioo2=Explosion2:Clone()
  1647.     properties.Size=Vector3.new(Explosioo1.Size.X + 1, Explosioo1.Size.Y + 1, Explosioo1.Size.Z + 1)
  1648.     properties.CFrame=CFrame.new(hitposition)
  1649.     Explosioo1.CFrame=CFrame.new(hitposition)
  1650.     Explosioo1.Parent=game.Workspace
  1651.     TTween=TweenService:Create(Explosioo1, TweenEnfo, properties)
  1652.     TTween:Play()
  1653.     Explosioo2.CFrame=CFrame.new(hitposition)
  1654.     Explosioo2.Parent=game.Workspace
  1655.     explosionsound:Clone().Parent=Explosioo2
  1656.     Explosioo2.Sound:Remove()
  1657.     TTween=TweenService:Create(Explosioo2, TweenEnfo, properties)
  1658.     TTween:Play()
  1659.     TTween.Completed:Connect(function()
  1660.         Explosioo1:Destroy()
  1661.         Explosioo2:Destroy()
  1662.         wait()
  1663.     end)
  1664.     local Explosion=Instance.new("Explosion")
  1665.     Explosion.BlastPressure=500000
  1666.     Explosion.BlastRadius=18
  1667.     Explosion.DestroyJointRadiusPercent=0
  1668.     Explosion.ExplosionType=Enum.ExplosionType.NoCraters
  1669.     Explosion.Visible=false
  1670.     Explosion.Position=Explosioo1.Position
  1671.     Explosion.Parent=game.Workspace
  1672.     Explosioo1.Touched:Connect(function(hit)
  1673.         if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1674.             if hit.Parent:FindFirstChildOfClass("Humanoid"):FindFirstChild("Hit") then
  1675.                 return
  1676.             end
  1677.                 if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1678.                 if hit.Parent:FindFirstChildOfClass("Humanoid").Health - explosionshotdamage <= 0 and hit.Parent:FindFirstChildOfClass("Humanoid"):GetState() ~= Enum.HumanoidStateType.Dead then
  1679.                 if shoutplaying == true then
  1680.                     return
  1681.                 else
  1682.                     local chance=math.random(1, 3)
  1683.                 if chance == 1 then
  1684.                     Character.Head.Kill1:Play()
  1685.                     Character.Head.Kill1.Ended:Connect(function()
  1686.                         shoutplaying=false
  1687.                     end)
  1688.                 elseif chance == 2 then
  1689.                     Character.Head.Kill2:Play()
  1690.                     Character.Head.Kill2.Ended:Connect(function()
  1691.                         shoutplaying=false
  1692.                     end)
  1693.                 elseif chance == 3 then
  1694.                     Character.Head.Kill3:Play()
  1695.                     Character.Head.Kill3.Ended:Connect(function()
  1696.                         shoutplaying=false
  1697.                     end)
  1698.                 end
  1699.                 end
  1700.                 end
  1701.             if explosionshotdamage <= hit.Parent:FindFirstChildOfClass("Humanoid").Health / 20 then
  1702.                 Useless:Clone().Parent=hit
  1703.                 hit.Useless.PlaybackSpeed=(math.random(9, 12)) / 10
  1704.                 hit.Useless:Remove()
  1705.             end
  1706.             local Haet=Instance.new("NumberValue")
  1707.             Haet.Name="Hit"
  1708.             Haet.Parent=hit.Parent:FindFirstChildOfClass("Humanoid")
  1709.             hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(explosionshotdamage)
  1710.             end
  1711.         end
  1712.     end)
  1713.         local chance=possibleshotnoise[math.random(1, #possibleshotnoise)]
  1714.         if chance == possibleshotnoise[1] then
  1715.             if not Gun:FindFirstChild("first") then
  1716.                 local FireSound=Instance.new("Sound")
  1717.                 FireSound.Name="first"
  1718.                 FireSound.Volume=4
  1719.                 FireSound.Parent=Gun
  1720.             end
  1721.             Gun.first.Pitch=(math.random(8,12)) / 10
  1722.             Gun.first:Play()
  1723.         elseif chance == possibleshotnoise[2] then
  1724.             if not Gun:FindFirstChild("second") then
  1725.             local FireSound=Instance.new("Sound")
  1726.                 FireSound.Name="second"
  1727.                 FireSound.Volume=4
  1728.                 FireSound.Parent=Gun
  1729.             end
  1730.             Gun.second.Pitch=(math.random(8,12)) / 10
  1731.             Gun.second:Play()
  1732.         elseif chance == possibleshotnoise[3] then
  1733.             if not Gun:FindFirstChild("third") then
  1734.             local FireSound=Instance.new("Sound")
  1735.                 FireSound.Name="third"
  1736.                 FireSound.Volume=4
  1737.                 FireSound.Parent=Gun
  1738.             end
  1739.             Gun.third.Pitch=(math.random(8,12)) / 10
  1740.             Gun.third:Play()
  1741.         elseif chance == possibleshotnoise[4] then
  1742.             if not Gun:FindFirstChild("fourth") then
  1743.             local FireSound=Instance.new("Sound")
  1744.                 FireSound.Name="fourth"
  1745.                 FireSound.Volume=4
  1746.                 FireSound.Parent=Gun
  1747.             end
  1748.             Gun.fourth.Pitch=(math.random(8,12)) / 10
  1749.             Gun.fourth:Play()
  1750.         elseif chance == possibleshotnoise[5] then
  1751.             if not Gun:FindFirstChild("fifth") then
  1752.             local FireSound=Instance.new("Sound")
  1753.                 FireSound.Name="fifth"
  1754.                 FireSound.Volume=4
  1755.                 FireSound.Parent=Gun
  1756.             end
  1757.             Gun.fifth.Pitch=(math.random(8,12)) / 10
  1758.             Gun.fifth:Play()
  1759.         end
  1760.     action=false
  1761.     Cooldown(2)
  1762.     if walking == true then
  1763.         if running == true then
  1764.             GunRunAnimation()
  1765.         else
  1766.             GunWalkAnimation()
  1767.         end
  1768.     else
  1769.         GunIdleAnimation()
  1770.     end
  1771.     lerpintensity=0.2
  1772.     gunraycastignorelist={Gun, Character}
  1773.     shooting=false
  1774.     Character.Humanoid.JumpPower=jumppower
  1775.     wait()
  1776.     for i, v in pairs(game.Workspace:GetDescendants()) do
  1777.         if v.ClassName == "NumberValue" and v.Name == "Hit" then
  1778.             v:Destroy()
  1779.         end
  1780.     end
  1781. end
  1782.  
  1783. function Ragdoll()
  1784.             Character.Humanoid.AutoRotate=false
  1785.            
  1786.             local xrandom=0
  1787.             local yrandom=0
  1788.             local zrandom=0
  1789.            
  1790.             xrandom=math.random(1,2)
  1791.             yrandom=math.random(1,2)
  1792.             zrandom=math.random(1,2)
  1793.            
  1794.             if xrandom == 1 then
  1795.                 xrandom=-10
  1796.             else
  1797.                 xrandom=10
  1798.             end
  1799.             if yrandom == 1 then
  1800.                 yrandom=-10
  1801.             else
  1802.                 yrandom=10
  1803.             end
  1804.             if zrandom == 1 then
  1805.                 zrandom=-10
  1806.             else
  1807.                 yrandom=10
  1808.             end
  1809.            
  1810.             Character.Torso.RotVelocity=Vector3.new(Character.Torso.RotVelocity.X + xrandom, Character.Torso.RotVelocity.Y + yrandom, Character.Torso.RotVelocity.Z + zrandom)
  1811.             local LeftC=Instance.new("Attachment")
  1812.             LeftC.Position=Vector3.new(0.5, 1, -0)
  1813.             LeftC.Name="LeftCollarAttachment"
  1814.             local RightC=Instance.new("Attachment")
  1815.             RightC.Position=Vector3.new(-0.5, 1, -0)
  1816.             RightC.Name="RightCollarAttachment"
  1817.             local LeftH=Instance.new("Attachment")
  1818.             LeftH.Position=Vector3.new(0.1, 1, -0)
  1819.             LeftH.Name="LeftHipAttachment"
  1820.             local LeftHOrig=Instance.new("Attachment")
  1821.             LeftHOrig.Position=Vector3.new(-0.4, -1, 0)
  1822.             LeftHOrig.Name="LeftHipAttachmentOrig"
  1823.             local RightH=Instance.new("Attachment")
  1824.             RightH.Position=Vector3.new(-0.1, 1, 0)
  1825.             RightH.Name="RightHipAttachment"
  1826.             local RightHOrig=Instance.new("Attachment")
  1827.             RightHOrig.Position=Vector3.new(0.4, -1, 0)
  1828.             RightHOrig.Name="RightHipAttachmentOrig"
  1829.             local NH=Instance.new("Attachment")
  1830.             NH.Position=Vector3.new(0, -0.5, 0)
  1831.             NH.Name="NeckAttachment"
  1832.            
  1833.             local LeftArmdoll=Instance.new("BallSocketConstraint")
  1834.             LeftArmdoll.TwistLimitsEnabled=false
  1835.             LeftArmdoll.Name="LeftArmdoll"
  1836.             local RightArmdoll=Instance.new("BallSocketConstraint")
  1837.             RightArmdoll.TwistLimitsEnabled=false
  1838.             RightArmdoll.Name="RightArmdoll"
  1839.             local LeftLegdoll=Instance.new("BallSocketConstraint")
  1840.             LeftLegdoll.TwistLimitsEnabled=false
  1841.             LeftLegdoll.Name="LeftLegdoll"
  1842.             local RightLegdoll=Instance.new("BallSocketConstraint")
  1843.             RightLegdoll.TwistLimitsEnabled=false
  1844.             RightLegdoll.Name="RightLegdoll"
  1845.             local Neckdoll=Instance.new("BallSocketConstraint")
  1846.             Neckdoll.TwistLimitsEnabled=false
  1847.             Neckdoll.Name="Neckdoll"
  1848.            
  1849.             LeftC:Clone().Parent=Character["Left Arm"]
  1850.             RightC:Clone().Parent=Character["Right Arm"]
  1851.             LeftH:Clone().Parent=Character["Left Leg"]
  1852.             LeftHOrig:Clone().Parent=Character.Torso
  1853.             RightH:Clone().Parent=Character["Right Leg"]
  1854.             RightHOrig:Clone().Parent=Character.Torso
  1855.             NH:Clone().Parent=Character["Head"]
  1856.            
  1857.  
  1858.             LeftArmdoll:Clone().Parent=Character.Torso
  1859.             RightArmdoll:Clone().Parent=Character.Torso
  1860.             LeftLegdoll:Clone().Parent=Character.Torso
  1861.             RightLegdoll:Clone().Parent=Character.Torso
  1862.             Neckdoll:Clone().Parent=Character.Torso
  1863.            
  1864.             Character.Torso.LeftArmdoll.Attachment0=Character.Torso.LeftCollarAttachment
  1865.             Character.Torso.LeftArmdoll.Attachment1=Character["Left Arm"].LeftCollarAttachment
  1866.             Character.Torso.RightArmdoll.Attachment0=Character.Torso.RightCollarAttachment
  1867.             Character.Torso.RightArmdoll.Attachment1=Character["Right Arm"].RightCollarAttachment
  1868.             Character.Torso.LeftLegdoll.Attachment0=Character.Torso.LeftHipAttachmentOrig
  1869.             Character.Torso.LeftLegdoll.Attachment1=Character["Left Leg"].LeftHipAttachment
  1870.             Character.Torso.RightLegdoll.Attachment0=Character.Torso.RightHipAttachmentOrig
  1871.             Character.Torso.RightLegdoll.Attachment1=Character["Right Leg"].RightHipAttachment
  1872.             Character.Torso.Neckdoll.Attachment0=Character.Torso.NeckAttachment
  1873.             Character.Torso.Neckdoll.Attachment1=Character.Head.NeckAttachment
  1874.             for i, v in pairs(Character:GetChildren()) do
  1875.                 if v:IsA("BasePart") then
  1876.                     if v.Name == "Right Arm" or v.Name == "Left Arm" then
  1877.                         v.CustomPhysicalProperties=PhysicalProperties.new(0.1, 0, 0, 0, 0)
  1878.                         local legpart=Instance.new("Part")
  1879.                         legpart.Size=Vector3.new(1,2,1)
  1880.                         legpart.Transparency=1
  1881.                         legpart.Parent=v
  1882.                        
  1883.                         local weld=Instance.new("ManualWeld")
  1884.                         weld.Parent=script.Parent
  1885.                         weld.Part0=legpart
  1886.                         weld.Part1=v
  1887.                        
  1888.                         weld.C0=CFrame.new(0,0,0)
  1889.                         weld.C1=CFrame.new(0,0,0)
  1890.                        
  1891.            
  1892.                         PhysicsService:SetPartCollisionGroup(legpart, "TopLimbs")
  1893.                     elseif v.Name == "Left Leg" or v.Name == "Right Leg" then
  1894.                         v.CustomPhysicalProperties=PhysicalProperties.new(0.1, 0, 0, 0, 0)
  1895.                         local legpart=Instance.new("Part")
  1896.                         legpart.Size=Vector3.new(1,2,1)
  1897.                         legpart.Transparency=1
  1898.                         legpart.Parent=v
  1899.                        
  1900.                         local weld=Instance.new("ManualWeld")
  1901.                         weld.Parent=script.Parent
  1902.                         weld.Part0=legpart
  1903.                         weld.Part1=v
  1904.                        
  1905.                         weld.C0=CFrame.new(0,0,0)
  1906.                         weld.C1=CFrame.new(0,0,0)
  1907.                        
  1908.            
  1909.                         PhysicsService:SetPartCollisionGroup(legpart, "BottomLimbs")
  1910.                     elseif v.Name == "Torso" or v.Name == "Head" then
  1911.                         if v.Size == Vector3.new(2, 1, 1) then
  1912.                             v.CustomPhysicalProperties=PhysicalProperties.new(0.1, 0, 0, 0, 0)
  1913.                             local headpart=Instance.new("Part")
  1914.                             headpart.Size=Vector3.new(2,1,1)
  1915.                             headpart.Transparency=1
  1916.                             headpart.Parent=v
  1917.                            
  1918.                             local weld=Instance.new("ManualWeld")
  1919.                             weld.Parent=script.Parent
  1920.                             weld.Part0=headpart
  1921.                             weld.Part1=v
  1922.                            
  1923.                             weld.C0=CFrame.new(0,0,0)
  1924.                             weld.C1=CFrame.new(0,0,0)
  1925.                         else
  1926.                             local torsopart=Instance.new("Part")
  1927.                             torsopart.Size=Vector3.new(2,2,1)
  1928.                             torsopart.Transparency=1
  1929.                             torsopart.Parent=v
  1930.                            
  1931.                             local weld=Instance.new("ManualWeld")
  1932.                             weld.Parent=script.Parent
  1933.                             weld.Part0=torsopart
  1934.                             weld.Part1=v
  1935.                            
  1936.                             weld.C0=CFrame.new(0,0,0)
  1937.                             weld.C1=CFrame.new(0,0,0)
  1938.                         end
  1939.                         PhysicsService:SetPartCollisionGroup(v, "BignSmallLimbs")
  1940.                     end
  1941.                 end
  1942.             end
  1943.                    
  1944.         for i, v in pairs(Character:GetDescendants()) do
  1945.             if v.ClassName == "Motor6D" then
  1946.                 v:Remove()
  1947.             end
  1948.         end
  1949. end
  1950.  
  1951. function SelfTerminate()
  1952.     while wait() do
  1953.         if Character == nil then
  1954.             wait(1)
  1955.             script:Destroy()
  1956.         end
  1957.     end
  1958. end
  1959.  
  1960. function Talk(chatmessage)
  1961.     local FiltersAreActualDooDooService=game:GetService("TextService")
  1962.     local TweenService=game:GetService("TweenService")
  1963.     local WhatHeSaid=chatmessage
  1964.     repeat
  1965.         wait()
  1966.         local succ, err=pcall(function()
  1967.             WhatHeSaid=(FiltersAreActualDooDooService:FilterStringAsync(WhatHeSaid, Playerr.UserId)):GetChatForUserAsync(Playerr.UserId)
  1968.         end)
  1969.     until succ
  1970.     if Character.Torso:FindFirstChild("BillboardGui") ~= nil then
  1971.         Character.Torso.BillboardGui:Destroy()
  1972.     elseif Character.Torso:FindFirstChild("SecondBoard") ~= nil then
  1973.         Character.Torso.SecondBoard:Destroy()
  1974.     end
  1975.     local BillboardGui=Instance.new("BillboardGui")
  1976.     BillboardGui.Parent=Character.Torso
  1977.     BillboardGui.StudsOffset=Vector3.new(0, 4, 0)
  1978.     BillboardGui.Size=UDim2.new(1, 0, 1, 0)
  1979.     local Text=Instance.new("TextLabel")
  1980.     Text.Text=""
  1981.     Text.Size=UDim2.new(1, 0, 1, 0)
  1982.     Text.BackgroundTransparency=1
  1983.     Text.Parent=BillboardGui
  1984.     Text.TextSize=16
  1985.     Text.TextColor3=Color3.new(1, 1, 1)
  1986.     Text.TextStrokeTransparency=0
  1987.     Text.TextStrokeColor3=Color3.new(0.4, 0.4, 0.4)
  1988.     Text.Text=WhatHeSaid
  1989.     wait(1)
  1990.     local chance=math.random(1, 2)
  1991.     local properties={}
  1992.     properties.TextTransparency=1
  1993.     properties.TextStrokeTransparency=1
  1994.     if chance == 1 then
  1995.         properties.Rotation=-45
  1996.     else
  1997.         properties.Rotation=45
  1998.     end
  1999.     local TweenInfo=TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.In)
  2000.     local Tween=TweenService:Create(Text, TweenInfo, properties)
  2001.     Tween:Play()
  2002.     Tween.Completed:Connect(function()
  2003.         if BillboardGui then
  2004.             BillboardGui:Destroy()
  2005.         end
  2006.     end)
  2007.     properties.TextTransparency=nil
  2008.     properties.TextStrokeTransparency=nil
  2009.     properties.Rotation=nil
  2010.     Tween=TweenService:Create(BillboardGui, TweenInfo, properties)
  2011.     Tween:Play()
  2012. end
  2013.  
  2014. Character.Humanoid.Running:Connect(function(spd)
  2015.     if spd > 0.1 then
  2016.         if action == true or walking == true then
  2017.             return
  2018.         end
  2019.         if GunEquipped == true then
  2020.             walking=true
  2021.             GunWalkAnimation()
  2022.         else
  2023.             walking=true
  2024.             WalkAnimation()
  2025.         end
  2026.     elseif spd <= 0.1 then
  2027.         if action == true or walking == false then
  2028.             return
  2029.         end
  2030.         if GunEquipped == true then
  2031.             walking=false
  2032.             GunIdleAnimation()
  2033.         else
  2034.             walking=false
  2035.             IdleAnimation()
  2036.         end
  2037.     end
  2038. end)
  2039.  
  2040. Character.Humanoid.StateChanged:Connect(function(old, new)
  2041.     if freefall == true and Character.Humanoid:GetState() ~= Enum.HumanoidStateType.Freefall then
  2042.         freefall=false
  2043.     end
  2044.     if Character.Humanoid:GetState() == Enum.HumanoidStateType.Dead then
  2045.         Ragdoll()
  2046.         if Gun.Parent ~= nil and Gun:FindFirstChildOfClass("ManualWeld") then
  2047.             Gun.ManualWeld:Destroy()
  2048.         end
  2049.         wait(0.1)
  2050.         script:Destroy()
  2051.     elseif Character.Humanoid:GetState() == Enum.HumanoidStateType.Freefall then
  2052.         freefall=true
  2053.         FallingAnimation()
  2054.     end
  2055. end)
  2056.  
  2057. Playerr.Chatted:Connect(function(chatmessage)
  2058.     Talk(chatmessage)
  2059. end)
  2060.  
  2061. function stoprunning()
  2062.     if GunEquipped == false then
  2063.             return
  2064.         end
  2065.         shiftdown=false
  2066.         running=false
  2067.         Character.Humanoid.WalkSpeed=10
  2068.         if walking == true then
  2069.             GunWalkAnimation()
  2070.         else
  2071.             GunIdleAnimation()
  2072.         end
  2073. end
  2074.  
  2075. RemoteEvent.OnServerEvent:Connect(function(player, contact, contact2)
  2076.     if contact == "gunhold" then
  2077.         if GunEquipped then return;end;
  2078.         if action then
  2079.             if grabbed then
  2080.                 if on == "true" then
  2081.                     on="more"
  2082.                     return
  2083.                 elseif on == "more" then
  2084.                     on="owo"
  2085.                 end
  2086.             end
  2087.             return
  2088.         end
  2089.         on="true"
  2090.         Groom()
  2091.     elseif contact == "gunfire" then
  2092.         if GunEquipped == true then
  2093.             GunFire(contact2)
  2094.         end
  2095.     elseif contact == "explosionfire" then
  2096.         if GunEquipped == true and shotavailable == true then
  2097.             GunExplosionFire(contact2)
  2098.         end
  2099.     elseif contact == "startrunning" then
  2100.         if action == true then
  2101.             return
  2102.         end
  2103.         if walking == true then
  2104.             shiftdown=true
  2105.             Character.Humanoid.WalkSpeed=50
  2106.             GunRunAnimation()
  2107.         end
  2108.     elseif contact == "stoprunning" then
  2109.         shiftdown=false
  2110.         if action == true or running == false then
  2111.             return
  2112.         end
  2113.         stoprunning()
  2114.     elseif contact == "musicswitch" then
  2115.         if music == false then
  2116.             YoshisIsland:Play()
  2117.             music=true
  2118.         else
  2119.             YoshisIsland:Stop()
  2120.             music=false
  2121.         end
  2122.     elseif contact == "tacklehug"and Settings.LeapModeEnabled then
  2123.         if GunEquipped == true then
  2124.             return
  2125.         end
  2126.         if action then
  2127.             if grabbed then
  2128.                 if on == "true" then
  2129.                     on="more"
  2130.                     return;
  2131.                 end;
  2132.             end;
  2133.             return;
  2134.         end;
  2135.         on="true"
  2136.         Tackle()
  2137.     elseif contact == "stoptacklehug" then
  2138.         if GunEquipped == true then
  2139.             return
  2140.         end
  2141.         on="false"
  2142.     end
  2143. end)
  2144.  
  2145. spawn(SelfTerminate)
  2146. wait()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement