View difference between Paste ID: FZmqEyNA and RqhrD1RT
SHOW: | | - or go back to the newest paste.
1
script.Parent = nil
2
Character = game.Players.LocalPlayer.Character
3
Humanoid = Character.Humanoid
4
if Humanoid:findFirstChild("Animate") then
5
  Humanoid:findFirstChild("Animate"):Destroy()
6
end
7
Player = game:GetService("Players").LocalPlayer
8
Character = Player.Character
9
PlayerGui = Player.PlayerGui
10
Backpack = Player.Backpack
11
Torso = Character.Torso
12
Head = Character.Head
13
Humanoid = Character.Humanoid
14
m = Instance.new("Model", Character)
15
LeftArm = Character["Left Arm"]
16
LeftLeg = Character["Left Leg"]
17
RightArm = Character["Right Arm"]
18
RightLeg = Character["Right Leg"]
19
LS = Torso["Left Shoulder"]
20
LH = Torso["Left Hip"]
21
RS = Torso["Right Shoulder"]
22
RH = Torso["Right Hip"]
23
Face = Head.face
24
Neck = Torso.Neck
25
attacktype = 1
26
vt = Vector3.new
27
cf = CFrame.new
28
euler = CFrame.fromEulerAnglesXYZ
29
angles = CFrame.Angles
30
cloaked = false
31
necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
32
necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
33
LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
34
LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
35
RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
36
RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
37
RootPart = Character.HumanoidRootPart
38
RootJoint = RootPart.RootJoint
39
RootCF = euler(-1.57, 0, 3.14)
40
attack = false
41
attackdebounce = false
42
deb = false
43
equipped = true
44
hand = false
45
MMouse = nil
46
combo = 0
47
mana = 0
48
trispeed = 0.2
49
attackmode = "none"
50
local idle = 0
51
local Anim = "Idle"
52
local gun = false
53
local shoot = false
54
player = nil
55
mana = 0
56
local defensevalue = 0.3
57
local speedvalue = 1
58
local damagevalue = 1
59
local cf = CFrame.new
60
local mr = math.rad
61
local angles = CFrame.Angles
62
local ud = UDim2.new
63
local c3 = Color3.new
64
local stats = Instance.new("Folder", Character)
65
stats.Name = "Stats"
66
local block = Instance.new("BoolValue", stats)
67
block.Name = "Block"
68
block.Value = false
69
local stun = Instance.new("BoolValue", stats)
70
stun.Name = "Stun"
71
stun.Value = false
72
local defense = Instance.new("NumberValue", stats)
73
defense.Name = "Defence"
74
defense.Value = defensevalue
75
local speed = Instance.new("NumberValue", stats)
76
speed.Name = "Speed"
77
speed.Value = speedvalue
78
local damagea = Instance.new("NumberValue", stats)
79
damagea.Name = "Damage"
80
damagea.Value = damagevalue
81
Humanoid = Character.Humanoid
82
if Humanoid:FindFirstChild("Animator") then
83
  Humanoid:FindFirstChild("Animator"):Destroy()
84
end
85
Humanoid.WalkSpeed = 3
86
Colorpart1 = Torso.BrickColor.r
87
Colorpart2 = Torso.BrickColor.g
88
Colorpart3 = Torso.BrickColor.b
89
CloakEffectLight2 = Instance.new("PointLight", Torso)
90
CloakEffectLight2.Color = Color3.new(Colorpart1, Colorpart2, Colorpart3)
91
CloakEffectLight2.Range = 7.5
92
CloakEffectLight2.Brightness = 7.5
93
CloakEffectLight2.Enabled = true
94
mouse = Player:GetMouse()
95
RSH = nil
96
LSH = nil
97
RW = Instance.new("Motor")
98
LW = Instance.new("Motor")
99
RW.Name = "Right Shoulder"
100
LW.Name = "Left Shoulder"
101
LH = Torso["Left Hip"]
102
RH = Torso["Right Hip"]
103
TorsoColor = Torso.BrickColor
104
NoOutline = function(Part)
105
  
106
  Part.TopSurface = 10
107
end
108
109
player = Player
110
ch = Character
111
RSH = ch.Torso["Right Shoulder"]
112
LSH = ch.Torso["Left Shoulder"]
113
RSH.Parent = nil
114
LSH.Parent = nil
115
RW.Name = "Right Shoulder"
116
RW.Part0 = ch.Torso
117
RW.C0 = cf(1.5, 0.5, 0)
118
RW.C1 = cf(0, 0.5, 0)
119
RW.Part1 = ch["Right Arm"]
120
RW.Parent = ch.Torso
121
LW.Name = "Left Shoulder"
122
LW.Part0 = ch.Torso
123
LW.C0 = cf(-1.5, 0.5, 0)
124
LW.C1 = cf(0, 0.5, 0)
125
LW.Part1 = ch["Left Arm"]
126
LW.Parent = ch.Torso
127
local weldBetween = function(a, b)
128
  
129
  local weldd = Instance.new("ManualWeld")
130
  weldd.Part0 = a
131
  weldd.Part1 = b
132
  weldd.C0 = CFrame.new()
133
  weldd.C1 = b.CFrame:inverse() * a.CFrame
134
  weldd.Parent = a
135
  return weldd
136
end
137
138
fat = Instance.new("BindableEvent", script)
139
fat.Name = "Heartbeat"
140
script:WaitForChild("Heartbeat")
141
frame = 1/30
142
tf = 0
143
allowframeloss = false
144
tossremainder = false
145
lastframe = tick()
146
script.Heartbeat:Fire()
147
game:GetService("RunService").Heartbeat:connect(function(s, p)
148
  
149
  tf = tf + s
150
  if frame <= tf then
151
    if allowframeloss then
152
      script.Heartbeat:Fire()
153
      lastframe = tick()
154
    else
155
      for i = 1, math.floor(tf / frame) do
156
        script.Heartbeat:Fire()
157
      end
158
      lastframe = tick()
159
    end
160
    if tossremainder then
161
      tf = 0
162
    else
163
      tf = tf - frame * math.floor(tf / frame)
164
    end
165
  end
166
end
167
)
168
local CFrameFromTopBack = function(at, top, back)
169
  
170
  local right = top:Cross(back)
171
  return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
172
end
173
174
Triangle = function(a, b, c)
175
  
176
  local edg1 = c - a:Dot(b - a.unit)
177
  local edg2 = a - b:Dot(c - b.unit)
178
  local edg3 = b - c:Dot(a - c.unit)
179
  if edg1 <= b - a.magnitude and edg1 >= 0 then
180
    a = a
181
  else
182
    -- DECOMPILER ERROR at PC35: Overwrote pending register: R1 in 'AssignReg'
183
184
    if edg2 <= c - b.magnitude and edg2 >= 0 then
185
      a = b
186
    else
187
      -- DECOMPILER ERROR at PC46: Overwrote pending register: R2 in 'AssignReg'
188
189
      -- DECOMPILER ERROR at PC47: Overwrote pending register: R1 in 'AssignReg'
190
191
      if edg3 <= a - c.magnitude and edg3 >= 0 then
192
        a = c
193
      else
194
        assert(false, "unreachable")
195
      end
196
    end
197
  end
198
  local len1 = c - a:Dot(b - a.unit)
199
  local len2 = b - a.magnitude - len1
200
  local width = a + b - a.unit * len1 - c.magnitude
201
  local maincf = CFrameFromTopBack(a, b - a:Cross(c - b).unit, -b - a.unit)
202
  local list = {}
203
  local TrailColor = "Dark grey"
204
  if len1 > 0.01 then
205
    local w1 = Instance.new("WedgePart", m)
206
    game:GetService("Debris"):AddItem(w1, 5)
207
    w1.Material = "SmoothPlastic"
208
    w1.FormFactor = "Custom"
209
    w1.BrickColor = BrickColor.new(TrailColor)
210
    w1.Transparency = 0
211
    w1.Reflectance = 0
212
    w1.Material = "SmoothPlastic"
213
    w1.CanCollide = false
214
    NoOutline(w1)
215
    local sz = Vector3.new(0.2, width, len1)
216
    w1.Size = sz
217
    local sp = Instance.new("SpecialMesh", w1)
218
    sp.MeshType = "Wedge"
219
    sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
220
    w1:BreakJoints()
221
    w1.Anchored = true
222
    w1.Parent = workspace
223
    w1.Transparency = 0.7
224
    table.insert(Effects, {w1, "Disappear", 0.01})
225
    w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
226
    table.insert(list, w1)
227
  end
228
  do
229
    if len2 > 0.01 then
230
      local w2 = Instance.new("WedgePart", m)
231
      game:GetService("Debris"):AddItem(w2, 5)
232
      w2.Material = "SmoothPlastic"
233
      w2.FormFactor = "Custom"
234
      w2.BrickColor = BrickColor.new(TrailColor)
235
      w2.Transparency = 0
236
      w2.Reflectance = 0
237
      w2.Material = "SmoothPlastic"
238
      w2.CanCollide = false
239
      NoOutline(w2)
240
      local sz = Vector3.new(0.2, width, len2)
241
      w2.Size = sz
242
      local sp = Instance.new("SpecialMesh", w2)
243
      sp.MeshType = "Wedge"
244
      sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
245
      w2:BreakJoints()
246
      w2.Anchored = true
247
      w2.Parent = workspace
248
      w2.Transparency = 0.7
249
      table.insert(Effects, {w2, "Disappear", 0.01})
250
      w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
251
      table.insert(list, w2)
252
    end
253
    do
254
      return unpack(list)
255
    end
256
  end
257
end
258
259
rayCast = function(Pos, Dir, Max, Ignore)
260
  
261
  return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
262
end
263
264
clerp = function(a, b, t)
265
  
266
  local qa = {QuaternionFromCFrame(a)}
267
  local qb = {QuaternionFromCFrame(b)}
268
  local ax, ay, az = a.x, a.y, a.z
269
  local bx, by, bz = b.x, b.y, b.z
270
  local _t = 1 - t
271
  return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
272
end
273
274
local clerp = CFrame.new().lerp
275
QuaternionFromCFrame = function(cf)
276
  
277
  local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
278
  local trace = m00 + m11 + m22
279
  if trace > 0 then
280
    local s = math.sqrt(1 + trace)
281
    local recip = 0.5 / s
282
    return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
283
  else
284
    do
285
      local i = 0
286
      if m00 < m11 then
287
        i = 1
288
      end
289
      if i == 0 and m00 or m11 < m22 then
290
        i = 2
291
      end
292
      if i == 0 then
293
        local s = math.sqrt(m00 - m11 - m22 + 1)
294
        local recip = 0.5 / s
295
        return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
296
      else
297
        do
298
          if i == 1 then
299
            local s = math.sqrt(m11 - m22 - m00 + 1)
300
            local recip = 0.5 / s
301
            return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
302
          else
303
            do
304
              if i == 2 then
305
                local s = math.sqrt(m22 - m00 - m11 + 1)
306
                local recip = 0.5 / s
307
                return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
308
              end
309
            end
310
          end
311
        end
312
      end
313
    end
314
  end
315
end
316
317
QuaternionToCFrame = function(px, py, pz, x, y, z, w)
318
  
319
  local xs, ys, zs = x + x, y + y, z + z
320
  local wx, wy, wz = w * xs, w * ys, w * zs
321
  local xx = x * xs
322
  local xy = x * ys
323
  local xz = x * zs
324
  local yy = y * ys
325
  local yz = y * zs
326
  local zz = z * zs
327
  return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
328
end
329
330
QuaternionSlerp = function(a, b, t)
331
  
332
  local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
333
  local startInterp, finishInterp = nil, nil
334
  if cosTheta >= 0.0001 then
335
    if 1 - cosTheta > 0.0001 then
336
      local theta = math.acos(cosTheta)
337
      local invSinTheta = 1 / math.sin(theta)
338
      startInterp = math.sin((1 - t) * theta) * invSinTheta
339
      finishInterp = math.sin(t * theta) * invSinTheta
340
    else
341
      do
342
        startInterp = 1 - t
343
        finishInterp = t
344
        if 1 + cosTheta > 0.0001 then
345
          local theta = math.acos(-cosTheta)
346
          local invSinTheta = 1 / math.sin(theta)
347
          startInterp = math.sin((t - 1) * theta) * invSinTheta
348
          finishInterp = math.sin(t * theta) * invSinTheta
349
        else
350
          do
351
            startInterp = t - 1
352
            finishInterp = t
353
            return a[1] * (startInterp) + b[1] * finishInterp, a[2] * (startInterp) + b[2] * finishInterp, a[3] * (startInterp) + b[3] * finishInterp, a[4] * (startInterp) + b[4] * finishInterp
354
          end
355
        end
356
      end
357
    end
358
  end
359
end
360
361
sitting = false
362
resting = false
363
meditating = false
364
sprint = false
365
mouse.Button1Down:connect(function()
366
  
367
end
368
)
369
print("Only instinct left is survival.")
370
mouse.KeyDown:connect(function(k)
371
  
372
  k = k:lower()
373
  if k == "z" and attack == false and resting == false and sprint == false and meditating == false then
374
    attack = true
375
    if sitting == false then
376
      sitting = true
377
      Humanoid.WalkSpeed = 0
378
      for i = 0, 1, 0.04 do
379
        fat.Event:wait()
380
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.25) * angles(math.rad(0), math.rad(15), math.rad(0)), 0.15)
381
        Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.15)
