Advertisement
Thefrozen106

Noob Baseball Bat

Jun 11th, 2017
1,811
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 72.85 KB | None | 0 0
  1. --hi
  2.  
  3.   plr = game.Players.LocalPlayer
  4.   repeat
  5.     wait(0.4)
  6.   until plr.Character
  7.   chr = plr.Character
  8.   human = chr:FindFirstChild("Humanoid")
  9.   mouse = plr:GetMouse()
  10.   cam = workspace.CurrentCamera
  11.   selected = false
  12.   equipd = false
  13.   tors = chr.Torso
  14.   rarm = chr["Right Arm"]
  15.   larm = chr["Left Arm"]
  16.   rleg = chr["Right Leg"]
  17.   lleg = chr["Left Leg"]
  18.   hrp = chr.HumanoidRootPart
  19.   hed = chr.Head
  20.   anim = human.Animator
  21.   activu = false
  22.   ragged = false
  23.   batting = false
  24.   Heartbeat = Instance.new("BindableEvent")
  25.   Heartbeat.Name = "Heartbeat"
  26.   Heartbeat.Parent = script
  27.   frame = 0.03333333333333333
  28.   tf = 0
  29.   game:GetService("RunService").Heartbeat:connect(function(s, p)
  30.     tf = tf + s
  31.     if tf >= frame then
  32.       for i = 1, math.floor(tf / frame) do
  33.         Heartbeat:Fire()
  34.       end
  35.       tf = tf - frame * math.floor(tf / frame)
  36.     end
  37.   end)
  38.   function swait(num)
  39.     if num == 0 or num == nil then
  40.       Heartbeat.Event:wait()
  41.     else
  42.       for i = 1, num do
  43.         Heartbeat.Event:wait()
  44.       end
  45.     end
  46.   end
  47.   tool = Instance.new("Tool")
  48.   tool.CanBeDropped = false
  49.   tool.RequiresHandle = false
  50.   tool.TextureId = "rbxassetid://291302154"
  51.   tool.ToolTip = "NANI"
  52.   tool.Name = "AAAAAAAAAAAAAA"
  53.   tool.Parent = plr.Backpack
  54.   modz = Instance.new("Model")
  55.   modz.Name = "efx"
  56.   modz.Parent = chr
  57.   RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  58.   RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  59.   LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  60.   LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  61.   RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  62.   RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  63.   LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  64.   RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  65.   LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  66.   NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  67.   NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  68.   RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  69.   local nscale = Instance.new("NumberValue")
  70.   nscale.Value = 1
  71.   nscale.Parent = nil
  72.   RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  73.   RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  74.   LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  75.   LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  76.   RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  77.   RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  78.   LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  79.   LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  80.   RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  81.   RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  82.   NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  83.   NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  84.   nscale.Changed:connect(function()
  85.     RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  86.     RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  87.     LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  88.     LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  89.     RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  90.     RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  91.     LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  92.     LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  93.     RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  94.     RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  95.     NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  96.     NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  97.   end)
  98.   RS = tors:FindFirstChild("Right Shoulder")
  99.   LS = tors:FindFirstChild("Left Shoulder")
  100.   RH = tors:FindFirstChild("Right Hip")
  101.   LH = tors:FindFirstChild("Left Hip")
  102.   RJ = hrp:FindFirstChild("RootJoint")
  103.   N = tors:FindFirstChild("Neck")
  104.   cf = CFrame.new
  105.   ang = CFrame.Angles
  106.   rd = math.rad
  107.   rd2 = math.random
  108.   function nooutline(p)
  109.     p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
  110.   end
  111.   function makepart(color, name, reflec, trans, mater, parnt, cfram)
  112.     local port = Instance.new("Part")
  113.     port.BrickColor = BrickColor.new(color)
  114.     port.Name = name
  115.     port.Transparency = trans
  116.     nooutline(port)
  117.     port.Reflectance = reflec
  118.     port.Material = mater
  119.     port.Anchored = false
  120.     port.CanCollide = false
  121.     port.Locked = true
  122.     port.Size = Vector3.new(0.2, 0.2, 0.2)
  123.     port.Parent = parnt
  124.     return port
  125.   end
  126.   function makemesh(meshtype, scale, meshid, parent)
  127.     local mes = Instance.new("SpecialMesh")
  128.     mes.MeshType = meshtype
  129.     mes.Scale = scale
  130.     if meshtype == "FileMesh" then
  131.       mes.MeshId = meshid
  132.     end
  133.     mes.Parent = parent
  134.     return mes
  135.   end
  136.   function makeweld(parent, p0, p1, c0, c1)
  137.     local wel = Instance.new("Weld")
  138.     wel.Part0 = p0
  139.     wel.Part1 = p1
  140.     wel.C0 = c0
  141.     if c1 ~= nil then
  142.       wel.C1 = c1
  143.     end
  144.     wel.Parent = parent
  145.     return wel
  146.   end
  147.   local lauf1 = Instance.new("Sound")
  148.   lauf1.SoundId = "rbxassetid://137473066"
  149.   lauf1.Volume = 1.5
  150.   lauf1.Pitch = 2
  151.   lauf1.Parent = hrp
  152.   function lerpz(joint, prop, cfrmz, alp)
  153.     joint[prop] = joint[prop]:lerp(cfrmz, alp)
  154.   end
  155.   lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  156.   lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  157.   lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  158.   lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  159.   lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  160.   lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  161.   lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  162.   lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  163.   lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  164.   lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  165.   function resetlerp()
  166.     RJ.C0 = RJC0
  167.     RJ.C1 = RJC1
  168.     N.C0 = NC0
  169.     N.C1 = NC1
  170.     RS.C0 = RSC0
  171.     RS.C1 = RSC1
  172.     LS.C0 = LSC0
  173.     LS.C1 = LSC1
  174.     RH.C0 = RHC0
  175.     RH.C1 = RHC1
  176.     LH.C0 = LHC0
  177.     LH.C1 = LHC1
  178.   end
  179.   function test()
  180.     if selected == false or activu == true then
  181.       return
  182.     end
  183.     if ragged == false then
  184.       ragged = true
  185.       human.PlatformStand = true
  186.       if rarm and tors:FindFirstChild("Right Shoulder") then
  187.         tors:FindFirstChild("Right Shoulder"):Destroy()
  188.         makegloo(tors, RightShoulderC0, RightShoulderC1, tors, rarm, "Right Shoulder")
  189.         maketouchy(rarm, rarm, CFrame.new(0, 0.5, 0))
  190.       end
  191.       if larm and tors:FindFirstChild("Left Shoulder") then
  192.         tors:FindFirstChild("Left Shoulder"):Destroy()
  193.         makegloo(tors, LeftShoulderC0, LeftShoulderC1, tors, larm, "Left Shoulder")
  194.         maketouchy(larm, larm, CFrame.new(0, 0.5, 0))
  195.       end
  196.       if rleg and tors:FindFirstChild("Right Hip") then
  197.         tors:FindFirstChild("Right Hip"):Destroy()
  198.         makegloo(tors, RightHipC0, RightHipC1, tors, rleg, "Right Hip")
  199.         maketouchy(rleg, rleg, CFrame.new(0, 0.5, 0))
  200.       end
  201.       if lleg and tors:FindFirstChild("Left Hip") then
  202.         tors:FindFirstChild("Left Hip"):Destroy()
  203.         makegloo(tors, LeftHipC0, LeftHipC1, tors, lleg, "Left Hip")
  204.         maketouchy(lleg, lleg, CFrame.new(0, 0.5, 0))
  205.       end
  206.     elseif ragged == true then
  207.       ragged = false
  208.       human.Jump = true
  209.       if rarm and tors:FindFirstChild("Right Shoulder") then
  210.         tors:FindFirstChild("Right Shoulder"):Destroy()
  211.         makejoint(tors, RSC0, RSC1, tors, rarm, "Right Shoulder")
  212.         rarm:FindFirstChild("touchy"):Destroy()
  213.       end
  214.       if larm and tors:FindFirstChild("Left Shoulder") then
  215.         tors:FindFirstChild("Left Shoulder"):Destroy()
  216.         makejoint(tors, LSC0, LSC1, tors, larm, "Left Shoulder")
  217.         larm:FindFirstChild("touchy"):Destroy()
  218.       end
  219.       if rleg and tors:FindFirstChild("Right Hip") then
  220.         tors:FindFirstChild("Right Hip"):Destroy()
  221.         makejoint(tors, RHC0, RHC1, tors, rleg, "Right Hip")
  222.         rleg:FindFirstChild("touchy"):Destroy()
  223.       end
  224.       if lleg and tors:FindFirstChild("Left Hip") then
  225.         tors:FindFirstChild("Left Hip"):Destroy()
  226.         makejoint(tors, LHC0, LHC1, tors, lleg, "Left Hip")
  227.         lleg:FindFirstChild("touchy"):Destroy()
  228.       end
  229.       RS = tors:FindFirstChild("Right Shoulder")
  230.       LS = tors:FindFirstChild("Left Shoulder")
  231.       RH = tors:FindFirstChild("Right Hip")
  232.       LH = tors:FindFirstChild("Left Hip")
  233.       RJ = hrp:FindFirstChild("RootJoint")
  234.       N = tors:FindFirstChild("Neck")
  235.     end
  236.   end
  237.   function makegloo(paren, co, ci, parto, parti, nam)
  238.     local gloo = Instance.new("Glue")
  239.     gloo.Name = nam
  240.     gloo.C0 = co
  241.     gloo.C1 = ci
  242.     gloo.Part0 = parto
  243.     gloo.Part1 = parti
  244.     gloo.Parent = paren
  245.   end
  246.   function makejoint(paren, co, ci, parto, parti, nam)
  247.     local gloo = Instance.new("Motor6D")
  248.     gloo.Name = nam
  249.     gloo.C0 = co
  250.     gloo.C1 = ci
  251.     gloo.Part0 = parto
  252.     gloo.Part1 = parti
  253.     gloo.Parent = paren
  254.   end
  255.   function maketouchy(parent, limb, cframe)
  256.     local pr = Instance.new("Part")
  257.     pr.Name = "touchy"
  258.     pr.Size = Vector3.new(1 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value)
  259.     pr.Transparency = 1
  260.     pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5)
  261.     pr.CanCollide = true
  262.     pr.Anchored = false
  263.     pr.Parent = parent
  264.     local w = Instance.new("Weld")
  265.     w.Part0 = pr
  266.     w.Part1 = limb
  267.     w.C0 = cframe
  268.     w.Parent = pr
  269.   end
  270.   local clibat, spec
  271.   local dipperhat = chr:FindFirstChild("DXD_DipperHat")
  272.   local dipperrot
  273.   if dipperhat then
  274.     dipperrot = dipperhat.Handle.HatAttachment.Rotation
  275.   end
  276.   function bat()
  277.     if selected == false or activu == true then
  278.       return
  279.     end
  280.     if batting == false then
  281.       batting = true
  282.       do
  283.         local bmod = Instance.new("Model")
  284.         bmod.Name = "bmodel"
  285.         bmod.Parent = chr
  286.         local hnd = makepart("Br. yellowish green", "hnd", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
  287.         local hmes = makemesh("Head", Vector3.new(2, 9, 2), nil, hnd)
  288.         local hwel = makeweld(hnd, hnd, rarm, ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0), nil)
  289.         local pt1 = makepart("Bright yellow", "pt1", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
  290.         local p1m = makemesh("Head", Vector3.new(2.5, 2.5, 2.5), nil, pt1)
  291.         local p1w = makeweld(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 1, 0), nil)
  292.         local pt2 = makepart("Bright yellow", "pt2", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
  293.         local p2m = makemesh("FileMesh", Vector3.new(0.375, 0.375, 0.375), "rbxassetid://250640098", pt2)
  294.         p2m.TextureId = "rbxassetid://250639536"
  295.         local p2w = makeweld(pt2, pt2, hnd, ang(rd(180), rd(180), rd(0)) * cf(0, 1.225, 0.075), nil)
  296.         local pt3 = makepart("Bright yellow", "pt3", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
  297.         local p3m = makemesh("Head", Vector3.new(2.5, 2.5, 2.5), nil, pt3)
  298.         local p3w = makeweld(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0), nil)
  299.         local pt4 = makepart("Bright yellow", "pt4", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
  300.         local p4m = makemesh("FileMesh", Vector3.new(0.025, 0.025, 0.025), "rbxassetid://703458158", pt4)
  301.         local p4w = makeweld(pt4, pt4, hnd, ang(rd(180), rd(0), rd(0)) * cf(0, -1.25, 0), nil)
  302.         local pt5 = makepart("Bright yellow", "pt5", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
  303.         local p5m = makemesh("Cylinder", Vector3.new(21.5, 6.25, 6.25), nil, pt5)
  304.         local p5w = makeweld(pt5, pt5, hnd, ang(rd(0), rd(0), rd(90)) * cf(0, -4.025, 0), nil)
  305.         local pt6 = makepart("Bright yellow", "pt6", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
  306.         local p6m = makemesh("Head", Vector3.new(6.5, 6.5, 6.5), nil, pt6)
  307.         local p6w = makeweld(pt6, pt6, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -6.05, 0), nil)
  308.         local pt7 = makepart("Bright yellow", "pt7", 0, 0, "SmoothPlastic", bmod, rarm.CFrame)
  309.         local p7m = makemesh("FileMesh", Vector3.new(0.95, 0.95, 0.95), "rbxassetid://272942659", pt7)
  310.         p7m.TextureId = "rbxassetid://272942750"
  311.         local p7w = makeweld(pt7, pt7, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -6.2, 0), nil)
  312.         local swingwoo = Instance.new("Sound")
  313.         swingwoo.SoundId = "rbxassetid://10209640"
  314.         swingwoo.Pitch = rd2(10, 11) / 10
  315.         swingwoo.Name = "sweae"
  316.         swingwoo.Volume = 1
  317.         swingwoo.Parent = hrp
  318.         clibat = tool.Activated:connect(function()
  319.           if selected == false or activu == true or ragged == true then
  320.             return
  321.           end
  322.           activu = true
  323.           for _ = 1, 5 do
  324.             swait()
  325.             lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7)
  326.             lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  327.             lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(-20), rd(179)), 0.7)
  328.             lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  329.             lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7)
  330.             lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  331.             lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7)
  332.             lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  333.             lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7)
  334.             lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  335.           end
  336.           local bon = Instance.new("Sound")
  337.           bon.SoundId = "rbxassetid://135436482"
  338.           bon.Pitch = rd2(10, 12) / 10
  339.           bon.Volume = 1
  340.           bon.Parent = hrp
  341.           game.Debris:AddItem(bon, 1)
  342.           bon:Play()
  343.           swingwoo:Play()
  344.           for X = 1, 5 do
  345.             swait()
  346.             if X > 1 then
  347.               hito(pt5, 5, 10, 0.2, hrp.CFrame.lookVector * 25, Vector3.new(0, rd2(-5, 5), rd2(-40, 40)))
  348.             end
  349.             lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7)
  350.             lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  351.             lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7)
  352.             lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  353.             lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7)
  354.             lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  355.             lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7)
  356.             lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  357.             lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7)
  358.             lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  359.           end
  360.           activu = false
  361.         end)
  362.         spec = mouse.KeyDown:connect(function(keya)
  363.           if selected == false or activu == true or ragged == true then
  364.             return
  365.           end
  366.           if keya == "e" then
  367.             activu = true
  368.             local speed = human.WalkSpeed
  369.             human.WalkSpeed = 0
  370.             human:SetStateEnabled(3, false)
  371.             local function expa()
  372.               local sond = Instance.new("Sound")
  373.               sond.Volume = 1.25
  374.               sond.Pitch = 1
  375.               sond.EmitterSize = 15
  376.               sond.SoundId = "rbxassetid://315152748"
  377.               sond.Parent = pt6
  378.               sond:Play()
  379.               for _ = 1, 3 do
  380.                 swait()
  381.                 hmes.Scale = hmes.Scale:lerp(Vector3.new(6, 27, 6), 0.7)
  382.                 p1m.Scale = p1m.Scale:lerp(Vector3.new(7.5, 7.5, 7.5), 0.7)
  383.                 p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 3, 0), 0.7)
  384.                 p2m.Scale = p2m.Scale:lerp(Vector3.new(1.125, 1.125, 1.125), 0.7)
  385.                 p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 3.6750000000000003, 0.22499999999999998), 0.7)
  386.                 p3m.Scale = p3m.Scale:lerp(Vector3.new(7.5, 7.5, 7.5), 0.7)
  387.                 p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), 0.7)
  388.                 p4m.Scale = p4m.Scale:lerp(Vector3.new(0.07500000000000001, 0.07500000000000001, 0.07500000000000001), 0.7)
  389.                 p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -3.75, 0), 0.7)
  390.                 p5m.Scale = p5m.Scale:lerp(Vector3.new(64.5, 18.75, 18.75), 0.7)
  391.                 p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -12.075000000000001, 0), 0.7)
  392.                 p6m.Scale = p6m.Scale:lerp(Vector3.new(19.5, 19.5, 19.5), 0.7)
  393.                 p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -18.15, 0), 0.7)
  394.                 p7m.Scale = p7m.Scale:lerp(Vector3.new(2.8499999999999996, 2.8499999999999996, 2.8499999999999996), 0.7)
  395.                 p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -18.6, 0), 0.7)
  396.               end
  397.               for _ = 1, 5 do
  398.                 swait()
  399.                 hmes.Scale = hmes.Scale:lerp(Vector3.new(4, 18, 4), 0.7)
  400.                 p1m.Scale = p1m.Scale:lerp(Vector3.new(5, 5, 5), 0.7)
  401.                 p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 2, 0), 0.7)
  402.                 p2m.Scale = p2m.Scale:lerp(Vector3.new(0.75, 0.75, 0.75), 0.7)
  403.                 p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 2.45, 0.15), 0.7)
  404.                 p3m.Scale = p3m.Scale:lerp(Vector3.new(5, 5, 5), 0.7)
  405.                 p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -2, 0), 0.7)
  406.                 p4m.Scale = p4m.Scale:lerp(Vector3.new(0.05, 0.05, 0.05), 0.7)
  407.                 p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -2.5, 0), 0.7)
  408.                 p5m.Scale = p5m.Scale:lerp(Vector3.new(43, 12.5, 12.5), 0.7)
  409.                 p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -8.05, 0), 0.7)
  410.                 p6m.Scale = p6m.Scale:lerp(Vector3.new(13, 13, 13), 0.7)
  411.                 p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -12.1, 0), 0.7)
  412.                 p7m.Scale = p7m.Scale:lerp(Vector3.new(1.9, 1.9, 1.9), 0.7)
  413.                 p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -12.4, 0), 0.7)
  414.               end
  415.               sond.Pitch = 0.75
  416.               sond:Play()
  417.               for _ = 1, 3 do
  418.                 swait()
  419.                 hmes.Scale = hmes.Scale:lerp(Vector3.new(12, 54, 12), 0.7)
  420.                 p1m.Scale = p1m.Scale:lerp(Vector3.new(15, 15, 15), 0.7)
  421.                 p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 6, 0), 0.7)
  422.                 p2m.Scale = p2m.Scale:lerp(Vector3.new(2.25, 2.25, 2.25), 0.7)
  423.                 p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 7.3500000000000005, 0.44999999999999996), 0.7)
  424.                 p3m.Scale = p3m.Scale:lerp(Vector3.new(15, 15, 15), 0.7)
  425.                 p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -6, 0), 0.7)
  426.                 p4m.Scale = p4m.Scale:lerp(Vector3.new(0.15000000000000002, 0.15000000000000002, 0.15000000000000002), 0.7)
  427.                 p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -7.5, 0), 0.7)
  428.                 p5m.Scale = p5m.Scale:lerp(Vector3.new(129, 37.5, 37.5), 0.7)
  429.                 p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -24.150000000000002, 0), 0.7)
  430.                 p6m.Scale = p6m.Scale:lerp(Vector3.new(39, 39, 39), 0.7)
  431.                 p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -36.3, 0), 0.7)
  432.                 p7m.Scale = p7m.Scale:lerp(Vector3.new(5.699999999999999, 5.699999999999999, 5.699999999999999), 0.7)
  433.                 p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -37.2, 0), 0.7)
  434.               end
  435.               for _ = 1, 5 do
  436.                 swait()
  437.                 hmes.Scale = hmes.Scale:lerp(Vector3.new(8, 36, 8), 0.7)
  438.                 p1m.Scale = p1m.Scale:lerp(Vector3.new(10, 10, 10), 0.7)
  439.                 p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 4, 0), 0.7)
  440.                 p2m.Scale = p2m.Scale:lerp(Vector3.new(1.5, 1.5, 1.5), 0.7)
  441.                 p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 4.9, 0.3), 0.7)
  442.                 p3m.Scale = p3m.Scale:lerp(Vector3.new(10, 10, 10), 0.7)
  443.                 p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4, 0), 0.7)
  444.                 p4m.Scale = p4m.Scale:lerp(Vector3.new(0.1, 0.1, 0.1), 0.7)
  445.                 p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -5, 0), 0.7)
  446.                 p5m.Scale = p5m.Scale:lerp(Vector3.new(86, 25, 25), 0.7)
  447.                 p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -16.1, 0), 0.7)
  448.                 p6m.Scale = p6m.Scale:lerp(Vector3.new(26, 26, 26), 0.7)
  449.                 p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -24.2, 0), 0.7)
  450.                 p7m.Scale = p7m.Scale:lerp(Vector3.new(3.8, 3.8, 3.8), 0.7)
  451.                 p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -24.8, 0), 0.7)
  452.               end
  453.               sond.Pitch = 0.4
  454.               sond:Play()
  455.               game.Debris:AddItem(sond, 2)
  456.               for _ = 1, 3 do
  457.                 swait()
  458.                 hmes.Scale = hmes.Scale:lerp(Vector3.new(18, 81, 18), 0.7)
  459.                 p1m.Scale = p1m.Scale:lerp(Vector3.new(22.5, 22.5, 22.5), 0.7)
  460.                 p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 9, 0), 0.7)
  461.                 p2m.Scale = p2m.Scale:lerp(Vector3.new(3.375, 3.375, 3.375), 0.7)
  462.                 p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 11.025, 0.6749999999999999), 0.7)
  463.                 p3m.Scale = p3m.Scale:lerp(Vector3.new(22.5, 22.5, 22.5), 0.7)
  464.                 p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -9, 0), 0.7)
  465.                 p4m.Scale = p4m.Scale:lerp(Vector3.new(0.225, 0.225, 0.225), 0.7)
  466.                 p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -11.25, 0), 0.7)
  467.                 p5m.Scale = p5m.Scale:lerp(Vector3.new(193.5, 56.25, 56.25), 0.7)
  468.                 p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -36.225, 0), 0.7)
  469.                 p6m.Scale = p6m.Scale:lerp(Vector3.new(58.5, 58.5, 58.5), 0.7)
  470.                 p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -54.449999999999996, 0), 0.7)
  471.                 p7m.Scale = p7m.Scale:lerp(Vector3.new(5.699999999999999, 8.549999999999999, 8.549999999999999), 0.7)
  472.                 p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -55.800000000000004, 0), 0.7)
  473.               end
  474.               for _ = 1, 5 do
  475.                 swait()
  476.                 hmes.Scale = hmes.Scale:lerp(Vector3.new(14, 63, 14), 0.7)
  477.                 p1m.Scale = p1m.Scale:lerp(Vector3.new(17.5, 17.5, 17.5), 0.7)
  478.                 p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 7, 0), 0.7)
  479.                 p2m.Scale = p2m.Scale:lerp(Vector3.new(2.625, 2.625, 2.625), 0.7)
  480.                 p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 8.575000000000001, 0.525), 0.7)
  481.                 p3m.Scale = p3m.Scale:lerp(Vector3.new(17.5, 17.5, 17.5), 0.7)
  482.                 p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -7, 0), 0.7)
  483.                 p4m.Scale = p4m.Scale:lerp(Vector3.new(0.17500000000000002, 0.17500000000000002, 0.17500000000000002), 0.7)
  484.                 p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -8.75, 0), 0.7)
  485.                 p5m.Scale = p5m.Scale:lerp(Vector3.new(150.5, 43.75, 43.75), 0.7)
  486.                 p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -28.175000000000004, 0), 0.7)
  487.                 p6m.Scale = p6m.Scale:lerp(Vector3.new(45.5, 45.5, 45.5), 0.7)
  488.                 p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -42.35, 0), 0.7)
  489.                 p7m.Scale = p7m.Scale:lerp(Vector3.new(6.6499999999999995, 6.6499999999999995, 6.6499999999999995), 0.7)
  490.                 p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -43.4, 0), 0.7)
  491.               end
  492.             end
  493.             for _ = 1, 9 do
  494.               swait()
  495.               lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5)
  496.               lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5)
  497.               lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5)
  498.               lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  499.               lerpz(LS, "C0", LSC0 * cf(0, 0.2, -0.2) * ang(rd(70), rd(-60), rd(-100)), 0.5)
  500.               if dipperhat then
  501.                 dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(0, 0, 0), 0.3)
  502.               end
  503.               lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  504.               lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5)
  505.               lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  506.               lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5)
  507.               lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  508.             end
  509.             for _ = 1, 9 do
  510.               swait()
  511.               lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5)
  512.               lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5)
  513.               lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5)
  514.               lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  515.               lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(35), rd(-50), rd(-100)), 0.3)
  516.               if dipperhat then
  517.                 dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(15, 0, 0), 0.3)
  518.               end
  519.               lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  520.               lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5)
  521.               lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  522.               lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5)
  523.               lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  524.             end
  525.             for _ = 1, 30 do
  526.               swait()
  527.               lerpz(RJ, "C0", RJC0 * cf(1.1, 0.6, 0) * ang(rd(0), rd(0), rd(-120)), 0.2)
  528.               lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.2)
  529.               lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(-20), rd(80)), 0.2)
  530.               lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  531.               lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.2)
  532.               lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  533.               lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.2)
  534.               lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  535.               lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.2)
  536.               lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
  537.             end
  538.             expa()
  539.             for O = 1, 10 do
  540.               swait()
  541.               lerpz(RJ, "C0", RJC0 * cf(0, 0.3, 0) * ang(rd(0), rd(0), rd(60)), 0.001 + O * 0.01)
  542.               lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.001 + O * 0.01)
  543.               lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(-20), rd(80)), 0.001 + O * 0.01)
  544.               lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01)
  545.               lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.001 + O * 0.01)
  546.               lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01)
  547.               lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.001 + O * 0.01)
  548.               lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01)
  549.               lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.001 + O * 0.01)
  550.               lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01)
  551.             end
  552.             local whoooo = Instance.new("Sound")
  553.             whoooo.Volume = 3
  554.             whoooo.TimePosition = 0.15
  555.             whoooo.Pitch = 0.5
  556.             whoooo.SoundId = "rbxassetid://320557353"
  557.             whoooo.Parent = pt5
  558.             whoooo:Play()
  559.             game.Debris:AddItem(whoooo, 2)
  560.             for O = 1, 6 do
  561.               swait()
  562.               hito(pt5, 25, 40, 0.75, hrp.CFrame.rightVector * -100 + Vector3.new(0, 50, 0), Vector3.new(0, rd2(-25, 25), rd2(-160, 160)))
  563.               lerpz(RJ, "C0", RJC0 * cf(0.9, -0.7, 0) * ang(rd(0), rd(0), rd(120)), 0.1 + O * 0.05)
  564.               lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.1 + O * 0.05)
  565.               lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(20), rd(20)), 0.1 + O * 0.05)
  566.               lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05)
  567.               lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.1 + O * 0.05)
  568.               lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05)
  569.               lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.1 + O * 0.05)
  570.               lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05)
  571.               lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.1 + O * 0.05)
  572.               lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05)
  573.             end
  574.             for O = 1, 13 do
  575.               swait()
  576.               hmes.Scale = hmes.Scale:lerp(Vector3.new(2, 9, 2), 0.05 + O * 0.075)
  577.               p1m.Scale = p1m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075)
  578.               p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 1, 0), 0.05 + O * 0.075)
  579.               p2m.Scale = p2m.Scale:lerp(Vector3.new(0.375, 0.375, 0.375), 0.05 + O * 0.075)
  580.               p2w.C0 = p2w.C0:lerp(ang(rd(180), rd(180), rd(0)) * cf(0, 1.225, 0.075), 0.05 + O * 0.075)
  581.               p3m.Scale = p3m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075)
  582.               p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0), 0.05 + O * 0.075)
  583.               p4m.Scale = p4m.Scale:lerp(Vector3.new(0.025, 0.025, 0.025), 0.05 + O * 0.075)
  584.               p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -1.25, 0), 0.05 + O * 0.075)
  585.               p5m.Scale = p5m.Scale:lerp(Vector3.new(21.5, 6.25, 6.25), 0.05 + O * 0.075)
  586.               p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -4.025, 0), 0.05 + O * 0.075)
  587.               p6m.Scale = p6m.Scale:lerp(Vector3.new(6.5, 6.5, 6.5), 0.05 + O * 0.075)
  588.               p6w.C0 = p6w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -6.05, 0), 0.05 + O * 0.075)
  589.               p7m.Scale = p7m.Scale:lerp(Vector3.new(0.95, 0.95, 0.95), 0.05 + O * 0.075)
  590.               p7w.C0 = p7w.C0:lerp(ang(rd(0), rd(90), rd(0)) * cf(0, -6.2, 0), 0.05 + O * 0.075)
  591.               lerpz(RJ, "C0", RJC0 * cf(1.1, -0.8, 0) * ang(rd(0), rd(0), rd(150)), 0.05 + O * 0.075)
  592.               lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.05 + O * 0.075)
  593.               lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(30), rd(10)), 0.05 + O * 0.075)
  594.               lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075)
  595.               lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(20), rd(20), rd(-20)), 0.05 + O * 0.075)
  596.               lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075)
  597.               lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.05 + O * 0.075)
  598.               lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075)
  599.               lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.05 + O * 0.075)
  600.               lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075)
  601.             end
  602.             if dipperhat then
  603.               dipperhat.Handle.HatAttachment.Rotation = dipperrot
  604.             end
  605.             human.WalkSpeed = speed
  606.             human:SetStateEnabled(3, true)
  607.             activu = false
  608.           end
  609.           if keya == "q" then
  610.             activu = true
  611.             do
  612.               local checkkey = true
  613.               local keyingup = mouse.KeyUp:connect(function(xzx)
  614.                 if xzx == "q" then
  615.                   checkkey = false
  616.                 end
  617.               end)
  618.               repeat
  619.                 for _ = 1, 2 do
  620.                   swait()
  621.                   lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7)
  622.                   lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7)
  623.                   lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(-20), rd(179)), 0.7)
  624.                   lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  625.                   lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7)
  626.                   lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  627.                   lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7)
  628.                   lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  629.                   lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7)
  630.                   lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  631.                 end
  632.                 swingwoo:Play()
  633.                 for T = 1, 2 do
  634.                   swait()
  635.                   if T == 2 then
  636.                     hito(pt5, 5, 4, 0.03, hrp.CFrame.lookVector * 10, Vector3.new(0, rd2(-2, 2), rd2(-10, 10)))
  637.                   end
  638.                   lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7)
  639.                   lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  640.                   lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7)
  641.                   lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  642.                   lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7)
  643.                   lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  644.                   lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7)
  645.                   lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  646.                   lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7)
  647.                   lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  648.                 end
  649.                 for _ = 1, 2 do
  650.                   swait()
  651.                   lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-30), rd(20), rd(0)), 0.7)
  652.                   lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7)
  653.                   lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(60), rd(20), rd(179)), 0.7)
  654.                   lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  655.                   lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-40), rd(20), rd(30)), 0.7)
  656.                   lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  657.                   lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7)
  658.                   lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  659.                   lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-30), rd(20), rd(35)), 0.7)
  660.                   lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  661.                 end
  662.                 swingwoo:Play()
  663.                 for T = 1, 2 do
  664.                   swait()
  665.                   if T == 2 then
  666.                     hito(pt5, 5, 4, 0.03, hrp.CFrame.lookVector * 10, Vector3.new(0, rd2(-2, 2), rd2(-10, 10)))
  667.                   end
  668.                   lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(40), rd(40), rd(0)), 0.7)
  669.                   lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7)
  670.                   lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(60), rd(20), rd(30)), 0.7)
  671.                   lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  672.                   lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7)
  673.                   lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  674.                   lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7)
  675.                   lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  676.                   lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-30), rd(20), rd(-65)), 0.7)
  677.                   lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7)
  678.                 end
  679.               until not checkkey
  680.               keyingup:Disconnect()
  681.               activu = false
  682.             end
  683.           end
  684.           if keya == "f" then
  685.             activu = true
  686.             do
  687.               local speed = human.WalkSpeed
  688.               human.WalkSpeed = 2
  689.               human:SetStateEnabled(3, false)
  690.               local checkkey = true
  691.               local chargecounter = 0
  692.               local keyingup = mouse.KeyUp:connect(function(xzx)
  693.                 if xzx == "f" then
  694.                   checkkey = false
  695.                 end
  696.               end)
  697.               local firederp
  698.               for _ = 1, 8 do
  699.                 swait()
  700.                 hwel.C0 = hwel.C0:lerp(ang(rd(65), rd(0), rd(0)) * cf(0, 1, 0), 0.6)
  701.                 lerpz(RJ, "C0", RJC0 * cf(0.5, 0.5, 0) * ang(rd(0), rd(0), rd(-70)), 0.5)
  702.                 lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(60)), 0.5)
  703.                 lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(70), rd(-10), rd(80)), 0.5)
  704.                 lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  705.                 lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(-10), rd(-70), rd(-75)), 0.5)
  706.                 lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5)
  707.                 lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.5)
  708.                 lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  709.                 lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(0), rd(80), rd(-5)), 0.5)
  710.                 lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.5)
  711.               end
  712.               repeat
  713.                 swait()
  714.                 chargecounter = chargecounter + 1
  715.                 lerpz(RS, "C0", RSC0 * cf(rd2(-5, 5) / 100, rd2(-5, 5) / 100, rd2(-5, 5) / 100) * ang(rd(rd2(65, 75)), rd(rd2(-15, 5)), rd(rd2(75, 85))), 0.05 + chargecounter * 0.019)
  716.                 lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(rd2(-15, -5)), rd(rd2(-75, -65)), rd(rd2(-80, -70))), 0.05 + chargecounter * 0.019)
  717.                 lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(rd2(-25, -15)), rd(0)), 0.05 + chargecounter * 0.019)
  718.                 if chargecounter > 30 and firederp == nil then
  719.                   firederp = Instance.new("Fire")
  720.                   firederp.Parent = pt5
  721.                 end
  722.               until not checkkey or chargecounter > 50
  723.               swingwoo:Play()
  724.               for U = 1, 10 do
  725.                 swait()
  726.                 if U < 3 then
  727.                   hito(pt5, 5, 10, 0.2, hrp.CFrame.lookVector * (80 + chargecounter * 3) + Vector3.new(0, 6 + 6 * (chargecounter / 5), 0), Vector3.new(0, rd2(-25, 25) * (chargecounter / 25), rd2(-80, 80) * (chargecounter / 25)))
  728.                   if chargecounter > 30 then
  729.                     tagexplode(pt5, 5, 1)
  730.                   end
  731.                 end
  732.                 hwel.C0 = hwel.C0:lerp(ang(rd(135), rd(0), rd(0)) * cf(0, 1, 0), 0.6)
  733.                 lerpz(RJ, "C0", RJC0 * cf(0.5, -0.5, 0) * ang(rd(0), rd(0), rd(50)), 0.6)
  734.                 lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(-30)), 0.6)
  735.                 lerpz(RS, "C0", RSC0 * cf(0.75, 0.5, -0.5) * ang(rd(0), rd(60), rd(120)), 0.4)
  736.                 lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(100), rd(0)), 0.4)
  737.                 lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(20), rd(-125)), 0.4)
  738.                 lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.4)
  739.                 lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.6)
  740.                 lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  741.                 lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(-6)), 0.6)
  742.                 lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.6)
  743.               end
  744.               if firederp then
  745.                 firederp:Destroy()
  746.               end
  747.               swait(10)
  748.               hwel.C0 = ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0)
  749.               keyingup:Disconnect()
  750.               human.WalkSpeed = speed
  751.               human:SetStateEnabled(3, true)
  752.               activu = false
  753.             end
  754.           end
  755.         end)
  756.       end
  757.     elseif batting == true then
  758.       batting = false
  759.       clibat:Disconnect()
  760.       spec:Disconnect()
  761.       hrp.sweae:Destroy()
  762.       local batmod = chr:FindFirstChild("bmodel")
  763.       batmod.hnd.Weld:Destroy()
  764.       batmod.PrimaryPart = batmod.hnd
  765.       batmod:SetPrimaryPartCFrame(rarm.CFrame * ang(rd(-90), rd(0), rd(0)) * cf(0, 0, -1))
  766.       for _, A in pairs(batmod:GetChildren()) do
  767.         if A.ClassName == "Part" then
  768.           A.CanCollide = true
  769.           A.Anchored = false
  770.         end
  771.       end
  772.       batmod.Parent = workspace
  773.       game.Debris:AddItem(batmod, 8)
  774.     end
  775.   end
  776.   local movin = false
  777.   local cliham, hamspec
  778.   function ham()
  779.     if batting == false then
  780.       batting = true
  781.       do
  782.         local bmod = Instance.new("Model")
  783.         bmod.Name = "bmodel"
  784.         bmod.Parent = chr
  785.         local makemotor = function(parent, p0, p1, c0, c1)
  786.           local wel = Instance.new("Motor6D")
  787.           wel.Part0 = p0
  788.           wel.Part1 = p1
  789.           wel.C0 = c0
  790.           if c1 ~= nil then
  791.             wel.C1 = c1
  792.           end
  793.           wel.Parent = parent
  794.           return wel
  795.         end
  796.         local hnd = makepart("Br. yellowish green", "hnd", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  797.         hnd.Anchored = true
  798.         local hmes = makemesh("Head", Vector3.new(5, 30, 5), nil, hnd)
  799.         movin = true
  800.         hnd.CFrame = hrp.CFrame
  801.         coroutine.resume(coroutine.create(function()
  802.           while hnd.Anchored == true do
  803.             swait()
  804.             if movin then
  805.               hnd.CFrame = hnd.CFrame:lerp(hrp.CFrame * ang(rd(40), rd(0), rd(0)) * cf(0, 11, 0), 0.65)
  806.             end
  807.           end
  808.         end))
  809.         local pt1 = makepart("Br. yellowish green", "pt1", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  810.         local p1m = makemesh("Head", Vector3.new(6, 5.5, 5.5), nil, pt1)
  811.         local p1w = makemotor(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 3, 0), nil)
  812.         local pt2 = makepart("Br. yellowish green", "pt2", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  813.         local p2m = makemesh("Head", Vector3.new(6, 5.5, 5.5), nil, pt2)
  814.         local p2w = makemotor(pt2, pt2, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), nil)
  815.         local pt3 = makepart("Bright yellow", "pt3", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  816.         local p3m = makemesh("Head", Vector3.new(6.5, 6.5, 6.5), nil, pt3)
  817.         local p3w = makemotor(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 3.75, 0), nil)
  818.         local pt4 = makepart("Br. yellowish green", "pt4", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  819.         local p4m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://250640098", pt4)
  820.         p4m.TextureId = "rbxassetid://250639536"
  821.         local p4w = makemotor(pt4, pt4, hnd, ang(rd(180), rd(180), rd(0)) * cf(0, 4.25, 0.25), nil)
  822.         local pt5 = makepart("Bright blue", "pt5", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  823.         local p5m = makemesh("Head", Vector3.new(5, 90, 4), nil, pt5)
  824.         local p5w = makemotor(pt5, pt5, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -12, 0), nil)
  825.         local pt6 = makepart("Bright blue", "pt6", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  826.         local p6m = makemesh("FileMesh", Vector3.new(0.16, 0.4, 0.16), "rbxassetid://703458158", pt6)
  827.         local p6w = makemotor(pt6, pt6, hnd, ang(rd(180), rd(0), rd(0)) * cf(0, -16, 0), nil)
  828.         local pt7 = makepart("Bright yellow", "pt7", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  829.         local p7m = makemesh("Head", Vector3.new(75, 75, 75), nil, pt7)
  830.         local p7w = makemotor(pt7, pt7, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -27, 0), nil)
  831.         local hdec1 = Instance.new("Decal")
  832.         hdec1.Texture = "rbxasset://textures/face.png"
  833.         hdec1.Face = "Front"
  834.         hdec1.Parent = pt7
  835.         local pt8 = makepart("Bright yellow", "pt8", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
  836.         local p8m = makemesh("Head", Vector3.new(75, 75, 75), nil, pt8)
  837.         local p8w = makemotor(pt8, pt8, hnd, ang(rd(0), rd(-90), rd(0)) * cf(0, -27, 0), nil)
  838.         local hdec2 = Instance.new("Decal")
  839.         hdec2.Texture = "rbxasset://textures/face.png"
  840.         hdec2.Face = "Front"
  841.         hdec2.Parent = pt8
  842.         local pt9 = makepart("Bright yellow", "pt9", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  843.         local p9m = makemesh("FileMesh", Vector3.new(12, 11, 11), "rbxassetid://272942659", pt9)
  844.         local p9w = makemotor(pt9, pt9, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -30, 0), nil)
  845.         p9m.TextureId = "rbxassetid://272942750"
  846.         local pt10 = makepart("Bright yellow", "pt10", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  847.         local p10m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt10)
  848.         local p10w = makemotor(pt10, pt10, pt7, ang(rd(0), rd(0), rd(90)) * cf(11, 0, 0), nil)
  849.         local hdec3 = Instance.new("Decal")
  850.         hdec3.Texture = "rbxasset://textures/face.png"
  851.         hdec3.Face = "Front"
  852.         hdec3.Parent = pt10
  853.         local pt11 = makepart("Bright yellow", "pt11", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
  854.         local p11m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt11)
  855.         local p11w = makemotor(pt11, pt11, pt7, ang(rd(0), rd(180), rd(90)) * cf(11, 0, 0), nil)
  856.         local hdec4 = Instance.new("Decal")
  857.         hdec4.Texture = "rbxasset://textures/face.png"
  858.         hdec4.Face = "Front"
  859.         hdec4.Parent = pt11
  860.         local pt12 = makepart("Bright yellow", "pt12", 0, 0, "SmoothPlastic", bmod, hrp.CFrame)
  861.         local p12m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt12)
  862.         local p12w = makemotor(pt12, pt12, pt7, ang(rd(0), rd(0), rd(-90)) * cf(-11, 0, 0), nil)
  863.         local hdec5 = Instance.new("Decal")
  864.         hdec5.Texture = "rbxasset://textures/face.png"
  865.         hdec5.Face = "Front"
  866.         hdec5.Parent = pt12
  867.         local pt13 = makepart("Bright yellow", "pt13", 0, 1, "SmoothPlastic", bmod, hrp.CFrame)
  868.         local p13m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt13)
  869.         local p13w = makemotor(pt13, pt13, pt7, ang(rd(0), rd(180), rd(-90)) * cf(-11, 0, 0), nil)
  870.         local hdec6 = Instance.new("Decal")
  871.         hdec6.Texture = "rbxasset://textures/face.png"
  872.         hdec6.Face = "Front"
  873.         hdec6.Parent = pt13
  874.         cliham = tool.Activated:connect(function()
  875.           if selected == false or activu == true or ragged == true then
  876.             return
  877.           end
  878.           activu = true
  879.           movin = false
  880.           for B = 1, 20 do
  881.             swait()
  882.             lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.4)
  883.             lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(0), rd(0)), 0.4)
  884.             lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(170)), 0.4)
  885.             lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  886.             lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(10)), 0.4)
  887.             lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  888.             lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(-10)), 0.4)
  889.             lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  890.             lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(10)), 0.4)
  891.             lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  892.             hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 0.1 + B * 0.045)
  893.           end
  894.           for B = 1, 30 do
  895.             swait()
  896.             lerpz(RJ, "C0", RJC0 * cf(0, 0.8, 0) * ang(rd(-25), rd(0), rd(-50)), 0.1 + B / 80)
  897.             lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-18), rd(0), rd(40)), 0.1 + B / 80)
  898.             lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-30), rd(-5), rd(160)), 0.1 + B / 80)
  899.             lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80)
  900.             lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-20), rd(-150)), 0.1 + B / 80)
  901.             lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80)
  902.             lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(-10)), 0.1 + B / 80)
  903.             lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80)
  904.             lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(-5), rd(60), rd(-110)), 0.1 + B / 80)
  905.             lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80)
  906.             hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1)
  907.           end
  908.           for B = 1, 7 do
  909.             swait()
  910.             lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(40)), 0.015 + B / 15)
  911.             lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(9), rd(0), rd(-15)), 0.015 + B / 15)
  912.             lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-50), rd(100)), 0.015 + B / 15)
  913.             lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15)
  914.             lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-25), rd(-90)), 0.015 + B / 15)
  915.             lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15)
  916.             lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(10)), 0.015 + B / 15)
  917.             lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15)
  918.             lerpz(LH, "C0", LHC0 * cf(0.1, 0, -0.1) * ang(rd(-5), rd(20), rd(-20)), 0.015 + B / 15)
  919.             lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15)
  920.             hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1)
  921.           end
  922.           for B = 1, 4 do
  923.             swait()
  924.             lerpz(RJ, "C0", RJC0 * cf(0, -0.8, 0) * ang(rd(70), rd(0), rd(40)), 0.38 + B * 0.1)
  925.             lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(9), rd(0), rd(-15)), 0.38 + B * 0.1)
  926.             lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-40), rd(100)), 0.38 + B * 0.1)
  927.             lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1)
  928.             lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-25), rd(-90)), 0.38 + B * 0.1)
  929.             lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1)
  930.             lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(60)), 0.38 + B * 0.1)
  931.             lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1)
  932.             lerpz(LH, "C0", LHC0 * cf(0.1, 0, -0.1) * ang(rd(-5), rd(20), rd(70)), 0.38 + B * 0.1)
  933.             lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1)
  934.             hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1)
  935.           end
  936.           swait(15)
  937.           movin = true
  938.           activu = false
  939.         end)
  940.       end
  941.     elseif batting == true then
  942.       batting = false
  943.       cliham:Disconnect()
  944.       local badevz = chr:FindFirstChild("bmodel")
  945.       badevz.PrimaryPart = badevz.hnd
  946.       for _, A in pairs(badevz:GetChildren()) do
  947.         if A.ClassName == "Part" then
  948.           A.CanCollide = true
  949.           A.Anchored = false
  950.         end
  951.       end
  952.       movin = false
  953.       badevz.Parent = workspace
  954.       badevz:SetPrimaryPartCFrame(hrp.CFrame * ang(rd(40), rd(0), rd(0)) * cf(0, -11, 0))
  955.       game.Debris:AddItem(badevz, 8)
  956.     end
  957.   end
  958.   game:GetService("ContentProvider"):Preload("rbxassetid://725969678")
  959.   function lauf()
  960.     if selected == false or activu == true then
  961.       return
  962.     end
  963.     lauf1:Play()
  964.   end
  965.   function makenoob(cfrem, scalo, rags)
  966.     nscale.Value = scalo
  967.     local md = Instance.new("Model")
  968.     md.Name = "Noob"
  969.     md.Parent = workspace
  970.     local hu = Instance.new("Humanoid")
  971.     hu.RigType = "R6"
  972.     hu.MaxHealth = 9999999999 * scalo
  973.     hu.Health = 9999999999 * scalo
  974.     hu.Parent = md
  975.     local anm = Instance.new("Animator")
  976.     anm.Parent = hu
  977.     hu.PlatformStand = true
  978.     local light = function(part)
  979.       part.CustomPhysicalProperties = PhysicalProperties.new(0.35, 0.3, 0.5)
  980.     end
  981.     local hd = Instance.new("Part")
  982.     hd.Name = "Head"
  983.     hd.Size = Vector3.new(2 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value)
  984.     hd.TopSurface = "Smooth"
  985.     hd.BottomSurface = "Inlet"
  986.     hd.Locked = true
  987.     hd.BrickColor = BrickColor.new("Bright yellow")
  988.     hd.CanCollide = true
  989.     hd.Anchored = false
  990.     light(hd)
  991.     hd.Parent = md
  992.     local hm = Instance.new("SpecialMesh")
  993.     hm.MeshType = "Head"
  994.     hm.Scale = Vector3.new(1.25, 1.25, 1.25)
  995.     hm.Parent = hd
  996.     local hf = Instance.new("Decal")
  997.     hf.Texture = "rbxasset://textures/face.png"
  998.     local gen = math.random(1, 40)
  999.     if gen == 3 then
  1000.       hf.Texture = "rbxassetid://260884109"
  1001.     end
  1002.     if gen == 8 then
  1003.       hf.Texture = "rbxassetid://260569492"
  1004.     end
  1005.     if gen == 12 then
  1006.       hf.Texture = "rbxassetid://259580505"
  1007.     end
  1008.     if gen == 16 then
  1009.       hf.Texture = "rbxassetid://259579232"
  1010.     end
  1011.     if gen == 24 then
  1012.       hf.Texture = "rbxassetid://259571525"
  1013.     end
  1014.     if gen == 28 then
  1015.       hf.Texture = "rbxassetid://258283210"
  1016.     end
  1017.     if gen == 32 then
  1018.       hf.Texture = "rbxassetid://258940032"
  1019.     end
  1020.     if gen == 38 then
  1021.       hf.Texture = "rbxassetid://673220970"
  1022.       hf.Color3 = Color3.new(0, 0, 0)
  1023.     end
  1024.     hf.Face = "Front"
  1025.     hf.Parent = hd
  1026.     local hrpa = Instance.new("Part")
  1027.     hrpa.Name = "HumanoidRootPart"
  1028.     hrpa.TopSurface, hrpa.BottomSurface = 0, 0
  1029.     hrpa.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  1030.     hrpa.Transparency = 1
  1031.     hrpa.CanCollide = false
  1032.     hrpa.Locked = true
  1033.     light(hrpa)
  1034.     hrpa.Parent = md
  1035.     local tagbomb = Instance.new("BoolValue")
  1036.     tagbomb.Name = "tagbomb"
  1037.     tagbomb.Value = false
  1038.     tagbomb.Parent = hrpa
  1039.     local learm = Instance.new("Part")
  1040.     learm.Name = "Left Arm"
  1041.     learm.BrickColor = BrickColor.new("Bright yellow")
  1042.     learm.CanCollide = false
  1043.     learm.Locked = true
  1044.     learm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  1045.     light(learm)
  1046.     learm.Parent = md
  1047.     local riarm = Instance.new("Part")
  1048.     riarm.Name = "Right Arm"
  1049.     riarm.BrickColor = BrickColor.new("Bright yellow")
  1050.     riarm.CanCollide = false
  1051.     riarm.Locked = true
  1052.     light(riarm)
  1053.     riarm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  1054.     riarm.Parent = md
  1055.     local leleg = Instance.new("Part")
  1056.     leleg.Name = "Left Leg"
  1057.     leleg.BrickColor = BrickColor.new("Br. yellowish green")
  1058.     leleg.CanCollide = false
  1059.     leleg.Locked = true
  1060.     light(leleg)
  1061.     leleg.BottomSurface = 0
  1062.     leleg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  1063.     leleg.Parent = md
  1064.     local rileg = Instance.new("Part")
  1065.     rileg.Name = "Right Leg"
  1066.     rileg.BrickColor = BrickColor.new("Br. yellowish green")
  1067.     rileg.CanCollide = false
  1068.     rileg.Locked = true
  1069.     light(rileg)
  1070.     rileg.BottomSurface = 0
  1071.     rileg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  1072.     rileg.Parent = md
  1073.     local tor = Instance.new("Part")
  1074.     tor.Name = "Torso"
  1075.     tor.BrickColor = BrickColor.new("Bright blue")
  1076.     tor.Locked = true
  1077.     light(tor)
  1078.     tor.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  1079.     tor.LeftSurface, tor.RightSurface = "Weld", "Weld"
  1080.     tor.Parent = md
  1081.     md.PrimaryPart = hrpa
  1082.     md:SetPrimaryPartCFrame(cfrem)
  1083.     md:makeJoints()
  1084.     makejoint(hrpa, RootJointC0, RootJointC1, hrpa, tor, "RootJoint")
  1085.     makejoint(tor, NeckC0, NeckC1, tor, hd, "Neck")
  1086.     if rags == true then
  1087.       makegloo(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder")
  1088.       makegloo(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder")
  1089.       makegloo(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip")
  1090.       makegloo(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip")
  1091.       maketouchy(riarm, riarm, CFrame.new(0, 0.5 * nscale.Value, 0))
  1092.       maketouchy(learm, learm, CFrame.new(0, 0.5 * nscale.Value, 0))
  1093.       maketouchy(leleg, leleg, CFrame.new(0, 0.5 * nscale.Value, 0))
  1094.       maketouchy(rileg, rileg, CFrame.new(0, 0.5 * nscale.Value, 0))
  1095.     elseif rags == false then
  1096.       makejoint(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder")
  1097.       makejoint(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder")
  1098.       makejoint(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip")
  1099.       makejoint(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip")
  1100.       hu.PlatformStand = false
  1101.     end
  1102.     nscale.Value = 1
  1103.     hu.Touched:connect(function(tpart, uwot)
  1104.       if tagbomb.Value == true and tpart.Parent ~= md and tpart.Parent.Parent ~= md and tpart.Parent.Parent.Parent ~= md then
  1105.         tagbomb.Value = false
  1106.         hu.Health = 0
  1107.         local derp = Instance.new("Explosion")
  1108.         derp.BlastPressure = 200
  1109.         derp.BlastRadius = 8
  1110.         derp.DestroyJointRadiusPercent = 0
  1111.         derp.ExplosionType = 2
  1112.         derp.Visible = true
  1113.         derp.Position = uwot.Position - Vector3.new(0, 0.5, 0)
  1114.         derp.Parent = workspace
  1115.         game.Debris:AddItem(md, 8)
  1116.       end
  1117.     end)
  1118.     return md
  1119.   end
  1120.   function makecircle(cfrem, scalo)
  1121.     local mcir1 = Instance.new("Part")
  1122.     mcir1.Anchored = true
  1123.     mcir1.CanCollide = false
  1124.     mcir1.Size = Vector3.new(0.2, 0.2, 0.2)
  1125.     mcir1.Transparency = 1
  1126.     mcir1.CFrame = cfrem
  1127.     mcir1.Parent = modz
  1128.     game.Debris:AddItem(mcir1, 8)
  1129.     local d1 = Instance.new("Decal")
  1130.     d1.Texture = "rbxassetid://602615043"
  1131.     d1.Face = "Front"
  1132.     d1.Parent = mcir1
  1133.     local d2 = Instance.new("Decal")
  1134.     d2.Texture = "rbxassetid://602617463"
  1135.     d2.Face = "Back"
  1136.     d2.Parent = mcir1
  1137.     local bme = Instance.new("BlockMesh")
  1138.     bme.Parent = mcir1
  1139.     for _ = 1, 9 do
  1140.       swait()
  1141.       bme.Scale = bme.Scale:lerp(Vector3.new(35 * scalo, 35 * scalo, 0), 0.3)
  1142.     end
  1143.     coroutine.resume(coroutine.create(function()
  1144.       swait(15)
  1145.       for _ = 1, 12 do
  1146.         swait()
  1147.         d1.Transparency = d1.Transparency + 0.08
  1148.         d2.Transparency = d2.Transparency + 0.08
  1149.       end
  1150.       mcir1:Destroy()
  1151.     end))
  1152.     return mcir1
  1153.   end
  1154.   function spawnnoob(circlecf, noobcf, scalez, ragd)
  1155.     local aearae = makecircle(circlecf, scalez)
  1156.     local nananb
  1157.     if ragd then
  1158.       nananb = makenoob(aearae.CFrame * noobcf, scalez, true)
  1159.     elseif not ragd then
  1160.       nananb = makenoob(aearae.CFrame * noobcf, scalez, false)
  1161.     end
  1162.     return nananb
  1163.   end
  1164.   function tagexplode(partoz, magn, bombdelay)
  1165.     for _, guy in pairs(workspace:GetChildren()) do
  1166.       if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy.Name == "Noob" and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude then
  1167.         coroutine.resume(coroutine.create(function()
  1168.           swait(bombdelay * 30)
  1169.           guy:FindFirstChild("HumanoidRootPart").tagbomb.Value = true
  1170.         end))
  1171.       end
  1172.     end
  1173.   end
  1174.   function hito(partoz, magn, dmg, debtim, bodyfdire, bodyrot)
  1175.     for _, guy in pairs(workspace:GetChildren()) do
  1176.       if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
  1177.         do
  1178.           local humz = guy:FindFirstChild("Humanoid")
  1179.           local horp = guy:FindFirstChild("HumanoidRootPart")
  1180.           humz:TakeDamage(dmg)
  1181.           humz:SetStateEnabled(16, true)
  1182.           delay(debtim, function()
  1183.             humz:SetStateEnabled(16, true)
  1184.           end)
  1185.           local db = Instance.new("StringValue")
  1186.           db.Name = "alabo"
  1187.           db.Parent = horp
  1188.           delay(debtim, function()
  1189.             db:Destroy()
  1190.           end)
  1191.           local b = Instance.new("Part")
  1192.           nooutline(b)
  1193.           b.Size = Vector3.new(0.2, 0.2, 0.2)
  1194.           b.Transparency = 0.25
  1195.           b.Anchored = true
  1196.           b.CanCollide = false
  1197.           b.BrickColor = BrickColor.new("Institutional white")
  1198.           b.Locked = true
  1199.           b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1))
  1200.           b.Parent = modz
  1201.           local c = Instance.new("SpecialMesh")
  1202.           c.MeshType = "Sphere"
  1203.           c.Scale = Vector3.new(3.5, 3.5, 3.5)
  1204.           c.Parent = b
  1205.           game.Debris:AddItem(b, 1)
  1206.           if bodyfdire then
  1207.             local boopyve = Instance.new("BodyVelocity")
  1208.             boopyve.MaxForce = Vector3.new(9999999999999, 9999999999999, 9999999999999)
  1209.             boopyve.P = 9999999999
  1210.             boopyve.Velocity = bodyfdire
  1211.             boopyve.Parent = horp
  1212.             game.Debris:AddItem(boopyve, debtim)
  1213.           end
  1214.           if bodyrot then
  1215.             local boopyro = Instance.new("BodyAngularVelocity")
  1216.             boopyro.MaxTorque = Vector3.new(999999, 999999, 999999)
  1217.             boopyro.P = math.huge
  1218.             boopyro.AngularVelocity = bodyrot
  1219.             boopyro.Parent = horp
  1220.             game.Debris:AddItem(boopyro, debtim)
  1221.           end
  1222.           local bet = Instance.new("Sound")
  1223.           bet.Pitch = rd2(9, 11) / 10
  1224.           bet.Volume = rd2(12, 14) / 10
  1225.           bet.SoundId = "rbxassetid://305526724"
  1226.           bet.Parent = b
  1227.           bet:Play()
  1228.           coroutine.resume(coroutine.create(function()
  1229.             for _ = 1, 5 do
  1230.               swait()
  1231.               b.Transparency = b.Transparency + 0.175
  1232.               c.Scale = c.Scale + Vector3.new(0.8 * dmg, 0.8 * dmg, 0.8 * dmg)
  1233.             end
  1234.           end))
  1235.         end
  1236.       end
  1237.     end
  1238.   end
  1239.   function cleannoobs()
  1240.     for _, nib in pairs(workspace:GetChildren()) do
  1241.       coroutine.resume(coroutine.create(function()
  1242.         if nib.Name == "Noob" then
  1243.           if nib:FindFirstChild("HumanoidRootPart") then
  1244.             local g = Instance.new("Part")
  1245.             g.CanCollide, g.Anchored = false, true
  1246.             g.Transparency = 1
  1247.             g.CFrame = nib:FindFirstChild("HumanoidRootPart").CFrame
  1248.             g.Parent = workspace
  1249.             game.Debris:AddItem(g, 3.5)
  1250.             local sou = Instance.new("Sound")
  1251.             sou.Pitch = math.random(7, 11) / 10
  1252.             sou.Volume = 0.8
  1253.             sou.SoundId = "rbxassetid://111124523"
  1254.             sou.Parent = g
  1255.             local pe = Instance.new("ParticleEmitter")
  1256.             pe.Acceleration = Vector3.new(0, 8, 0)
  1257.             pe.Lifetime = NumberRange.new(1, 1.5)
  1258.             pe.Rate = 0.005
  1259.             pe.RotSpeed = NumberRange.new(-30, 30)
  1260.             pe.Rotation = NumberRange.new(0, 360)
  1261.             pe.Size = NumberSequence.new({
  1262.               NumberSequenceKeypoint.new(0, 4.38, 0),
  1263.               NumberSequenceKeypoint.new(0.672, 4.14, 0),
  1264.               NumberSequenceKeypoint.new(1, 1.48, 0)
  1265.             })
  1266.             pe.Texture = "rbxassetid://244221440"
  1267.             pe.Transparency = NumberSequence.new({
  1268.               NumberSequenceKeypoint.new(0, 0, 0),
  1269.               NumberSequenceKeypoint.new(0.529, 0.3, 0),
  1270.               NumberSequenceKeypoint.new(1, 1, 1)
  1271.             })
  1272.             pe.ZOffset = 5
  1273.             pe.Enabled = true
  1274.             pe.VelocitySpread = 360
  1275.             pe.Parent = g
  1276.             swait(5)
  1277.             pe:Emit(6)
  1278.             sou:Play()
  1279.           end
  1280.           nib:Destroy()
  1281.         end
  1282.       end))
  1283.     end
  1284.   end
  1285.   function animo(yep)
  1286.     if yep == true then
  1287.       anim.Parent = human
  1288.       chr.Animate.Disabled = false
  1289.     elseif yep == false then
  1290.       chr.Animate.Disabled = true
  1291.       anim.Parent = nil
  1292.     end
  1293.   end
  1294.   mouse.KeyDown:connect(function(key)
  1295.     if key == "r" then
  1296.       test()
  1297.     end
  1298.     if key == "m" then
  1299.       lauf()
  1300.     end
  1301.     if key == "c" and plr.UserId == 8488617 then
  1302.       ham()
  1303.     end
  1304.     if key == "x" then
  1305.       bat()
  1306.     end
  1307.     if key == "l" and plr.UserId == 8488617 and selected == true then
  1308.       spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 1, true)
  1309.     end
  1310.     if key == ";" and plr.UserId == 8488617 and selected == true then
  1311.       spawnnoob(hrp.CFrame * cf(5, 60, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 10, true)
  1312.     end
  1313.     if key == "k" and plr.UserId == 8488617 and selected == true then
  1314.       spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 1, false)
  1315.     end
  1316.     if key == "p" then
  1317.       cleannoobs()
  1318.     end
  1319.     if key == "z" then
  1320.       if selected == false or activu == true then
  1321.         return
  1322.       end
  1323.       if human.WalkSpeed == 25 then
  1324.         human.WalkSpeed = 70
  1325.         human.JumpPower = 75
  1326.       else
  1327.         human.WalkSpeed = 25
  1328.         human.JumpPower = 50
  1329.       end
  1330.     end
  1331.   end)
  1332.   tool.Equipped:connect(function()
  1333.     selected = true
  1334.   end)
  1335.   tool.Unequipped:connect(function()
  1336.     selected = false
  1337.   end)
  1338.   animo(false)
  1339.   human.WalkSpeed = 25
  1340.   sine = 0
  1341.   charge = 1
  1342.   cos = math.cos
  1343.   game:GetService("RunService").RenderStepped:connect(function()
  1344.     if ragged == false and activu == false then
  1345.       local checkfloor = Ray.new(hrp.Position, Vector3.new(0, -5, 0))
  1346.       local checkpart = workspace:FindPartOnRayWithIgnoreList(checkfloor, {chr}, false, false)
  1347.       local checkstate = human:GetState()
  1348.       if checkstate.Value == 13 then
  1349.         animpose = "Sitting"
  1350.       elseif hrp.Velocity.y > 1 and checkpart == nil then
  1351.         animpose = "Jumping"
  1352.       elseif hrp.Velocity.y < -1 and checkpart == nil then
  1353.         animpose = "Falling"
  1354.       elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then
  1355.         animpose = "Idle"
  1356.       elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 40 then
  1357.         animpose = "Walking"
  1358.       elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 40 then
  1359.         animpose = "TooFast"
  1360.       end
  1361.       if animpose == "Idle" then
  1362.         sine = sine + charge
  1363.         lerpz(RJ, "C0", RJC0 * cf(0.05 * cos(sine / 40), 0, -0.05 - 0.05 * cos(sine / 20)) * ang(rd(0), rd(0), rd(0)), 0.3)
  1364.         lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(4 + 2 * cos(sine / 20)), rd(0), rd(0)), 0.3)
  1365.         lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(8 * cos(sine / 80)), rd(0), rd(8 * cos(sine / 80))), 0.3)
  1366.         lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1367.         lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(8 * cos(sine / 80)), rd(0), rd(8 * cos(sine / 80))), 0.3)
  1368.         lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1369.         lerpz(RH, "C0", RHC0 * cf(0, 0.05 + 0.05 * cos(sine / 20), 0.05 * cos(sine / 40)) * ang(rd(-5), rd(-5), rd(1)), 0.3)
  1370.         lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1371.         lerpz(LH, "C0", LHC0 * cf(0, 0.05 + 0.05 * cos(sine / 20), -0.05 * cos(sine / 40)) * ang(rd(-5), rd(5), rd(1)), 0.3)
  1372.         lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1373.       end
  1374.       if animpose == "Walking" then
  1375.         sine = sine + charge
  1376.         lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.025 * cos(sine / 4)) * ang(rd(-5), math.sin(hrp.RotVelocity.Y / 30), math.sin(hrp.RotVelocity.Y / 5)), 0.3)
  1377.         lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(0)), 0.3)
  1378.         lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(5 * cos(sine / 5)), rd(-20 * cos(sine / 5)), rd(90 * cos(sine / 5))), 0.6)
  1379.         lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1380.         lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5 * cos(sine / 5)), rd(-20 * cos(sine / 5)), rd(90 * cos(sine / 5))), 0.6)
  1381.         lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1382.         lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-90 * cos(sine / 5))), 0.6)
  1383.         lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1384.         lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-90 * cos(sine / 5))), 0.6)
  1385.         lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1386.       end
  1387.       if animpose == "Jumping" then
  1388.         lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.3)
  1389.         lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.3)
  1390.         lerpz(RS, "C0", RSC0 * cf(0, -0.5, 0.2) * ang(rd(-70), rd(-5), rd(-20)), 0.3)
  1391.         lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1392.         lerpz(LS, "C0", LSC0 * cf(0, -0.5, 0.2) * ang(rd(-70), rd(5), rd(20)), 0.3)
  1393.         lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1394.         lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-20), rd(-20), rd(-20)), 0.3)
  1395.         lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1396.         lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(15)), 0.3)
  1397.         lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1398.       end
  1399.       if animpose == "Falling" then
  1400.         lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3)
  1401.         lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3)
  1402.         lerpz(RS, "C0", RSC0 * cf(0, 0, 0.6) * ang(rd(-150), rd(-5), rd(-20)), 0.3)
  1403.         lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1404.         lerpz(LS, "C0", LSC0 * cf(0, 0, 0.6) * ang(rd(-150), rd(5), rd(20)), 0.3)
  1405.         lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1406.         lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-15), rd(-20)), 0.3)
  1407.         lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1408.         lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(15), rd(15)), 0.3)
  1409.         lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1410.       end
  1411.       if animpose == "TooFast" then
  1412.         sine = sine + charge
  1413.         lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.35 * cos(sine / 2)) * ang(rd(-20), math.sin(hrp.RotVelocity.Y / 20), math.sin(hrp.RotVelocity.Y / 2)), 0.3)
  1414.         lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15 - 5 * cos(sine / 2)), rd(0), rd(0)), 0.3)
  1415.         lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(5 * cos(sine / 3)), rd(-120 * cos(sine / 3)), rd(110 * cos(sine / 3))), 0.6)
  1416.         lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1417.         lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5 * cos(sine / 3)), rd(-120 * cos(sine / 3)), rd(110 * cos(sine / 3))), 0.6)
  1418.         lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1419.         lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-110 * cos(sine / 3))), 0.6)
  1420.         lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1421.         lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-110 * cos(sine / 3))), 0.6)
  1422.         lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1423.       end
  1424.       if animpose == "Sitting" then
  1425.         lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1426.         lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1427.         lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3)
  1428.         lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1429.         lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3)
  1430.         lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1431.         lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3)
  1432.         lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1433.         lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3)
  1434.         lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1435.       end
  1436.     end
  1437.   end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement