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