382
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.15)
383
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(15), math.rad(0), math.rad(-25)), 0.15)
384
        RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-60), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.15)
385
        LH.C0 = clerp(LH.C0, cf(-0.75, 0.25, -1) * angles(math.rad(-15), math.rad(-90), math.rad(0)) * angles(math.rad(-15), math.rad(0), math.rad(0)), 0.15)
386
      end
387
    elseif sitting == true then
388
          sitting = false
389
          for i = 0, 1, 0.04 do
390
            fat.Event:wait()
391
            RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.25) * angles(math.rad(0), math.rad(15), math.rad(0)), 0.15)
392
            Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.15)
393
            RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.15)
394
            LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(15), math.rad(0), math.rad(-25)), 0.15)
395
            RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-60), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.15)
396
            LH.C0 = clerp(LH.C0, cf(-0.75, 0.25, -1) * angles(math.rad(-15), math.rad(-90), math.rad(0)) * angles(math.rad(-15), math.rad(0), math.rad(0)), 0.15)
397
          end
398
          Humanoid.WalkSpeed = 3
399
        end
400
        attack = false
401
end
402
        if k == "x" and attack == false and sitting == false and sprint == false and meditating == false then
403
          attack = true
404
          if resting == false then
405
            resting = true
406
            Humanoid.WalkSpeed = 0
407
            for i = 0, 1, 0.04 do
408
              fat.Event:wait()
409
              RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.05) * angles(math.rad(0), math.rad(15), math.rad(0)), 0.15)
410
              Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.15)
411
              RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.15)
412
              LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.1, 0) * angles(math.rad(15), math.rad(0), math.rad(-25)), 0.15)
413
              RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-40), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.15)
414
              LH.C0 = clerp(LH.C0, cf(-0.75, 0.05, -1) * angles(math.rad(-15), math.rad(-90), math.rad(0)) * angles(math.rad(-15), math.rad(0), math.rad(0)), 0.15)
415
            end
416
          elseif resting == true then
417
                resting = false
418
                for i = 0, 1, 0.04 do
419
                  fat.Event:wait()
420
                  RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.05) * angles(math.rad(0), math.rad(15), math.rad(0)), 0.15)
421
                  Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.15)
422
                  RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.15)
423
                  LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.1, 0) * angles(math.rad(15), math.rad(0), math.rad(-25)), 0.15)
424
                  RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-40), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.15)
425
                  LH.C0 = clerp(LH.C0, cf(-0.75, 0.05, -1) * angles(math.rad(-15), math.rad(-90), math.rad(0)) * angles(math.rad(-15), math.rad(0), math.rad(0)), 0.15)
426
                end
427
                Humanoid.WalkSpeed = 3
428
              end
429
              attack = false
430
end
431
              if k == "c" and attack == false and sitting == false and resting == false and sprint == false then
432
                attack = true
433
                if meditating == false then
434
                  meditating = true
435
                  Humanoid.WalkSpeed = 0
436
                  for i = 0, 1, 0.04 do
437
                    fat.Event:wait()
438
                    RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.05) * angles(math.rad(0), math.rad(15), math.rad(0)), 0.15)
439
                    Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.15)
440
                    RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.15)
441
                    LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.1, 0) * angles(math.rad(15), math.rad(0), math.rad(-25)), 0.15)
442
                    RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-40), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.15)
443
                    LH.C0 = clerp(LH.C0, cf(-0.75, 0.05, -1) * angles(math.rad(-15), math.rad(-90), math.rad(0)) * angles(math.rad(-15), math.rad(0), math.rad(0)), 0.15)
444
                  end
445
                elseif meditating == true then
446
                      meditating = false
447
                      for i = 0, 1, 0.04 do
448
                        fat.Event:wait()
449
                        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.05) * angles(math.rad(0), math.rad(15), math.rad(0)), 0.15)
450
                        Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.15)
451
                        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.15)
452
                        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.1, 0) * angles(math.rad(15), math.rad(0), math.rad(-25)), 0.15)
453
                        RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-40), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.15)
454
                        LH.C0 = clerp(LH.C0, cf(-0.75, 0.05, -1) * angles(math.rad(-15), math.rad(-90), math.rad(0)) * angles(math.rad(-15), math.rad(0), math.rad(0)), 0.15)
455
                      end
456
                      Humanoid.WalkSpeed = 3
457
                    end
458
                    attack = false
459
end
460
                    if k == "e" and attack == false and resting == false and sitting == false and meditating == false and sprint == false then
461
                      sprint = true
462
                      Humanoid.WalkSpeed = 16
463
                    end
464
                  end
465
)
466
mouse.KeyUp:connect(function(k)
467
  
468
  if k == "e" and attack == false and resting == false and sitting == false and meditating == false and sprint == true then
469
    sprint = false
470
    Humanoid.WalkSpeed = 3
471
  end
472
end
473
)
474
local sine = 0
475
local change = 1
476
local val = 0
477
fat.Event:connect(function()
478
  
479
  sine = sine + change
480
  local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
481
    local velderp = RootPart.Velocity.y
482
    hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
483
    if equipped == true or equipped == false then
484
      if attack == false then
485
        idle = idle + 1
486
      else
487
        idle = 0
488
      end
489
      if ((idle >= 500 and attack ~= false) or RootPart.Velocity.y > 1) and hitfloor == nil then
490
        Anim = "Jump"
491
        if attack == false then
492
          change = 1
493
          RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.15)
494
          Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15)
495
          RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(20)), 0.15)
496
          LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-20)), 0.15)
497
          RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-20), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15)
498
          LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-20), math.rad(-90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15)
499
        end
500
      elseif RootPart.Velocity.y < -1 and hitfloor == nil then
501
          Anim = "Fall"
502
          if attack == false then
503
            change = 1
504
            RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), 0.15)
505
            Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.15)
506
            RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(10)), 0.15)
507
            LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-10)), 0.15)
508
            RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(10), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.15)
509
            LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-10), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.15)
510
          end
511
        elseif torvel < 1 and hitfloor ~= nil then
512
            Anim = "Idle"
513
            if attack == false and sitting == false and resting == false and meditating == false then
514
              change = 1
515
              RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1 + 0.1 * math.cos(sine / 30)) * angles(math.rad(-2.5 * math.cos(sine / 30)), math.rad(0), math.rad(0)), 0.15)
516
              Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-5 * math.cos(sine / 30)) + -math.sin(sine / 30) / 15, math.rad(0), math.rad(0)), 0.15)
517
              RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.55 + 0.05 * math.cos(sine / 30) + -math.sin(sine / 30) / 40, 0) * angles(math.rad(5 - 2.5 * math.cos(sine / 30)), math.rad(0), math.rad(10 + 5 * math.cos(sine / 30)) + math.sin(sine / 30) / 20), 0.15)
518
              LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.55 + 0.05 * math.cos(sine / 30) + -math.sin(sine / 30) / 40, 0) * angles(math.rad(5 - 2.5 * math.cos(sine / 30)), math.rad(0), math.rad(-10 - 5 * math.cos(sine / 30)) + -math.sin(sine / 30) / 20), 0.15)
519
              RH.C0 = clerp(RH.C0, cf(1, -0.9 - 0.1 * math.cos(sine / 30), 0.025 * math.cos(sine / 30)) * angles(math.rad(-2.5 * math.cos(sine / 30)), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.15)
520
              LH.C0 = clerp(LH.C0, cf(-1, -0.9 - 0.1 * math.cos(sine / 30), 0.025 * math.cos(sine / 30)) * angles(math.rad(-2.5 * math.cos(sine / 30)), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.15)
521
            elseif attack == false and sitting == true and resting == false and meditating == false then
522
                change = 1
523
                RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.9) * angles(math.rad(-45 - 2.5 * math.cos(sine / 30)), math.rad(0), math.rad(0)), 0.15)
524
                Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-5 * math.cos(sine / 30)) + -math.sin(sine / 30) / 15, math.rad(0), math.rad(0)), 0.15)
525
                RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.45, 0) * angles(math.rad(-45 - 2.5 * math.cos(sine / 30)), math.rad(0), math.rad(10)), 0.15)
526
                LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.45, 0) * angles(math.rad(-45 - 2.5 * math.cos(sine / 30)), math.rad(0), math.rad(-10)), 0.15)
527
                RH.C0 = clerp(RH.C0, cf(1, -1, 0.025 * math.cos(sine / 30)) * angles(math.rad(45 - 2.5 * math.cos(sine / 30)), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.15)
528
                LH.C0 = clerp(LH.C0, cf(-1, -1, 0.025 * math.cos(sine / 30)) * angles(math.rad(45 - 2.5 * math.cos(sine / 30)), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.15)
529
              elseif attack == false and sitting == false and resting == true and meditating == false then
530
                  change = 1
531
                  RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2.3) * angles(math.rad(-80 - 1 * math.cos(sine / 30)), math.rad(0), math.rad(0)), 0.15)
532
                  Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5 - 1 * math.cos(sine / 30)) + -math.sin(sine / 30) / 15, math.rad(0), math.rad(0)), 0.15)
533
                  RW.C0 = clerp(RW.C0, CFrame.new(1, 0.75, 0.1) * angles(math.rad(215 - 1 * math.cos(sine / 30)), math.rad(0), math.rad(-45)), 0.15)
534
                  LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.75, 0.1) * angles(math.rad(200 - 1 * math.cos(sine / 30)), math.rad(0), math.rad(45)), 0.15)
535
                  RH.C0 = clerp(RH.C0, cf(1, -1, 0.025 * math.cos(sine / 30)) * angles(math.rad(25 - 1 * math.cos(sine / 30)), math.rad(90), math.rad(0)) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
536
                  LH.C0 = clerp(LH.C0, cf(-1, -1, 0.025 * math.cos(sine / 30)) * angles(math.rad(10 - 1 * math.cos(sine / 30)), math.rad(-90), math.rad(0)) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
537
                elseif attack == false and sitting == false and resting == false and meditating == true then
538
                    change = 1
539
                    RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.9) * angles(math.rad(10 - 1 * math.cos(sine / 30)), math.rad(0), math.rad(0)), 0.15)
540
                    Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10 - 1 * math.cos(sine / 30)) + -math.sin(sine / 30) / 15, math.rad(0), math.rad(0)), 0.15)
541
                    RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(0), math.rad(165), math.rad(90)), 0.15)
542
                    LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(0), math.rad(-165), math.rad(-90)), 0.15)
543
                    RH.C0 = clerp(RH.C0, cf(1, -1, 0.1) * angles(math.rad(-30), math.rad(75), math.rad(0)) * angles(math.rad(80), math.rad(0), math.rad(0)), 0.15)
544
                    LH.C0 = clerp(LH.C0, cf(-1, -1, 0.1) * angles(math.rad(-30), math.rad(-75), math.rad(0)) * angles(math.rad(80), math.rad(0), math.rad(0)), 0.15)
545
                  end
546
          elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
547
              Anim = "Walk"
548
              if attack == false and sprint == false then
549
                change = 0.5
550
                RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.175 + 0.025 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(5 - 2.5 * math.cos(sine / 3.5)), math.rad(0), math.rad(10 * math.cos(sine / 7))), 0.15)
551
                Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0 + 0.025 * math.cos(sine / 3.5)) * angles(math.rad(0 - 2.5 * math.cos(sine / 3.5)), math.rad(1.5 * math.cos(sine / 7)), math.rad(-7.5 * math.cos(sine / 7))), 0.15)
552
                RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(0), math.rad(10)), 0.15)
553
                LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(0), math.rad(-10)), 0.15)
554
                RH.C0 = clerp(RH.C0, cf(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 15 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.15)
555
                LH.C0 = clerp(LH.C0, cf(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 15 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.15)
556
              elseif attack == false and sprint == true then
557
                  change = 1
558
                  RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1 + 0.1 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(5 - 2.5 * math.cos(sine / 3.5)), math.rad(0), math.rad(10 * math.cos(sine / 7))), 0.15)
559
                  Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0 + 0.025 * math.cos(sine / 3.5)) * angles(math.rad(0 - 2.5 * math.cos(sine / 3.5)), math.rad(1.5 * math.cos(sine / 7)), math.rad(-7.5 * math.cos(sine / 7))), 0.15)
560
                  RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(45 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(0), math.rad(10)), 0.15)
561
                  LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-45 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(0), math.rad(-10)), 0.15)
562
                  RH.C0 = clerp(RH.C0, cf(1, -0.9 - 0.25 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 45 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.15)
563
                  LH.C0 = clerp(LH.C0, cf(-1, -0.9 + 0.25 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 45 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.15)
564
                end
565
            elseif torvel < 22 and hitfloor ~= nil then
566
                Anim = "Run"
567
              end
568
    end
569
    if attack == false then
570
    end
571
  end
572
)
573-
)
573+
plr = game.Players.LocalPlayer
574
script.Parent = plr.PlayerGui --prevents from getting stolen on nonsb games
575
  repeat
576
    wait(0.2)
577
  until plr.Character
578
  chr = plr.Character
579
  mouse = plr:GetMouse()
580
  selected = false
581
  human = chr:FindFirstChild("Humanoid")
582
  ragged = false
583
  movindamover = false
584
  coolindown = false
585
  togglecamshake = false
586
  warudo = false
587
  waruding = false
588
  rootpart = chr:WaitForChild("HumanoidRootPart")
589
  torso = chr:WaitForChild("Torso")
590
  rarm = chr:WaitForChild("Right Arm")
591
  larm = chr:WaitForChild("Left Arm")
592
  rleg = chr:WaitForChild("Right Leg")
593
  lleg = chr:WaitForChild("Left Leg")
594
  local nscale = Instance.new("NumberValue")
595
  nscale.Value = 1
596
  nscale.Parent = nil
597
  RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
598
  RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
599
  LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
600
  LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
601
  RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
602
  RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
603
  LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
604
  LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
605
  RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
606
  RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
607
  NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
608
  NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
609
  nscale.Changed:connect(function()
610
    RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
611
    RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
612
    LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
613
    LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
614
    RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
615
    RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
616
    LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
617
    LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
618
    RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
619
    RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
620
    NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
621
    NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
622
  end)
623
  Heartbeat = Instance.new("BindableEvent")
624
  Heartbeat.Name = "Heartbeat"
625
  Heartbeat.Parent = script
626
  frame = 0.016666666666666666
627
  tf = 0
628
  game:GetService("RunService").Heartbeat:connect(function(s, p)
629
    tf = tf + s
630
    if tf >= frame then
631
      for i = 1, math.floor(tf / frame) do
632
        Heartbeat:Fire()
633
      end
634
      tf = tf - frame * math.floor(tf / frame)
635
    end
636
  end)
637
  function swait(num)
638
    if num == 0 or num == nil then
639
      Heartbeat.Event:wait()
640
    else
641
      for i = 1, num do
642
        Heartbeat.Event:wait()
643
      end
644
    end
645
  end
646
  local mod = Instance.new("Model")
647
  mod.Name = "stuff"
648
  mod.Parent = chr
649
  tool = Instance.new("Tool")
650
  tool.CanBeDropped = false
651
  tool.RequiresHandle = false
652
  tool.ToolTip = "haha funny memeeeee xdd"
653
  tool.Parent = plr.Backpack
654
  tool.Name = "haha"
655
  local screngui = Instance.new("ScreenGui")
656
  screngui.Parent = plr.PlayerGui
657
  local fram = Instance.new("Frame")
658
  fram.AnchorPoint = Vector2.new(0.5, 0.5)
659
  fram.BackgroundColor3 = Color3.new(0.050980392156862744, 0.050980392156862744, 0.050980392156862744)
660
  fram.BorderColor3 = Color3.new(0, 0, 0)
661
  fram.BorderSizePixel = 2
662
  fram.Position = UDim2.new(0.5, 0, 0.85, 0)
663
  fram.Size = UDim2.new(0.25, 75, 0, 25)
664
  fram.Parent = screngui
665
  local manabar = Instance.new("ImageLabel")
666
  manabar.Name = "ManaBar"
667
  manabar.AnchorPoint = Vector2.new(0.5, 0.5)
668
  manabar.BackgroundColor3 = Color3.new(1, 0.9333333333333333, 0.1607843137254902)
669
  manabar.BorderColor3 = Color3.new(0.10588235294117647, 0.16470588235294117, 0.20784313725490197)
670
  manabar.BorderSizePixel = 0
671
  manabar.LayoutOrder = 3
672
  manabar.Position = UDim2.new(0.5, 0, 0.5, 0)
673
  manabar.Size = UDim2.new(1, -6, 1, -6)
674
  manabar.ZIndex = 5
675
  manabar.Parent = fram
676
  local nobm = Instance.new("ImageLabel")
677
  nobm.Name = "xd"
678
  nobm.AnchorPoint = Vector2.new(0.5, 0.5)
679
  nobm.BackgroundColor3 = Color3.new(0.050980392156862744, 0.050980392156862744, 0.050980392156862744)
680
  nobm.BorderColor3 = Color3.new(0, 0, 0)
681
  nobm.BorderSizePixel = 2
682
  nobm.Position = UDim2.new(0.5, 0, -0.3, 0)
683
  nobm.Size = UDim2.new(0.35, 0, 0.6, 0)
684
  nobm.ZIndex = 2
685
  nobm.Parent = fram
686
  local nobote = Instance.new("TextLabel")
687
  nobote.Name = "texto"
688
  nobote.AnchorPoint = Vector2.new(0.5, 0.5)
689
  nobote.BackgroundTransparency = 1
690
  nobote.BorderColor3 = Color3.new(0.10588235294117647, 0.16470588235294117, 0.20784313725490197)
691
  nobote.BorderSizePixel = 0
692
  nobote.Position = UDim2.new(0.5, 0, 0.5, 0)
693
  nobote.Size = UDim2.new(1, 0, 1, 0)
694
  nobote.ZIndex = 3
695
  nobote.Font = "Arcade"
696
  nobote.Text = "Noob-o-meter"
697
  nobote.TextColor3 = Color3.new(0.9176470588235294, 1, 0)
698
  nobote.TextScaled = true
699
  nobote.TextStrokeTransparency = 1
700
  nobote.Parent = nobm
701
  local mano = Instance.new("ImageLabel")
702
  mano.Name = "xd"
703
  mano.AnchorPoint = Vector2.new(0.5, 0.5)
704
  mano.BackgroundColor3 = Color3.new(0.050980392156862744, 0.050980392156862744, 0.050980392156862744)
705
  mano.BorderColor3 = Color3.new(0, 0, 0)
706
  mano.BorderSizePixel = 2
707
  mano.Position = UDim2.new(0.5, 0, 1.1, 0)
708
  mano.Size = UDim2.new(0.1, 0, 0.6, 0)
709
  mano.ZIndex = 2
710
  mano.Parent = fram
711
  local manu = Instance.new("TextLabel")
712
  manu.Name = "texto"
713
  manu.AnchorPoint = Vector2.new(0.5, 0.5)
714
  manu.BackgroundTransparency = 1
715
  manu.BorderColor3 = Color3.new(0.10588235294117647, 0.16470588235294117, 0.20784313725490197)
716
  manu.BorderSizePixel = 0
717
  manu.Position = UDim2.new(0.5, 0, 0.5, 0)
718
  manu.Size = UDim2.new(1, 0, 1, 0)
719
  manu.ZIndex = 3
720
  manu.Font = "Arcade"
721
  manu.Text = "100"
722
  manu.TextColor3 = Color3.new(0.9176470588235294, 1, 0)
723
  manu.TextScaled = true
724
  manu.TextStrokeTransparency = 1
725
  manu.Parent = mano
726
  local mana = Instance.new("IntValue")
727
  mana.Value = 100
728
  mana.Name = "Mana"
729
  mana.Parent = fram
730
  coroutine.resume(coroutine.create(function()
731
    while true do
732
      wait(0.15)
733
      manabar:TweenSize(UDim2.new(1 * mana.Value / 100, -6, 1, -6), 2, 1, 0.2, false, nil)
734
      if mana.Value < 100 then
735
        mana.Value = mana.Value + 1
736
        manu.Text = mana.Value
737
        if mana.Value < 0 then
738
          mana.Value = 0
739
        end
740
      end
741
    end
742
  end))
743
  function nooutline(part)
744
    part.TopSurface, part.BottomSurface, part.RightSurface, part.LeftSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
745
  end
746
  function test()
747
    if selected == false then
748
      return
749
    end
750
    if waruding == true then
751
      return
752
    end
753
    if ragged == false then
754
      ragged = true
755
      human.PlatformStand = true
756
      if rarm and torso:FindFirstChild("Right Shoulder") then
757
        torso:FindFirstChild("Right Shoulder"):Destroy()
758
        makegloo(torso, RightShoulderC0, RightShoulderC1, torso, rarm, "Right Shoulder")
759
        maketouchy(rarm, rarm, CFrame.new(0, 0.5, 0))
760
      end
761
      if larm and torso:FindFirstChild("Left Shoulder") then
762
        torso:FindFirstChild("Left Shoulder"):Destroy()
763
        makegloo(torso, LeftShoulderC0, LeftShoulderC1, torso, larm, "Left Shoulder")
764
        maketouchy(larm, larm, CFrame.new(0, 0.5, 0))
765
      end
766
      if rleg and torso:FindFirstChild("Right Hip") then
767
        torso:FindFirstChild("Right Hip"):Destroy()
768
        makegloo(torso, RightHipC0, RightHipC1, torso, rleg, "Right Hip")
769
        maketouchy(rleg, rleg, CFrame.new(0, 0.5, 0))
770
      end
771
      if lleg and torso:FindFirstChild("Left Hip") then
772
        torso:FindFirstChild("Left Hip"):Destroy()
773
        makegloo(torso, LeftHipC0, LeftHipC1, torso, lleg, "Left Hip")
774
        maketouchy(lleg, lleg, CFrame.new(0, 0.5, 0))
775
      end
776
    elseif ragged == true then
777
      ragged = false
778
      human.Jump = true
779
      if rarm and torso:FindFirstChild("Right Shoulder") then
780
        torso:FindFirstChild("Right Shoulder"):Destroy()
781
        makejoint(torso, RightShoulderC0, RightShoulderC1, torso, rarm, "Right Shoulder")
782
        rarm:FindFirstChild("touchy"):Destroy()
783
      end
784
      if larm and torso:FindFirstChild("Left Shoulder") then
785
        torso:FindFirstChild("Left Shoulder"):Destroy()
786
        makejoint(torso, LeftShoulderC0, LeftShoulderC1, torso, larm, "Left Shoulder")
787
        larm:FindFirstChild("touchy"):Destroy()
788
      end
789
      if rleg and torso:FindFirstChild("Right Hip") then
790
        torso:FindFirstChild("Right Hip"):Destroy()
791
        makejoint(torso, RightHipC0, RightHipC1, torso, rleg, "Right Hip")
792
        rleg:FindFirstChild("touchy"):Destroy()
793
      end
794
      if lleg and torso:FindFirstChild("Left Hip") then
795
        torso:FindFirstChild("Left Hip"):Destroy()
796
        makejoint(torso, LeftHipC0, LeftHipC1, torso, lleg, "Left Hip")
797
        lleg:FindFirstChild("touchy"):Destroy()
798
      end
799
    end
800
  end
801
  function makegloo(paren, co, ci, parto, parti, nam)
802
    local gloo = Instance.new("Glue")
803
    gloo.Name = nam
804
    gloo.C0 = co
805
    gloo.C1 = ci
806
    gloo.Part0 = parto
807
    gloo.Part1 = parti
808
    gloo.Parent = paren
809
  end
810
  function makejoint(paren, co, ci, parto, parti, nam)
811
    local gloo = Instance.new("Motor6D")
812
    gloo.Name = nam
813
    gloo.C0 = co
814
    gloo.C1 = ci
815
    gloo.Part0 = parto
816
    gloo.Part1 = parti
817
    gloo.Parent = paren
818
  end
819
  function maketouchy(parent, limb, cframe)
820
    local pr = Instance.new("Part")
821
    pr.Name = "touchy"
822
    pr.Size = Vector3.new(1 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value)
823
    pr.Transparency = 1
824
    pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5)
825
    pr.CanCollide = true
826
    pr.Anchored = false
827
    pr.Parent = parent
828
    local w = Instance.new("Weld")
829
    w.Part0 = pr
830
    w.Part1 = limb
831
    w.C0 = cframe
832
    w.Parent = pr
833
  end
834
  function movinit()
835
    if ragged == true then
836
      do
837
        local bodyp = Instance.new("BodyPosition")
838
        bodyp.MaxForce = Vector3.new(100000, 100000, 100000)
839
        bodyp.Position = mouse.Hit.p
840
        bodyp.P = 100
841
        bodyp.Name = "bodehforce"
842
        bodyp.D = 20
843
        bodyp.Parent = rootpart
844
        delay(0.01, function()
845
          bodyp:Destroy()
846
        end)
847
      end
848
    end
849
  end
850
  function shoom()
851
    if selected == false then
852
      return
853
    end
854
    if waruding == true then
855
      return
856
    end
857
    if mana.Value < 5 then
858
      return
859
    end
860
    local mcir1 = Instance.new("Part")
861
    mcir1.Anchored = true
862
    mcir1.CanCollide = false
863
    mcir1.Size = Vector3.new(0.2, 0.2, 0.2)
864
    mcir1.Transparency = 1
865
    mcir1.CFrame = CFrame.new(rootpart.Position + Vector3.new(math.random(-5, 5), math.random(7, 9), math.random(-5, 5)), mouse.Hit.p)
866
    mcir1.Parent = mod
867
    game.Debris:AddItem(mcir1, 8)
868
    local d1 = Instance.new("Decal")
869
    d1.Texture = "rbxassetid://602615043"
870
    d1.Face = "Front"
871
    d1.Parent = mcir1
872
    local d2 = Instance.new("Decal")
873
    d2.Texture = "rbxassetid://602617463"
874
    d2.Face = "Back"
875
    d2.Parent = mcir1
876
    local bme = Instance.new("BlockMesh")
877
    bme.Parent = mcir1
878
    for _ = 1, 9 do
879
      wait()
880
      bme.Scale = bme.Scale:lerp(Vector3.new(35, 35, 0), 0.3)
881
    end
882
    makenoob(mcir1.CFrame, (mouse.Hit.p - mcir1.Position).unit * 150, math.random(8, 12) / 10)
883
    mana.Value = mana.Value - 5
884
    coroutine.resume(coroutine.create(function()
885
      wait(1)
886
      for _ = 1, 12 do
887
        wait()
888
        d1.Transparency = d1.Transparency + 0.08
889
        d2.Transparency = d2.Transparency + 0.08
890
      end
891
      mcir1:Destroy()
892
    end))
893
  end
894
  function transpo()
895
    if selected == false then
896
      return
897
    end
898
    if waruding == true then
899
      return
900
    end
901
    if mana.Value < 5 then
902
      return
903
    end
904
    if mouse.Target.Parent.Name == "Noob" and mouse.Target.Parent.Humanoid.Health ~= 0 then
905
      do
906
        local nibz = mouse.Target.Parent
907
        chr.PrimaryPart = rootpart
908
        nibz.PrimaryPart = nibz:FindFirstChild("HumanoidRootPart")
909
        local g = Instance.new("Part")
910
        g.CanCollide, g.Anchored = false, true
911
        g.Transparency = 1
912
        g.CFrame = rootpart.CFrame
913
        g.Parent = workspace
914
        game.Debris:AddItem(g, 4)
915
        local sou = Instance.new("Sound")
916
        sou.Pitch = math.random(7, 11) / 10
917
        sou.Volume = 0.9
918
        sou.SoundId = "rbxassetid://111124523"
919
        sou.Parent = g
920
        sou:Play()
921
        local pe = Instance.new("ParticleEmitter")
922
        pe.Acceleration = Vector3.new(0, 8, 0)
923
        pe.Lifetime = NumberRange.new(1, 1.5)
924
        pe.Rate = 20000
925
        pe.RotSpeed = NumberRange.new(-30, 30)
926
        pe.Rotation = NumberRange.new(0, 360)
927
        pe.Size = NumberSequence.new({
928
          NumberSequenceKeypoint.new(0, 4.38, 0),
929
          NumberSequenceKeypoint.new(0.672, 4.14, 0),
930
          NumberSequenceKeypoint.new(1, 1.48, 0)
931
        })
932
        pe.Texture = "rbxassetid://244221440"
933
        pe.Transparency = NumberSequence.new({
934
          NumberSequenceKeypoint.new(0, 0, 0),
935
          NumberSequenceKeypoint.new(0.529, 0.3, 0),
936
          NumberSequenceKeypoint.new(1, 1, 1)
937
        })
938
        pe.ZOffset = 5
939
        pe.VelocitySpread = 360
940
        pe.Parent = g
941
        delay(0.14, function()
942
          pe.Enabled = false
943
        end)
944
        chr:SetPrimaryPartCFrame(nibz:FindFirstChild("HumanoidRootPart").CFrame)
945
        local g2 = Instance.new("Part")
946
        g2.CanCollide, g2.Anchored = false, true
947
        g2.Transparency = 1
948
        g2.CFrame = nibz:FindFirstChild("HumanoidRootPart").CFrame
949
        g2.Parent = workspace
950
        game.Debris:AddItem(g2, 4)
951
        local sou2 = Instance.new("Sound")
952
        sou2.Pitch = math.random(7, 11) / 10
953
        sou2.Volume = 0.9
954
        sou2.SoundId = "rbxassetid://111124523"
955
        sou2.Parent = g2
956
        sou2:Play()
957
        local pe2 = Instance.new("ParticleEmitter")
958
        pe2.Acceleration = Vector3.new(0, 8, 0)
959
        pe2.Lifetime = NumberRange.new(1, 1.5)
960
        pe2.Rate = 20000
961
        pe2.RotSpeed = NumberRange.new(-30, 30)
962
        pe2.Rotation = NumberRange.new(0, 360)
963
        pe2.Size = NumberSequence.new({
964
          NumberSequenceKeypoint.new(0, 4.38, 0),
965
          NumberSequenceKeypoint.new(0.672, 4.14, 0),
966
          NumberSequenceKeypoint.new(1, 1.48, 0)
967
        })
968
        pe2.Texture = "rbxassetid://244221440"
969
        pe2.Transparency = NumberSequence.new({
970
          NumberSequenceKeypoint.new(0, 0, 0),
971
          NumberSequenceKeypoint.new(0.529, 0.3, 0),
972
          NumberSequenceKeypoint.new(1, 1, 1)
973
        })
974
        pe2.ZOffset = 5
975
        pe2.VelocitySpread = 360
976
        pe2.Parent = g2
977
        delay(0.14, function()
978
          pe2.Enabled = false
979
        end)
980
        nibz:SetPrimaryPartCFrame(g.CFrame)
981
        mana.Value = mana.Value - 5
982
      end
983
    end
984
  end
985
  function pow()
986
    if selected == false then
987
      return
988
    end
989
    if coolindown == true then
990
      return
991
    end
992
    if waruding == true then
993
      return
994
    end
995
    if mana.Value < 50 then
996
      return
997
    end
998
    coolindown = true
999
    local propertieslol = function(part)
1000
      part.Material = "SmoothPlastic"
1001
      part.CanCollide = false
1002
      part.Locked = true
1003
      part.Anchored = true
1004
      part.Size = Vector3.new(0.2, 0.2, 0.2)
1005
      part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
1006
    end
1007
    local mover = Instance.new("Part")
1008
    mover.Transparency = 1
1009
    mover.Size = Vector3.new(0.2, 0.2, 0.2)
1010
    mover.CFrame = rootpart.CFrame * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 11, 0)
1011
    mover.Anchored = true
1012
    mover.CanCollide = false
1013
    mover.Parent = mod
1014
    local mciro = Instance.new("Part")
1015
    mciro.Name = "mciro"
1016
    mciro.BrickColor = BrickColor.new("Bright yellow")
1017
    propertieslol(mciro)
1018
    mciro.CFrame = rootpart.CFrame * CFrame.new(0, -2.45, -35) * CFrame.Angles(math.rad(180), 0, 0)
1019
    mciro.Transparency = 1
1020
    mciro.Parent = mod
1021
    local mc = Instance.new("BlockMesh")
1022
    mc.Scale = Vector3.new(0, 0, 0)
1023
    mc.Parent = mciro
1024
    local d1 = Instance.new("Decal")
1025
    d1.Texture = "rbxassetid://602615043"
1026
    d1.Face = "Top"
1027
    d1.Parent = mciro
1028
    local d2 = Instance.new("Decal")
1029
    d2.Texture = "rbxassetid://602617463"
1030
    d2.Face = "Bottom"
1031
    d2.Parent = mciro
1032
    movindamover = true
1033
    coroutine.resume(coroutine.create(function()
1034
      while movindamover == true do
1035
        swait()
1036
        mover.CFrame = mover.CFrame:lerp(rootpart.CFrame * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 11, 0), 0.4)
1037
        mciro.CFrame = mciro.CFrame:lerp(rootpart.CFrame * CFrame.new(0, -2.45, -35) * CFrame.Angles(math.rad(180), 0, 0), 0.4)
1038
        mc.Scale = mc.Scale:lerp(Vector3.new(120, 0, 120), 0.1)
1039
      end
1040
    end))
1041
    local handle = Instance.new("Part")
1042
    handle.Name = "Handle"
1043
    handle.BrickColor = BrickColor.new("Br. yellowish green")
1044
    propertieslol(handle)
1045
    handle.CFrame = rootpart.CFrame * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)) * CFrame.new(0, 11, 0)
1046
    handle.Parent = mod
1047
    local m0 = Instance.new("SpecialMesh")
1048
    m0.MeshType = "Head"
1049
    m0.Parent = handle
1050
    local h1 = Instance.new("Part")
1051
    h1.Name = "h1"
1052
    h1.BrickColor = BrickColor.new("Br. yellowish green")
1053
    propertieslol(h1)
1054
    h1.CFrame = mover.CFrame * CFrame.new(0, 3, 0)
1055
    h1.Parent = mod
1056
    local m1 = Instance.new("SpecialMesh")
1057
    m1.MeshType = "Head"
1058
    m1.Parent = h1
1059
    local h2 = Instance.new("Part")
1060
    h2.Name = "h2"
1061
    h2.BrickColor = BrickColor.new("Br. yellowish green")
1062
    propertieslol(h2)
1063
    h2.CFrame = mover.CFrame * CFrame.new(0, -3, 0)
1064
    h2.Parent = mod
1065
    local m2 = Instance.new("SpecialMesh")
1066
    m2.MeshType = "Head"
1067
    m2.Parent = h2
1068
    local he = Instance.new("Part")
1069
    he.Name = "he"
1070
    he.BrickColor = BrickColor.new("Bright yellow")
1071
    propertieslol(he)
1072
    he.CFrame = mover.CFrame * CFrame.new(0, -3.75, 0)
1073
    he.Parent = mod
1074
    local m3 = Instance.new("SpecialMesh")
1075
    m3.MeshType = "Head"
1076
    m3.Parent = he
1077
    local ht = Instance.new("Part")
1078
    ht.Name = "ht"
1079
    ht.BrickColor = BrickColor.new("White")
1080
    propertieslol(ht)
1081
    ht.CFrame = mover.CFrame * CFrame.new(0, -5.5, 0) * CFrame.Angles(math.rad(180), 0, 0)
1082
    ht.Parent = mod
1083
    local m4 = Instance.new("SpecialMesh")
1084
    m4.MeshType = "Head"
1085
    m4.MeshId = "http://www.roblox.com/asset/?id=1082802"
1086
    m4.TextureId = "http://www.roblox.com/asset/?id=1082804"
1087
    m4.Parent = ht
1088
    local p1 = Instance.new("Part")
1089
    p1.Name = "p1"
1090
    p1.BrickColor = BrickColor.new("Bright blue")
1091
    propertieslol(p1)
1092
    p1.CFrame = mover.CFrame * CFrame.new(0, 12, 0)
1093
    p1.Parent = mod
1094
    local m5 = Instance.new("SpecialMesh")
1095
    m5.MeshType = "Head"
1096
    m5.Parent = p1
1097
    local p2 = Instance.new("Part")
1098
    p2.Name = "p2"
1099
    p2.BrickColor = BrickColor.new("Bright blue")
1100
    propertieslol(p2)
1101
    p2.CFrame = mover.CFrame * CFrame.new(0, 14, 0) * CFrame.Angles(math.rad(180), 0, 0)
1102
    p2.Parent = mod
1103
    local m6 = Instance.new("SpecialMesh")
1104
    m6.MeshType = "FileMesh"
1105
    m6.MeshId = "rbxassetid://1033714"
1106
    m6.Parent = p2
1107
    local he1 = Instance.new("Part")
1108
    he1.Name = "he1"
1109
    he1.BrickColor = BrickColor.new("Bright yellow")
1110
    propertieslol(he1)
1111
    he1.CFrame = mover.CFrame * CFrame.new(0, 27, 0) * CFrame.Angles(0, math.rad(90), 0)
1112
    he1.Parent = mod
1113
    local m7 = Instance.new("SpecialMesh")
1114
    m7.MeshType = "Head"
1115
    m7.Parent = he1
1116
    local hdec1 = Instance.new("Decal")
1117
    hdec1.Texture = "rbxasset://textures/face.png"
1118
    hdec1.Face = "Front"
1119
    hdec1.Parent = he1
1120
    local he2 = Instance.new("Part")
1121
    he2.Name = "he2"
1122
    he2.BrickColor = BrickColor.new("Bright yellow")
1123
    propertieslol(he2)
1124
    he2.CFrame = mover.CFrame * CFrame.new(0, 27, 0) * CFrame.Angles(0, math.rad(-90), 0)
1125
    he2.Transparency = 1
1126
    he2.Parent = mod
1127
    local m8 = Instance.new("SpecialMesh")
1128
    m8.MeshType = "Head"
1129
    m8.Parent = he2
1130
    local hdec2 = Instance.new("Decal")
1131
    hdec2.Texture = "rbxasset://textures/face.png"
1132
    hdec2.Face = "Front"
1133
    hdec2.Parent = he2
1134
    local het1 = Instance.new("Part")
1135
    het1.Name = "het1"
1136
    het1.BrickColor = BrickColor.new("Bright yellow")
1137
    propertieslol(het1)
1138
    het1.CFrame = mover.CFrame * CFrame.new(0, 30, 0) * CFrame.Angles(0, math.rad(90), 0)
1139
    het1.Parent = mod
1140
    local m9 = Instance.new("SpecialMesh")
1141
    m9.MeshType = "FileMesh"
1142
    m9.MeshId = "http://www.roblox.com/asset/?id=272942659"
1143
    m9.TextureId = "http://www.roblox.com/asset/?id=272942750"
1144
    m9.Parent = het1
1145
    local he3 = Instance.new("Part")
1146
    he3.Name = "he3"
1147
    he3.BrickColor = BrickColor.new("Bright yellow")
1148
    propertieslol(he3)
1149
    he3.CFrame = mover.CFrame * CFrame.new(0, 27, 11) * CFrame.Angles(0, math.rad(90), math.rad(90))
1150
    he3.Parent = mod
1151
    local m10 = Instance.new("SpecialMesh")
1152
    m10.MeshType = "Head"
1153
    m10.Parent = he3
1154
    local hdec3 = Instance.new("Decal")
1155
    hdec3.Texture = "rbxasset://textures/face.png"
1156
    hdec3.Face = "Front"
1157
    hdec3.Parent = he3
1158
    local he4 = Instance.new("Part")
1159
    he4.Name = "he4"
1160
    he4.BrickColor = BrickColor.new("Bright yellow")
1161
    propertieslol(he4)
1162
    he4.CFrame = mover.CFrame * CFrame.new(0, 27, 11) * CFrame.Angles(0, math.rad(-90), math.rad(90))
1163
    he4.Transparency = 1
1164
    he4.Parent = mod
1165
    local m11 = Instance.new("SpecialMesh")
1166
    m11.MeshType = "Head"
1167
    m11.Parent = he4
1168
    local hdec4 = Instance.new("Decal")
1169
    hdec4.Texture = "rbxasset://textures/face.png"
1170
    hdec4.Face = "Front"
1171
    hdec4.Parent = he4
1172
    local he5 = Instance.new("Part")
1173
    he5.Name = "he5"
1174
    he5.BrickColor = BrickColor.new("Bright yellow")
1175
    propertieslol(he5)
1176
    he5.CFrame = mover.CFrame * CFrame.new(0, 27, -11) * CFrame.Angles(0, math.rad(90), math.rad(-90))
1177
    he5.Parent = mod
1178
    local m12 = Instance.new("SpecialMesh")
1179
    m12.MeshType = "Head"
1180
    m12.Parent = he5
1181
    local hdec5 = Instance.new("Decal")
1182
    hdec5.Texture = "rbxasset://textures/face.png"
1183
    hdec5.Face = "Front"
1184
    hdec5.Parent = he5
1185
    local he6 = Instance.new("Part")
1186
    he6.Name = "he6"
1187
    he6.BrickColor = BrickColor.new("Bright yellow")
1188
    propertieslol(he6)
1189
    he6.CFrame = mover.CFrame * CFrame.new(0, 27, -11) * CFrame.Angles(0, math.rad(-90), math.rad(-90))
1190
    he6.Transparency = 1
1191
    he6.Parent = mod
1192
    local m13 = Instance.new("SpecialMesh")
1193
    m13.MeshType = "Head"
1194
    m13.Parent = he6
1195
    local hdec6 = Instance.new("Decal")
1196
    hdec6.Texture = "rbxasset://textures/face.png"
1197
    hdec6.Face = "Front"
1198
    hdec6.Parent = he6
1199
    m0.Scale = Vector3.new(0, 0, 0)
1200
    m1.Scale = Vector3.new(0, 0, 0)
1201
    m2.Scale = Vector3.new(0, 0, 0)
1202
    m3.Scale = Vector3.new(0, 0, 0)
1203
    m4.Scale = Vector3.new(0, 0, 0)
1204
    m5.Scale = Vector3.new(0, 0, 0)
1205
    m6.Scale = Vector3.new(0, 0, 0)
1206
    m7.Scale = Vector3.new(0, 0, 0)
1207
    m8.Scale = Vector3.new(0, 0, 0)
1208
    m9.Scale = Vector3.new(0, 0, 0)
1209
    m10.Scale = Vector3.new(0, 0, 0)
1210
    m11.Scale = Vector3.new(0, 0, 0)
1211
    m12.Scale = Vector3.new(0, 0, 0)
1212
    m13.Scale = Vector3.new(0, 0, 0)
1213
    coroutine.resume(coroutine.create(function()
1214
      while mover do
1215
        swait()
1216
        handle.CFrame = handle.CFrame:lerp(mover.CFrame, 0.4)
1217
        h1.CFrame = h1.CFrame:lerp(mover.CFrame * CFrame.new(0, 3, 0), 0.4)
1218
        h2.CFrame = h2.CFrame:lerp(mover.CFrame * CFrame.new(0, -3, 0), 0.4)
1219
        he.CFrame = he.CFrame:lerp(mover.CFrame * CFrame.new(0, -4, 0), 0.4)
1220
        ht.CFrame = ht.CFrame:lerp(mover.CFrame * CFrame.new(0, -5.5, 0) * CFrame.Angles(math.rad(180), 0, 0), 0.4)
1221
        p1.CFrame = p1.CFrame:lerp(mover.CFrame * CFrame.new(0, 12, 0), 0.4)
1222
        p2.CFrame = p2.CFrame:lerp(mover.CFrame * CFrame.new(0, 14, 0) * CFrame.Angles(math.rad(180), 0, 0), 0.4)
1223
        he1.CFrame = he1.CFrame:lerp(mover.CFrame * CFrame.new(0, 27, 0) * CFrame.Angles(0, math.rad(90), 0), 0.4)
1224
        he2.CFrame = he2.CFrame:lerp(mover.CFrame * CFrame.new(0, 27, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
1225
        het1.CFrame = het1.CFrame:lerp(mover.CFrame * CFrame.new(0, 30, 0) * CFrame.Angles(0, math.rad(90), 0), 0.4)
1226
        he3.CFrame = he3.CFrame:lerp(mover.CFrame * CFrame.new(0, 27, 11) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4)
1227
        he4.CFrame = he4.CFrame:lerp(mover.CFrame * CFrame.new(0, 27, 11) * CFrame.Angles(0, math.rad(-90), math.rad(90)), 0.4)
1228
        he5.CFrame = he5.CFrame:lerp(mover.CFrame * CFrame.new(0, 27, -11) * CFrame.Angles(0, math.rad(90), math.rad(-90)), 0.4)
1229
        he6.CFrame = he6.CFrame:lerp(mover.CFrame * CFrame.new(0, 27, -11) * CFrame.Angles(0, math.rad(-90), math.rad(-90)), 0.4)
1230
      end
1231
    end))
1232
    local function expando(mesho, vectorz)
1233
      mesho.Scale = Vector3.new(0, 0, 0)
1234
      local sond = Instance.new("Sound")
1235
      sond.Volume = 1.2
1236
      sond.Pitch = 1
1237
      sond.EmitterSize = 10
1238
      sond.SoundId = "rbxassetid://315152748"
1239
      sond.Parent = mesho.Parent
1240
      sond:Play()
1241
      mana.Value = mana.Value - 3
1242
      for _ = 1, 5 do
1243
        swait()
1244
        mesho.Scale = mesho.Scale:lerp(vectorz + Vector3.new(6, 6, 6), 0.65)
1245
      end
1246
      for _ = 1, 3 do
1247
        swait()
1248
        mesho.Scale = mesho.Scale:lerp(vectorz, 0.65)
1249
      end
1250
      mesho.Scale = vectorz
1251
    end
1252
    expando(m0, Vector3.new(5, 30, 5))
1253
    expando(m1, Vector3.new(6, 5.5, 5.5))
1254
    expando(m2, Vector3.new(6, 5.5, 5.5))
1255
    expando(m3, Vector3.new(6.5, 6.5, 6.5))
1256
    expando(m4, Vector3.new(1.25, 1.25, 1.25))
1257
    expando(m5, Vector3.new(5, 90, 4))
1258
    expando(m6, Vector3.new(2, 20, 2))
1259
    expando(m7, Vector3.new(75, 75, 75))
1260
    expando(m8, Vector3.new(75, 75, 75))
1261
    expando(m9, Vector3.new(12, 11, 11))
1262
    expando(m10, Vector3.new(60, 60, 60))
1263
    expando(m11, Vector3.new(60, 60, 60))
1264
    expando(m12, Vector3.new(60, 60, 60))
1265
    expando(m13, Vector3.new(60, 60, 60))
1266
    wait(0.2)
1267
    movindamover = false
1268
    coroutine.resume(coroutine.create(function()
1269
      local sond = Instance.new("Sound")
1270
      sond.Volume = 2.5
1271
      sond.Pitch = 0.5
1272
      sond.SoundId = "rbxassetid://320557353"
1273
      sond.Parent = p2
1274
      sond:Play()
1275
    end))
1276
    for _ = 1, 60 do
1277
      swait()
1278
      mover.CFrame = mover.CFrame:lerp(rootpart.CFrame * CFrame.Angles(math.rad(70), math.rad(0), math.rad(0)) * CFrame.new(0, 16, 4), 0.1)
1279
      mciro.CFrame = mciro.CFrame:lerp(rootpart.CFrame * CFrame.new(0, -2.45, -35) * CFrame.Angles(math.rad(180), 0, 0), 0.6)
1280
    end
1281
    coroutine.resume(coroutine.create(function()
1282
      local sond = Instance.new("Sound")
1283
      sond.Volume = 5.5
1284
      sond.Pitch = 0.6
1285
      sond.SoundId = "rbxassetid://320557353"
1286
      sond.Parent = p2
1287
      sond:Play()
1288
    end))
1289
    for d = 1, 5 do
1290
      swait()
1291
      mover.CFrame = mover.CFrame:lerp(rootpart.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) * CFrame.new(0, 13, -5), 0.008 + d / 8)
1292
      mciro.CFrame = mciro.CFrame:lerp(rootpart.CFrame * CFrame.new(0, -2.45, -35) * CFrame.Angles(math.rad(180), 0, 0), 0.6)
1293
    end
1294
    for e = 1, 3 do
1295
      swait()
1296
      mover.CFrame = mover.CFrame:lerp(rootpart.CFrame * CFrame.Angles(math.rad(-110), math.rad(0), math.rad(0)) * CFrame.new(0, 6, 13), 0.7 + e / 9)
1297
      mciro.CFrame = mciro.CFrame:lerp(rootpart.CFrame * CFrame.new(0, -2.45, -35) * CFrame.Angles(math.rad(180), 0, 0), 0.6)
1298
    end
1299
    coroutine.resume(coroutine.create(function()
1300
      local sond = Instance.new("Sound")
1301
      sond.Volume = 5
1302
      sond.Pitch = 0.9
1303
      sond.SoundId = "rbxassetid://157878578"
1304
      sond.Parent = mciro
1305
      sond:Play()
1306
    end))
1307
    local ra = Ray.new(mciro.Position, mciro.CFrame.upVector * 3)
1308
    local part, positi = workspace:FindPartOnRayWithIgnoreList(ra, {chr}, false, true)
1309
    if part then
1310
      local cfremz = CFrame.new(positi)
1311
      debris(cfremz, part, 20)
1312
    end
1313
    mana.Value = mana.Value - 30
1314
    for m = 1, 18 do
1315
      makenoob(mciro.CFrame * CFrame.new(math.random(-15, 15), math.random(-32, -4), math.random(-15, 15)), Vector3.new(math.random(-100, 100), math.random(100, 200), math.random(-100, 100)), math.random(4, 16) / 10)
1316
    end
1317
    coroutine.resume(coroutine.create(function()
1318
      local pou1 = Instance.new("Part")
1319
      propertieslol(pou1)
1320
      pou1.BrickColor = BrickColor.new("Grey")
1321
      pou1.Transparency = 0.5
1322
      pou1.CFrame = mciro.CFrame * CFrame.new(0, -28, 0) * CFrame.Angles(math.rad(180), 0, 0)
1323
      pou1.Parent = mod
1324
      local mosh = Instance.new("SpecialMesh")
1325
      mosh.MeshType = "FileMesh"
1326
      mosh.MeshId = "rbxassetid://489415447"
1327
      mosh.Scale = Vector3.new(0.1, 0.1, 0.1)
1328
      mosh.Parent = pou1
1329
      local pou2 = Instance.new("Part")
1330
      propertieslol(pou2)
1331
      pou2.BrickColor = BrickColor.new("Grey")
1332
      pou2.Transparency = 0.5
1333
      pou2.CFrame = mciro.CFrame * CFrame.new(0, -23, 0) * CFrame.Angles(math.rad(180), 0, 0)
1334
      pou2.Parent = mod
1335
      local mosh2 = Instance.new("SpecialMesh")
1336
      mosh2.MeshType = "FileMesh"
1337
      mosh2.MeshId = "rbxassetid://489415447"
1338
      mosh2.Scale = Vector3.new(0.1, 0.1, 0.1)
1339
      mosh2.Parent = pou2
1340
      for x = 1, 4 do
1341
        wait()
1342
        pou1.CFrame = pou1.CFrame:lerp(pou1.CFrame * CFrame.Angles(0, math.rad(4), 0), 0.4)
1343
        mosh.Scale = mosh.Scale:lerp(mosh.Scale + Vector3.new(15, 100, 15), 0.4)
1344
        pou2.CFrame = pou2.CFrame:lerp(pou2.CFrame * CFrame.Angles(0, math.rad(-8), 0), 0.4)
1345
        mosh2.Scale = mosh2.Scale:lerp(mosh2.Scale + Vector3.new(25, 80, 25), 0.4)
1346
      end
1347
      for x = 1, 40 do
1348
        wait()
1349
        pou1.CFrame = pou1.CFrame:lerp(pou1.CFrame * CFrame.new(0, -0.5, 0) * CFrame.Angles(0, math.rad(4), 0), 0.4)
1350
        mosh.Scale = mosh.Scale:lerp(mosh.Scale + Vector3.new(2, -4, 2), 0.4)
1351
        pou2.CFrame = pou2.CFrame:lerp(pou2.CFrame * CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-8), 0), 0.4)
1352
        mosh2.Scale = mosh2.Scale:lerp(mosh2.Scale + Vector3.new(3, -6, 3), 0.4)
1353
      end
1354
      for x = 1, 19 do
1355
        wait()
1356
        pou1.CFrame = pou1.CFrame:lerp(pou1.CFrame * CFrame.new(0, -0.5, 0) * CFrame.Angles(0, math.rad(4), 0), 0.4)
1357
        mosh.Scale = mosh.Scale:lerp(mosh.Scale + Vector3.new(2, -4, 2), 0.4)
1358
        pou2.CFrame = pou2.CFrame:lerp(pou2.CFrame * CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-8), 0), 0.4)
1359
        mosh2.Scale = mosh2.Scale:lerp(mosh2.Scale + Vector3.new(3, -6, 3), 0.4)
1360
        pou1.Transparency = pou1.Transparency + 0.03
1361
        pou2.Transparency = pou2.Transparency + 0.03
1362
      end
1363
    end))
1364
    hito(mciro, 24, 40)
1365
    camshake(mciro, 48, 6)
1366
    wait(3)
1367
    for _, g in pairs(mod:GetChildren()) do
1368
      if g.ClassName == "Part" then
1369
        coroutine.resume(coroutine.create(function()
1370
          for _ = 1, 24 do
1371
            wait()
1372
            g.Transparency = g.Transparency + 0.06
1373
          end
1374
          g:Destroy()
1375
        end))
1376
        for _, d in ipairs(g:GetChildren()) do
1377
          if d.ClassName == "Decal" then
1378
            coroutine.resume(coroutine.create(function()
1379
              if d.Transparency ~= 1 then
1380
                for _ = 1, 24 do
1381
                  wait()
1382
                  d.Transparency = d.Transparency + 0.06
1383
                end
1384
              end
1385
            end))
1386
          end
1387
        end
1388
        delay(2, function()
1389
          coolindown = false
1390
        end)
1391
      end
1392
    end
1393
  end
1394
  function ZAWARUDO()
1395
    if selected == false then
1396
      return
1397
    end
1398
    if warudo == true then
1399
      return
1400
    end
1401
    if workspace:FindFirstChild("The Noob") then
1402
      return
1403
    end
1404
    warudo = true
1405
    waruding = true
1406
    local animo = human.Animator
1407
    animo.Parent = nil
1408
    chr.Animate.Disabled = true
1409
    local lmao = Instance.new("Sound")
1410
    lmao.EmitterSize = 150
1411
    lmao.Volume = 1.25
1412
    lmao.MaxDistance = 2700
1413
    lmao.SoundId = "rbxassetid://170620840"
1414
    lmao.Parent = rootpart
1415
    game.Debris:AddItem(lmao, 25)
1416
    lmao:Play()
1417
    chr.PrimaryPart = rootpart
1418
    wait(0.75)
1419
    rootpart.Anchored = true
1420
    for _ = 1, 40 do
1421
      wait(0.04)
1422
      chr:MoveTo(rootpart.Position + Vector3.new(0, 60, 0))
1423
      chr:SetPrimaryPartCFrame(rootpart.CFrame * CFrame.Angles(math.rad(0.2), math.rad(0), math.rad(0)))
1424
    end
1425
    for _ = 1, 12 do
1426
      wait(0.03)
1427
      chr:MoveTo(rootpart.Position + Vector3.new(0, 10, 0))
1428
      chr:SetPrimaryPartCFrame(rootpart.CFrame * CFrame.Angles(math.rad(0.2), math.rad(0), math.rad(0)))
1429
    end
1430
    for c = 1, 14 do
1431
      wait(0.01)
1432
      torso:FindFirstChild("Right Shoulder").C0 = torso:FindFirstChild("Right Shoulder").C0:lerp(RightShoulderC0 * CFrame.new(0, 0.6, 0) * CFrame.Angles(math.rad(10), math.rad(-20), math.rad(178)), 0.3)
1433
      torso:FindFirstChild("Left Shoulder").C0 = torso:FindFirstChild("Left Shoulder").C0:lerp(LeftShoulderC0 * CFrame.new(0, 0.6, 0) * CFrame.Angles(math.rad(10), math.rad(20), math.rad(-178)), 0.3)
1434
      torso:FindFirstChild("Neck").C0 = torso:FindFirstChild("Neck").C0:lerp(NeckC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
1435
      torso:FindFirstChild("Right Hip").C0 = torso:FindFirstChild("Right Hip").C0:lerp(RightHipC0 * CFrame.new(0, 0.15, 0) * CFrame.Angles(math.rad(-10), math.rad(-10), math.rad(0)), 0.3)
1436
      torso:FindFirstChild("Left Hip").C0 = torso:FindFirstChild("Left Hip").C0:lerp(LeftHipC0 * CFrame.new(0, 0.15, 0) * CFrame.Angles(math.rad(-10), math.rad(10), math.rad(0)), 0.3)
1437
    end
1438
    local trn = function(p)
1439
      for _ = 1, 6 do
1440
        wait()
1441
        p.Transparency = p.Transparency - 0.18
1442
      end
1443
    end
1444
    local function bignoob(cfrem, scalo)
1445
      nscale.Value = scalo
1446
      local md = Instance.new("Model")
1447
      md.Name = "The Noob"
1448
      md.Parent = workspace
1449
      local hu = Instance.new("Humanoid")
1450
      hu.MaxHealth = 0
1451
      hu.RigType = "R6"
1452
      hu.Name = "nothumanxd"
1453
      hu.Parent = md
1454
      local anm = Instance.new("Animator")
1455
      anm.Parent = hu
1456
      hu.PlatformStand = true
1457
      local hd = Instance.new("Part")
1458
      hd.Name = "Head"
1459
      hd.Size = Vector3.new(2 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value)
1460
      hd.TopSurface = "Smooth"
1461
      hd.BottomSurface = "Inlet"
1462
      hd.Locked = true
1463
      hd.Transparency = 1
1464
      hd.BrickColor = BrickColor.new("Bright yellow")
1465
      hd.CanCollide = false
1466
      hd.Parent = md
1467
      local hm = Instance.new("SpecialMesh")
1468
      hm.MeshType = "Head"
1469
      hm.Scale = Vector3.new(1.25, 1.25, 1.25)
1470
      hm.Parent = hd
1471
      local hf = Instance.new("Decal")
1472
      hf.Texture = "rbxasset://textures/face.png"
1473
      local gen = math.random(1, 40)
1474
      if gen == 3 then
1475
        hf.Texture = "rbxassetid://260884109"
1476
      end
1477
      if gen == 8 then
1478
        hf.Texture = "rbxassetid://260569492"
1479
      end
1480
      if gen == 12 then
1481
        hf.Texture = "rbxassetid://259580505"
1482
      end
1483
      if gen == 16 then
1484
        hf.Texture = "rbxassetid://259579232"
1485
      end
1486
      if gen == 24 then
1487
        hf.Texture = "rbxassetid://259571525"
1488
      end
1489
      if gen == 28 then
1490
        hf.Texture = "rbxassetid://258283210"
1491
      end
1492
      if gen == 32 then
1493
        hf.Texture = "rbxassetid://258940032"
1494
      end
1495
      if gen == 38 then
1496
        hf.Texture = "rbxassetid://673220970"
1497
        hf.Color3 = Color3.new(0, 0, 0)
1498
      end
1499
      hf.Face = "Front"
1500
      hf.Parent = hd
1501
      local hrp = Instance.new("Part")
1502
      hrp.Name = "HumanoidRootPart"
1503
      hrp.TopSurface, hrp.BottomSurface = 0, 0
1504
      hrp.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
1505
      hrp.Transparency = 1
1506
      hrp.CanCollide = false
1507
      hrp.Anchored = true
1508
      hrp.Locked = true
1509
      hrp.Parent = md
1510
      local learm = Instance.new("Part")
1511
      learm.Name = "Left Arm"
1512
      learm.BrickColor = BrickColor.new("Bright yellow")
1513
      learm.CanCollide = false
1514
      learm.Transparency = 1
1515
      learm.Locked = true
1516
      learm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
1517
      learm.Parent = md
1518
      local riarm = Instance.new("Part")
1519
      riarm.Name = "Right Arm"
1520
      riarm.BrickColor = BrickColor.new("Bright yellow")
1521
      riarm.CanCollide = false
1522
      riarm.Transparency = 1
1523
      riarm.Locked = true
1524
      riarm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
1525
      riarm.Parent = md
1526
      local leleg = Instance.new("Part")
1527
      leleg.Name = "Left Leg"
1528
      leleg.BrickColor = BrickColor.new("Br. yellowish green")
1529
      leleg.CanCollide = false
1530
      leleg.Transparency = 1
1531
      leleg.Locked = true
1532
      leleg.BottomSurface = 0
1533
      leleg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
1534
      leleg.Parent = md
1535
      local rileg = Instance.new("Part")
1536
      rileg.Name = "Right Leg"
1537
      rileg.BrickColor = BrickColor.new("Br. yellowish green")
1538
      rileg.CanCollide = false
1539
      rileg.Locked = true
1540
      rileg.Transparency = 1
1541
      rileg.BottomSurface = 0
1542
      rileg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
1543
      rileg.Parent = md
1544
      local tor = Instance.new("Part")
1545
      tor.Name = "Torso"
1546
      tor.BrickColor = BrickColor.new("Bright blue")
1547
      tor.Locked = true
1548
      tor.Anchored = true
1549
      tor.CanCollide = false
1550
      tor.Transparency = 1
1551
      tor.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
1552
      tor.LeftSurface, tor.RightSurface = "Weld", "Weld"
1553
      tor.Parent = md
1554
      md.PrimaryPart = hrp
1555
      md:SetPrimaryPartCFrame(cfrem)
1556
      md:makeJoints()
1557
      makejoint(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder")
1558
      makejoint(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder")
1559
      makejoint(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip")
1560
      makejoint(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip")
1561
      makejoint(hrp, RootJointC0, RootJointC1, hrp, tor, "RootJoint")
1562
      makejoint(tor, NeckC0, NeckC1, tor, hd, "Neck")
1563
      tor:FindFirstChild("Right Shoulder").C0 = tor:FindFirstChild("Right Shoulder").C0 * CFrame.new(7, 22, -11) * CFrame.Angles(math.rad(6), 0, 0)
1564
      tor:FindFirstChild("Left Shoulder").C0 = tor:FindFirstChild("Left Shoulder").C0 * CFrame.new(-7, 22, -11) * CFrame.Angles(math.rad(6), 0, 0)
1565
      tor:FindFirstChild("Right Hip").C0 = tor:FindFirstChild("Right Hip").C0 * CFrame.new(7, 19, 7.5) * CFrame.Angles(math.rad(10), 0, 0)
1566
      tor:FindFirstChild("Left Hip").C0 = tor:FindFirstChild("Left Hip").C0 * CFrame.new(-7, 19, 7.5) * CFrame.Angles(math.rad(10), 0, 0)
1567
      tor:FindFirstChild("Neck").C0 = tor:FindFirstChild("Neck").C0 * CFrame.new(0, 1, 3) * CFrame.Angles(math.rad(-90), 0, 0)
1568
      trn(tor)
1569
      trn(hd)
1570
      trn(learm)
1571
      trn(riarm)
1572
      trn(leleg)
1573
      trn(rileg)
1574
      nscale.Value = 1
1575
    end
1576
    local yehboi = true
1577
    bignoob(rootpart.CFrame * CFrame.new(0, 10, 0) * CFrame.Angles(math.rad(90), 0, 0), 15)
1578
    coroutine.resume(coroutine.create(function()
1579
      while workspace:FindFirstChild("The Noob") and yehboi == true do
1580
        swait()
1581
        workspace:FindFirstChild("The Noob"):SetPrimaryPartCFrame(rootpart.CFrame * CFrame.new(0, 9, 0) * CFrame.Angles(math.rad(90), 0, 0))
1582
      end
1583
    end))
1584
    local function bam(cframe, intens, nu)
1585
      local pou1 = Instance.new("Part")
1586
      pou1.BrickColor = BrickColor.new("Grey")
1587
      pou1.Transparency = 0.1
1588
      pou1.CFrame = cframe
1589
      pou1.Parent = mod
1590
      local mosh = Instance.new("SpecialMesh")
1591
      mosh.MeshType = "FileMesh"
1592
      mosh.MeshId = "rbxassetid://489415447"
1593
      mosh.Scale = Vector3.new(1, 1, 1)
1594
      mosh.Parent = pou1
1595
      coroutine.resume(coroutine.create(function()
1596
        for _ = 1, nu do
1597
          swait()
1598
          mosh.Scale = mosh.Scale + Vector3.new(3 * intens, 3 * intens, 3 * intens)
1599
          pou1.Transparency = pou1.Transparency + 0.9 / nu
1600
        end
1601
        pou1:Destroy()
1602
      end))
1603
    end
1604
    wait(1)
1605
    for _ = 1, 50 do
1606
      wait(0.025)
1607
      chr:MoveTo(rootpart.Position + Vector3.new(0, -9.5, 0))
1608
      chr:SetPrimaryPartCFrame(rootpart.CFrame * CFrame.Angles(math.rad(-3.8), math.rad(0), math.rad(0)))
1609
    end
1610
    for _ = 1, 30 do
1611
      wait()
1612
      chr:MoveTo(rootpart.Position + Vector3.new(0, -79.1, 0))
1613
    end
1614
    local ry = Ray.new(rootpart.Position + Vector3.new(0, -6, 0), rootpart.CFrame.upVector * 150)
1615
    local part, poso = workspace:FindPartOnRayWithIgnoreList(ry, {chr}, false, false)
1616
    if part then
1617
      debris(CFrame.new(poso), part, 25)
1618
    end
1619
    chr:MoveTo(poso + Vector3.new(0, 15, 0))
1620
    yehboi = false
1621
    coroutine.resume(coroutine.create(function()
1622
      local sond = Instance.new("Sound")
1623
      sond.Volume = 3
1624
      sond.Pitch = 0.5
1625
      sond.MaxDistance = 300
1626
      sond.SoundId = "rbxassetid://157878578"
1627
      sond.Parent = workspace:FindFirstChild("The Noob").Torso
1628
      sond:Play()
1629
    end))
1630
    stun(workspace:FindFirstChild("The Noob").Torso, 26, 7)
1631
    hito(workspace:FindFirstChild("The Noob").Torso, 26, 15)
1632
    bam(workspace:FindFirstChild("The Noob").Torso.CFrame * CFrame.new(0, -5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 16, 32)
1633
    for _ = 1, 10 do
1634
      wait()
1635
      chr:SetPrimaryPartCFrame(rootpart.CFrame * CFrame.Angles(math.rad(7), math.rad(0), math.rad(0)))
1636
    end
1637
    for _ = 1, 8 do
1638
      wait()
1639
      chr:SetPrimaryPartCFrame(rootpart.CFrame * CFrame.Angles(math.rad(4.5), math.rad(2), math.rad(0)))
1640
      torso:FindFirstChild("Right Shoulder").C0 = torso:FindFirstChild("Right Shoulder").C0:lerp(RightShoulderC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(10), math.rad(80)), 0.4)
1641
      torso:FindFirstChild("Left Shoulder").C0 = torso:FindFirstChild("Left Shoulder").C0:lerp(LeftShoulderC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(-10), math.rad(80)), 0.4)
1642
    end
1643
    local br = Instance.new("Part")
1644
    br.Anchored = true
1645
    br.CFrame = workspace:FindFirstChild("The Noob").Torso.CFrame
1646
    br.Transparency = 1
1647
    br.CanCollide = false
1648
    br.Parent = workspace
1649
    game.Debris:AddItem(br, 30)
1650
    local hrz = Instance.new("Part")
1651
    hrz.Anchored = true
1652
    hrz.CFrame = rootpart.CFrame
1653
    hrz.Transparency = 1
1654
    hrz.CanCollide = false
1655
    hrz.Parent = workspace
1656
    game.Debris:AddItem(hrz, 30)
1657
    wait(0.4)
1658
    coroutine.resume(coroutine.create(function()
1659
      local f = true
1660
      for n = 1, 70 do
1661
        wait()
1662
        workspace:FindFirstChild("The Noob"):SetPrimaryPartCFrame(br.CFrame * CFrame.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1)))
1663
        if f == true then
1664
          chr:SetPrimaryPartCFrame(hrz.CFrame * CFrame.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 0)) * CFrame.Angles(math.rad(0), math.rad(-32), math.rad(0)))
1665
          torso:FindFirstChild("Neck").C0 = torso:FindFirstChild("Neck").C0:lerp(NeckC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(21)), 0.9)
1666
          f = false
1667
        elseif f == false then
1668
          chr:SetPrimaryPartCFrame(hrz.CFrame * CFrame.new(math.random(-1, 1), math.random(-1, 1), math.random(-1, 0)) * CFrame.Angles(math.rad(0), math.rad(32), math.rad(0)))
1669
          torso:FindFirstChild("Neck").C0 = torso:FindFirstChild("Neck").C0:lerp(NeckC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-5), math.rad(-21)), 0.9)
1670
          f = true
1671
        end
1672
      end
1673
    end))
1674
    for _ = 1, 18 do
1675
      wait(0.06)
1676
      torso:FindFirstChild("Right Shoulder").C0 = torso:FindFirstChild("Right Shoulder").C0:lerp(RightShoulderC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(math.random(-16, -5)), math.rad(math.random(5, 16)), math.rad(math.random(-82, -68))), 1)
1677
      torso:FindFirstChild("Left Shoulder").C0 = torso:FindFirstChild("Left Shoulder").C0:lerp(LeftShoulderC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(math.random(-16, -5)), math.rad(math.random(-16, -5)), math.rad(math.random(-117, -100))), 1)
1678
      makenoob(rootpart.CFrame * CFrame.new(math.random(-3, 3), math.random(-2, 2), math.random(-5, -3)), rootpart.CFrame.lookVector * math.random(-200, -80), 1)
1679
      bam(larm.CFrame, 1, 9)
1680
      coroutine.resume(coroutine.create(function()
1681
        local sond = Instance.new("Sound")
1682
        sond.Volume = 0.7
1683
        sond.PlaybackSpeed = math.random(19, 26) / 10
1684
        sond.SoundId = "rbxassetid://157878578"
1685
        sond.MaxDistance = 150
1686
        sond.Parent = workspace:FindFirstChild("The Noob").Torso
1687
        sond:Play()
1688
      end))
1689
      wait(0.06)
1690
      torso:FindFirstChild("Right Shoulder").C0 = torso:FindFirstChild("Right Shoulder").C0:lerp(RightShoulderC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(math.random(-16, -5)), math.rad(math.random(5, 16)), math.rad(math.random(100, 117))), 1)
1691
      torso:FindFirstChild("Left Shoulder").C0 = torso:FindFirstChild("Left Shoulder").C0:lerp(LeftShoulderC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(math.random(-16, -5)), math.rad(math.random(-16, -5)), math.rad(math.random(68, 82))), 1)
1692
      makenoob(rootpart.CFrame * CFrame.new(math.random(-3, 3), math.random(-2, 2), math.random(-5, -3)), rootpart.CFrame.lookVector * math.random(-200, -80), 1)
1693
      hito(workspace:FindFirstChild("The Noob").Torso, 18, 5)
1694
      if part then
1695
        debris(CFrame.new(poso), part, 1)
1696
      end
1697
      bam(rarm.CFrame, 1, 9)
1698
    end
1699
    wait(0.6)
1700
    for _ = 1, 15 do
1701
      wait(0.02)
1702
      chr:SetPrimaryPartCFrame(rootpart.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(2), math.rad(0)))
1703
    end
1704
    for _ = 1, 8 do
1705
      swait()
1706
      torso:FindFirstChild("Right Shoulder").C0 = torso:FindFirstChild("Right Shoulder").C0:lerp(RightShoulderC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(math.random(-16, -5)), math.rad(math.random(5, 16)), math.rad(math.random(-82, -68))), 1)
1707
      torso:FindFirstChild("Left Shoulder").C0 = torso:FindFirstChild("Left Shoulder").C0:lerp(LeftShoulderC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(math.random(-16, -5)), math.rad(math.random(50, 51)), math.rad(math.random(-91, -89))), 1)
1708
      torso:FindFirstChild("Neck").C0 = torso:FindFirstChild("Neck").C0:lerp(NeckC0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(61)), 0.9)
1709
      chr:SetPrimaryPartCFrame(rootpart.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-18), math.rad(0)))
1710
    end
1711
    coroutine.resume(coroutine.create(function()
1712
      local sond = Instance.new("Sound")
1713
      sond.Volume = 3
1714
      sond.PlaybackSpeed = math.random(6, 8) / 10
1715
      sond.SoundId = "rbxassetid://157878578"
1716
      sond.MaxDistance = 200
1717
      sond.Parent = workspace:FindFirstChild("The Noob").Torso
1718
      sond:Play()
1719
    end))
1720
    bam(larm.CFrame, 6, 24)
1721
    hito(workspace:FindFirstChild("The Noob").Torso, 32, 20)
1722
    wait(0.6)
1723
    for _, d in pairs(torso:GetChildren()) do
1724
      if d.ClassName == "Motor6D" then
1725
        d:Destroy()
1726
      end
1727
    end
1728
    makejoint(torso, NeckC0, NeckC1, torso, chr.Head, "Neck")
1729
    makejoint(torso, LeftShoulderC0, LeftShoulderC1, torso, larm, "Left Shoulder")
1730
    makejoint(torso, RightShoulderC0, RightShoulderC1, torso, rarm, "Right Shoulder")
1731
    makejoint(torso, LeftHipC0, LeftHipC1, torso, lleg, "Left Hip")
1732
    makejoint(torso, RightHipC0, RightHipC1, torso, rleg, "Right Hip")
1733
    chr:SetPrimaryPartCFrame(workspace:FindFirstChild("The Noob").Torso.CFrame * CFrame.new(0, 0, 8))
1734
    chr:SetPrimaryPartCFrame(rootpart.CFrame * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)))
1735
    for _ = 1, 40 do
1736
      swait()
1737
      chr:MoveTo(rootpart.CFrame.p + Vector3.new(0, 2, -3))
1738
      chr:SetPrimaryPartCFrame(rootpart.CFrame * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)))
1739
    end
1740
    rootpart.Anchored = false
1741
    animo.Parent = human
1742
    chr.Animate.Disabled = false
1743
    hito(workspace:FindFirstChild("The Noob").Torso, 36, 40)
1744
    for _, parz in pairs(workspace:FindFirstChild("The Noob"):GetChildren()) do
1745
      if parz.ClassName == "Part" then
1746
        for _, g in pairs(parz:GetChildren()) do
1747
          if g.ClassName == "Motor6D" then
1748
            g:Destroy()
1749
          end
1750
        end
1751
        if parz.Name == "HumanoidRootPart" then
1752
          parz:Destroy()
1753
        end
1754
        if workspace:FindFirstChild("The Noob"):FindFirstChild("Humanoid") then
1755
          workspace:FindFirstChild("The Noob"):FindFirstChild("Humanoid"):Destroy()
1756
        end
1757
        parz.Anchored = false
1758
        parz.CanCollide = false
1759
        do
1760
          local bodyp = Instance.new("BodyVelocity")
1761
          bodyp.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
1762
          bodyp.Velocity = Vector3.new(math.random(-200, 200), math.random(150, 300), math.random(-200, 200))
1763
          bodyp.P = 500
1764
          bodyp.Parent = parz
1765
          parz.RotVelocity = Vector3.new(math.random(-700, 700), math.random(-700, 700), math.random(-700, 700))
1766
          delay(0.02, function()
1767
            bodyp:Destroy()
1768
            wait(2)
1769
            parz.CanCollide = true
1770
          end)
1771
          game.Debris:AddItem(parz, 10)
1772
        end
1773
      end
1774
    end
1775
    coroutine.resume(coroutine.create(function()
1776
      local ex = Instance.new("Explosion")
1777
      ex.BlastRadius = 40
1778
      ex.DestroyJointRadiusPercent = 0.2
1779
      ex.BlastPressure = 120
1780
      ex.ExplosionType = 2
1781
      ex.Position = workspace:FindFirstChild("The Noob").Torso.Position
1782
      ex.Visible = true
1783
      ex.Parent = workspace
1784
      wait(12)
1785
      if workspace:FindFirstChild("The Noob") then
1786
        workspace:FindFirstChild("The Noob"):Destroy()
1787
      end
1788
      wait(0.5)
1789
      warudo = false
1790
    end))
1791
    waruding = false
1792
  end
1793
  function makenoob(cfrem, velocity, scalo)
1794
    nscale.Value = scalo
1795
    local md = Instance.new("Model")
1796
    md.Name = "Noob"
1797
    md.Parent = workspace
1798
    local hu = Instance.new("Humanoid")
1799
    hu.RigType = "R6"
1800
    hu.Parent = md
1801
    local anm = Instance.new("Animator")
1802
    anm.Parent = hu
1803
    hu.PlatformStand = true
1804
    local light = function(part)
1805
      part.CustomPhysicalProperties = PhysicalProperties.new(0.35, 0.3, 0.5)
1806
    end
1807
    local hd = Instance.new("Part")
1808
    hd.Name = "Head"
1809
    hd.Size = Vector3.new(2 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value)
1810
    hd.TopSurface = "Smooth"
1811
    hd.BottomSurface = "Inlet"
1812
    hd.Locked = true
1813
    hd.BrickColor = BrickColor.new("Bright yellow")
1814
    hd.CanCollide = true
1815
    hd.Anchored = false
1816
    light(hd)
1817
    hd.Parent = md
1818
    local hm = Instance.new("SpecialMesh")
1819
    hm.MeshType = "Head"
1820
    hm.Scale = Vector3.new(1.25, 1.25, 1.25)
1821
    hm.Parent = hd
1822
    local hf = Instance.new("Decal")
1823
    hf.Texture = "rbxasset://textures/face.png"
1824
    local gen = math.random(1, 40)
1825
    if gen == 3 then
1826
      hf.Texture = "rbxassetid://260884109"
1827
    end
1828
    if gen == 8 then
1829
      hf.Texture = "rbxassetid://260569492"
1830
    end
1831
    if gen == 12 then
1832
      hf.Texture = "rbxassetid://259580505"
1833
    end
1834
    if gen == 16 then
1835
      hf.Texture = "rbxassetid://259579232"
1836
    end
1837
    if gen == 24 then
1838
      hf.Texture = "rbxassetid://259571525"
1839
    end
1840
    if gen == 28 then
1841
      hf.Texture = "rbxassetid://258283210"
1842
    end
1843
    if gen == 32 then
1844
      hf.Texture = "rbxassetid://258940032"
1845
    end
1846
    if gen == 38 then
1847
      hf.Texture = "rbxassetid://673220970"
1848
      hf.Color3 = Color3.new(0, 0, 0)
1849
    end
1850
    hf.Face = "Front"
1851
    hf.Parent = hd
1852
    local hrp = Instance.new("Part")
1853
    hrp.Name = "HumanoidRootPart"
1854
    hrp.TopSurface, hrp.BottomSurface = 0, 0
1855
    hrp.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
1856
    hrp.Transparency = 1
1857
    hrp.CanCollide = false
1858
    hrp.Locked = true
1859
    light(hrp)
1860
    hrp.Parent = md
1861
    local learm = Instance.new("Part")
1862
    learm.Name = "Left Arm"
1863
    learm.BrickColor = BrickColor.new("Bright yellow")
1864
    learm.CanCollide = false
1865
    learm.Locked = true
1866
    learm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
1867
    light(learm)
1868
    learm.Parent = md
1869
    local riarm = Instance.new("Part")
1870
    riarm.Name = "Right Arm"
1871
    riarm.BrickColor = BrickColor.new("Bright yellow")
1872
    riarm.CanCollide = false
1873
    riarm.Locked = true
1874
    light(riarm)
1875
    riarm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
1876
    riarm.Parent = md
1877
    local leleg = Instance.new("Part")
1878
    leleg.Name = "Left Leg"
1879
    leleg.BrickColor = BrickColor.new("Br. yellowish green")
1880
    leleg.CanCollide = false
1881
    leleg.Locked = true
1882
    light(leleg)
1883
    leleg.BottomSurface = 0
1884
    leleg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
1885
    leleg.Parent = md
1886
    local rileg = Instance.new("Part")
1887
    rileg.Name = "Right Leg"
1888
    rileg.BrickColor = BrickColor.new("Br. yellowish green")
1889
    rileg.CanCollide = false
1890
    rileg.Locked = true
1891
    light(rileg)
1892
    rileg.BottomSurface = 0
1893
    rileg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
1894
    rileg.Parent = md
1895
    local tor = Instance.new("Part")
1896
    tor.Name = "Torso"
1897
    tor.BrickColor = BrickColor.new("Bright blue")
1898
    tor.Locked = true
1899
    light(tor)
1900
    tor.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
1901
    tor.LeftSurface, tor.RightSurface = "Weld", "Weld"
1902
    tor.Parent = md
1903
    md.PrimaryPart = hrp
1904
    md:SetPrimaryPartCFrame(cfrem * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)))
1905
    md:makeJoints()
1906
    makegloo(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder")
1907
    makegloo(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder")
1908
    makegloo(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip")
1909
    makegloo(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip")
1910
    makejoint(hrp, RootJointC0, RootJointC1, hrp, tor, "RootJoint")
1911
    makejoint(tor, NeckC0, NeckC1, tor, hd, "Neck")
1912
    maketouchy(riarm, riarm, CFrame.new(0, 0.5 * nscale.Value, 0))
1913
    maketouchy(learm, learm, CFrame.new(0, 0.5 * nscale.Value, 0))
1914
    maketouchy(leleg, leleg, CFrame.new(0, 0.5 * nscale.Value, 0))
1915
    maketouchy(rileg, rileg, CFrame.new(0, 0.5 * nscale.Value, 0))
1916
    local d = math.random(0, 12)
1917
    if d == 5 then
1918
      local sun = Instance.new("Sound")
1919
      sun.SoundId = "rbxassetid://167285348"
1920
      sun.Pitch = math.random(9, 10) / 10
1921
      sun.Volume = 3
1922
      sun.Parent = hrp
1923
      sun:Play()
1924
    elseif d == 6 then
1925
      local sun = Instance.new("Sound")
1926
      sun.SoundId = "rbxassetid://604650009"
1927
      sun.Pitch = math.random(7, 13) / 10
1928
      sun.Volume = 3
1929
      sun.Parent = hrp
1930
      sun:Play()
1931
    end
1932
    local bodyp = Instance.new("BodyVelocity")
1933
    bodyp.MaxForce = Vector3.new(90000, 90000, 90000)
1934
    bodyp.Velocity = velocity
1935
    bodyp.P = 5000
1936
    bodyp.Parent = hrp
1937
    delay(0.06, function()
1938
      bodyp:Destroy()
1939
    end)
1940
    nscale.Value = 1
1941
  end
1942
  function hito(partoz, magn, dmg)
1943
    for _, guy in pairs(workspace:GetChildren()) do
1944
      if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Torso") and guy ~= chr and magn > (guy:FindFirstChild("Torso").Position - partoz.Position).magnitude then
1945
        local humz = guy:FindFirstChild("Humanoid")
1946
        local torse = guy:FindFirstChild("Torso")
1947
        humz:TakeDamage(dmg)
1948
      end
1949
    end
1950
  end
1951
  function stun(partoz, magn, time)
1952
    for _, guy in pairs(workspace:GetChildren()) do
1953
      if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Torso") and guy ~= chr and magn > (guy:FindFirstChild("Torso").Position - partoz.Position).magnitude then
1954
        do
1955
          local humz = guy:FindFirstChild("Humanoid")
1956
          local torse = guy:FindFirstChild("Torso")
1957
          guy.PrimaryPart = torse
1958
          torse.Anchored = true
1959
          if guy:FindFirstChild("HumanoidRootPart") then
1960
            guy:FindFirstChild("HumanoidRootPart").Anchored = true
1961
            delay(time, function()
1962
              if guy:FindFirstChild("HumanoidRootPart") then
1963
                guy:FindFirstChild("HumanoidRootPart").Anchored = false
1964
              end
1965
            end)
1966
          end
1967
          guy:SetPrimaryPartCFrame(torse.CFrame * CFrame.Angles(math.rad(0), 0, 0))
1968
          delay(time, function()
1969
            if torse then
1970
              torse.Anchored = false
1971
            end
1972
          end)
1973
        end
1974
      end
1975
    end
1976
  end
1977
  function debris(cfremz, thepart, amt)
1978
    for j = 1, amt do
1979
      do
1980
        local pr = Instance.new("Part")
1981
        nooutline(pr)
1982
        pr.Name = "debrisobeb"
1983
        pr.Anchored = true
1984
        pr.BrickColor = thepart.BrickColor
1985
        pr.CanCollide = true
1986
        pr.Material = thepart.Material
1987
        pr.Transparency = thepart.Transparency
1988
        pr.Size = Vector3.new(math.random(16, 24), math.random(12, 16), math.random(16, 24))
1989
        pr.CFrame = cfremz * CFrame.Angles(0, math.rad(amt * j), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
1990
        pr.Parent = workspace
1991
        game.Debris:AddItem(pr, 25)
1992
        delay(15, function()
1993
          if pr then
1994
            pr.CanCollide = false
1995
            pr.Anchored = false
1996
          end
1997
        end)
1998
      end
1999
    end
2000
    for c = 1, amt do
2001
      do
2002
        local pr2 = Instance.new("Part")
2003
        nooutline(pr2)
2004
        pr2.Name = "moredebr"
2005
        pr2.Anchored = false
2006
        pr2.BrickColor = thepart.BrickColor
2007
        pr2.CanCollide = false
2008
        pr2.Material = thepart.Material
2009
        pr2.Transparency = thepart.Transparency
2010
        pr2.Size = Vector3.new(math.random(8, 18), math.random(6, 18), math.random(8, 18))
2011
        pr2.CFrame = cfremz * CFrame.Angles(0, math.rad(30 * c), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
2012
        pr2.Parent = workspace
2013
        pr2.Velocity = Vector3.new(math.random(-75, 75), math.random(120, 240), math.random(-75, 75))
2014
        pr2.RotVelocity = Vector3.new(math.random(-35, 35), math.random(-35, 35), math.random(-35, 35))
2015
        game.Debris:AddItem(pr2, 45)
2016
        delay(2, function()
2017
          pr2.CanCollide = true
2018
          wait(10)
2019
          if pr2 then
2020
            pr2.CanCollide = false
2021
          end
2022
        end)
2023
      end
2024
    end
2025
  end
2026
  function camshake(partoz, magn, intens)
2027
    if togglecamshake == true then
2028
      return
2029
    end
2030
    for _, guy in pairs(workspace:GetChildren()) do
2031
      if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Torso") and guy.Name ~= "Noob" and magn > (guy:FindFirstChild("Torso").Position - partoz.Position).magnitude then
2032
        coroutine.resume(coroutine.create(function()
2033
          local humz = guy:FindFirstChild("Humanoid")
2034
          local torse = guy:FindFirstChild("Torso")
2035
          for _ = 1, 5 * intens do
2036
            wait()
2037
            humz.CameraOffset = Vector3.new(2 * math.random(-intens, intens), 0.5 * math.random(-intens, intens), 2 * math.random(-intens, intens))
2038
          end
2039
          humz.CameraOffset = Vector3.new(0, 0, 0)
2040
        end))
2041
      end
2042
    end
2043
  end
2044
  function cleannoobs()
2045
    for _, nib in pairs(workspace:GetChildren()) do
2046
      coroutine.resume(coroutine.create(function()
2047
        if nib.Name == "Noob" then
2048
          if nib:FindFirstChild("HumanoidRootPart") then
2049
            wait(0.06)
2050
            do
2051
              local g = Instance.new("Part")
2052
              g.CanCollide, g.Anchored = false, true
2053
              g.Transparency = 1
2054
              g.CFrame = nib:FindFirstChild("HumanoidRootPart").CFrame
2055
              g.Parent = workspace
2056
              game.Debris:AddItem(g, 4)
2057
              local sou = Instance.new("Sound")
2058
              sou.Pitch = math.random(7, 11) / 10
2059
              sou.Volume = 0.9
2060
              sou.SoundId = "rbxassetid://111124523"
2061
              sou.Parent = g
2062
              sou:Play()
2063
              local pe = Instance.new("ParticleEmitter")
2064
              pe.Acceleration = Vector3.new(0, 8, 0)
2065
              pe.Lifetime = NumberRange.new(1, 1.5)
2066
              pe.Rate = 20000
2067
              pe.RotSpeed = NumberRange.new(-30, 30)
2068
              pe.Rotation = NumberRange.new(0, 360)
2069
              pe.Size = NumberSequence.new({
2070
                NumberSequenceKeypoint.new(0, 4.38, 0),
2071
                NumberSequenceKeypoint.new(0.672, 4.14, 0),
2072
                NumberSequenceKeypoint.new(1, 1.48, 0)
2073
              })
2074
              pe.Texture = "rbxassetid://244221440"
2075
              pe.Transparency = NumberSequence.new({
2076
                NumberSequenceKeypoint.new(0, 0, 0),
2077
                NumberSequenceKeypoint.new(0.529, 0.3, 0),
2078
                NumberSequenceKeypoint.new(1, 1, 1)
2079
              })
2080
              pe.ZOffset = 5
2081
              pe.VelocitySpread = 360
2082
              pe.Parent = g
2083
              delay(0.04, function()
2084
                pe.Enabled = false
2085
              end)
2086
            end
2087
          end
2088
          nib:Destroy()
2089
        end
2090
      end))
2091
    end
2092
  end
2093
  tool.Activated:connect(function()
2094
    movinit()
2095
  end)
2096
  mouse.KeyDown:connect(function(key)
2097
    if key == "r" then
2098
      test()
2099
    end
2100
    if key == "q" then
2101
      shoom()
2102
    end
2103
    if key == "f" then
2104
      pow()
2105
    end
2106
    if key == "t" then
2107
      transpo()
2108
    end
2109
    if key == "c" then
2110
      cleannoobs()
2111
    end
2112
    if key == "m" and plr.Name == "ShedlestkyStar" or key == "m" and plr.Name == "ShedlestkyStar" or key == "m" and plr.Name == "TheGunner2006" then
2113
      ShedlestkyStar()
2114
    end
2115
    if key == "k" then
2116
      if togglecamshake == false then
2117
        togglecamshake = true
2118
      elseif togglecamshake == true then
2119
        togglecamshake = false
2120
      end
2121
    end
2122
  end)
2123
  tool.Equipped:connect(function()
2124
    selected = true
2125
  end)
2126
  tool.Unequipped:connect(function()
2127
    selected = false
2128
  end)