View difference between Paste ID: xRwADxqW and vBPvf6Wc
SHOW: | | - or go back to the newest paste.
1
--//====================================================\\--
2
--||               CREATED BY SHACKLUSTER
3
--\\====================================================//--
4
 
5
--
6
local textblin = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
7
textblin.Adornee = cykablyat
8
textblin.Name = "ky"
9
textblin.Size = UDim2.new(2, 0, 1.2, 0)
10
textblin.StudsOffset = Vector3.new(-5, 3, 0)
11
local textblin= Instance.new("TextLabel", textblin)
12
textblin.Size = UDim2.new(6, 0, 1, 0)
13
textblin.FontSize = "Size14"
14
textblin.TextScaled = true
15
textblin.TextTransparency = 0
16
textblin.BackgroundTransparency = 1
17
textblin.TextTransparency = 0
18
textblin.TextStrokeTransparency = 0
19
textblin.Font = "Cartoon"
20
textblin.TextStrokeColor3 = Color3.new(255,255,255)
21
textblin.Text = "Thanos"
22
--
23
p = game.Players.LocalPlayer
24
char = p.Character
25
torso = char.Torso
26
hed = char.Head
27
neck = char.Torso.Neck
28
hum = char.Humanoid
29
hum.MaxHealth = math.huge
30
local msg = game:GetService("Chat")
31
torso.BrickColor = BrickColor.new("Bright purple")
32
hed.BrickColor = BrickColor.new("Bright purple")
33
char["Right Arm"].BrickColor = BrickColor.new("Bright purple")
34
char["Left Arm"].BrickColor = BrickColor.new("Bright purple")
35
char["Left Leg"].BrickColor = BrickColor.new("Bright purple")
36
char["Right Leg"].BrickColor = BrickColor.new("Bright purple")
37
ypcall(function()
38
shirt = Instance.new("Shirt", char)
39
shirt.Name = "Shirt"
40
pants = Instance.new("Pants", char)
41
pants.Name = "Pants"
42
char.Shirt.ShirtTemplate = "rbxassetid://1539852026"
43
char.Pants.PantsTemplate = "rbxassetid://1539857183"
44
end)
45
hed.face.Texture = "http://www.roblox.com/asset/?id=405704563"
46
--
47
local Player = game:GetService('Players').LocalPlayer
48
repeat wait() until Player.Character
49
local Character = Player.Character
50
 
51
--All The Settings for Trails in this Script
52
TrailSettings = {
53
    Lifetime = 0.1,
54
    Texture = 'rbxassetid://31270182',
55
    --Color1 is for UpperBody and Accessories, Color2 is for Lower Body
56
    Color1 = ColorSequence.new(BrickColor.new('Bright purple').Color,BrickColor.new('Bright purple').Color),
57
    Color2 = ColorSequence.new(BrickColor.new('Bright purple').Color,BrickColor.new('Bright purple').Color),
58
    AllBody = true,
59
    UpperBodyOnly = false,
60
    LowerBodyOnly = false,
61
    Accessories = false,
62
    Extras = true,
63
    R15 = false, --Change to true if you're using R15
64
    R15Parts = {
65
        'UpperTorso',
66
        'LowerTorso',
67
    }
68
}
69
 
70
local Trail; --Making other Trails uses this in this Script
71
 
72
--UpperBody Function
73
UpperBody = function()
74
    if TrailSettings.R15 == false then
75
        A0 = Instance.new('Attachment',Character.Torso)
76
        A1 = Instance.new('Attachment',Character.Head)
77
    A2 = Instance.new('Attachment',Character['Right Arm'])
78
    A3 = Instance.new('Attachment',Character['Left Arm'])
79
Trail = Instance.new('Trail',Character)
80
Trail.Attachment0 = A0
81
Trail.Attachment1 = A1
82
Trail.Texture = TrailSettings.Texture
83
Trail.Color = TrailSettings.Color1
84
Trail.Lifetime = TrailSettings.Lifetime
85
local Trail2 = Trail:Clone()
86
Trail2.Parent = Character
87
Trail2.Attachment1 = A2
88
local Trail3 = Trail:Clone()
89
Trail3.Parent = Character
90
Trail3.Attachment1 = A3
91
local Trail6 = Trail:Clone()
92
Trail6.Parent = Character
93
Trail6.Attachment0 = A1
94
Trail6.Attachment1 = A2
95
local Trail7 = Trail:Clone()
96
Trail7.Parent = Character
97
Trail7.Attachment0 = A1
98
Trail7.Attachment1 = A3
99
    else
100
    A0 = Instance.new('Attachment',Character[TrailSettings.R15Parts[1]])
101
    A0R = Instance.new('Attachment',Character[TrailSettings.R15Parts[2]])
102
    A1 = Instance.new('Attachment',Character.Head)
103
    A2 = Instance.new('Attachment',Character['RightUpperArm'])
104
    A2R = Instance.new('Attachment',Character['RightLowerArm'])
105
    A3 = Instance.new('Attachment',Character['LeftUpperArm'])
106
    A3R = Instance.new('Attachment',Character['LeftLowerArm'])
107
Trail = Instance.new('Trail',Character)
108
Trail.Attachment0 = A0
109
Trail.Attachment1 = A1
110
Trail.Texture = TrailSettings.Texture
111
Trail.Color = TrailSettings.Color1
112
Trail.Lifetime = TrailSettings.Lifetime
113
local Trail2 = Trail:Clone()
114
Trail2.Parent = Character
115
Trail2.Attachment1 = A2
116
local Trail3 = Trail:Clone()
117
Trail3.Parent = Character
118
Trail3.Attachment1 = A3
119
local Trail6 = Trail:Clone()
120
Trail6.Parent = Character
121
Trail6.Attachment0 = A1
122
Trail6.Attachment1 = A2
123
local Trail7 = Trail:Clone()
124
Trail7.Parent = Character
125
Trail7.Attachment0 = A1
126
Trail7.Attachment1 = A3
127
--R15 Trails
128
local Trail1R = Trail:Clone()
129
Trail1R.Parent = Character
130
Trail1R.Attachment1 = A2R
131
local Trail2R = Trail:Clone()
132
Trail2R.Parent = Character
133
Trail2R.Attachment1 = A3R
134
local Trail6R = Trail:Clone()
135
Trail6.Parent = Character
136
Trail6.Attachment0 = A1
137
Trail6.Attachment1 = A2R
138
local Trail7R = Trail:Clone()
139
Trail7.Parent = Character
140
Trail7.Attachment0 = A1
141
Trail7.Attachment1 = A3R
142
end
143
end
144
 
145
--Lower Body Function
146
LowerBody = function()
147
    if TrailSettings.R15 == false then
148
        A4 = Instance.new('Attachment',Character['Right Leg'])
149
        A5 = Instance.new('Attachment',Character['Left Leg'])
150
local Trail4 = Trail:Clone()
151
Trail4.Parent = Character
152
Trail4.Attachment1 = A4
153
local Trail5 = Trail:Clone()
154
Trail5.Parent = Character
155
Trail5.Attachment1 = A5
156
local Trail8 = Trail:Clone()
157
Trail8.Parent = Character
158
Trail8.Attachment0 = A2
159
Trail8.Attachment1 = A4
160
Trail8.Color = TrailSettings.Color2
161
local Trail9 = Trail:Clone()
162
Trail9.Parent = Character
163
Trail9.Attachment0 = A3
164
Trail9.Attachment1 = A5
165
Trail9.Color = TrailSettings.Color2
166
local FT = Trail:Clone()
167
FT.Parent = Character
168
FT.Attachment0 = A4
169
FT.Attachment1 = A5
170
FT.Color = TrailSettings.Color2
171
else
172
        A4 = Instance.new('Attachment',Character['RightLowerLeg'])
173
        A4R = Instance.new('Attachment',Character['RightUpperLeg'])
174
        A5 = Instance.new('Attachment',Character['LeftLowerLeg'])
175
        A5R = Instance.new('Attachment',Character['LeftUpperLeg'])
176
        local Trail4 = Trail:Clone()
177
Trail4.Parent = Character
178
Trail4.Attachment1 = A4
179
local Trail5 = Trail:Clone()
180
Trail5.Parent = Character
181
Trail5.Attachment1 = A5
182
local Trail8 = Trail:Clone()
183
Trail8.Parent = Character
184
Trail8.Attachment0 = A2
185
Trail8.Attachment1 = A4
186
Trail8.Color = TrailSettings.Color2
187
local Trail9 = Trail:Clone()
188
Trail9.Parent = Character
189
Trail9.Attachment0 = A3
190
Trail9.Attachment1 = A5
191
Trail9.Color = TrailSettings.Color2
192
local FT = Trail:Clone()
193
FT.Parent = Character
194
FT.Attachment0 = A4
195
FT.Attachment1 = A5
196
FT.Color = TrailSettings.Color2
197
--R15 Trails
198
local Trail3R = Trail:Clone()
199
Trail3R.Parent = Character
200
Trail3R.Attachment1 = A4R
201
local Trail4R = Trail:Clone()
202
Trail4R.Parent = Character
203
Trail4R.Attachment1 = A5R
204
local Trail8 = Trail:Clone()
205
Trail8.Parent = Character
206
Trail8.Attachment0 = A2R
207
Trail8.Attachment1 = A4R
208
Trail8.Color = TrailSettings.Color2
209
local Trail9 = Trail:Clone()
210
Trail9.Parent = Character
211
Trail9.Attachment0 = A3R
212
Trail9.Attachment1 = A5R
213
Trail9.Color = TrailSettings.Color2
214
local FT2R = Trail:Clone()
215
FT2R.Parent = Character
216
FT2R.Attachment0 = A4R
217
FT2R.Attachment1 = A5R
218
FT2R.Color = TrailSettings.Color2
219
end
220
end
221
 
222
--All Body Function calling Both Functions
223
AllBody = function()
224
    UpperBody()
225
    LowerBody()
226
end
227
 
228
--Checking to make sure that Only some Variables are Selected else do All Body
229
if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
230
    TrailSettings.UpperBodyOnly = false
231
    TrailSettings.LowerBodyOnly = false
232
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
233
    TrailSettings.UpperBodyOnly = false
234
    TrailSettings.LowerBodyOnly = false
235
elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
236
    TrailSettings.UpperBodyOnly = false
237
    TrailSettings.LowerBodyOnly = false
238
elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
239
    TrailSettings.AllBody = true
240
    TrailSettings.UpperBodyOnly = false
241
    TrailSettings.LowerBodyOnly = false
242
end
243
 
244
--Call Trail Functions
245
if TrailSettings.UpperBodyOnly == true then
246
    UpperBody()
247
    print('Called Upper Body Trail')
248
elseif TrailSettings.LowerBodyOnly == true then
249
    LowerBody()
250
    print('Called Lower Body Trail')
251
elseif TrailSettings.AllBody == true then
252
    AllBody()
253
    print('Called Full Body Trail')
254
end
255
 
256
--Trails for Accessories
257
if TrailSettings.Accessories == true then
258
for Index,Item in pairs(Character:GetChildren()) do
259
    if Item:IsA'Accessory' then
260
        local AA = Instance.new('Attachment',Item.Handle)
261
        local ATrail = Trail:Clone()
262
        ATrail.Parent = Character
263
        ATrail.Attachment1 = AA
264
    end
265
end
266
end
267
 
268
--Extras
269
if TrailSettings.Extras == true then
270
    --Making an Invisible Platform Part
271
local a = Instance.new('Part',Character)
272
a.CanCollide = false
273
a.Size = Vector3.new(2,.2,2)
274
a.Transparency = 1
275
 
276
--Constantly putting it under your feet
277
if TrailSettings.R15 == false then
278
    spawn(function()
279
    game:GetService('RunService').RenderStepped:connect(function()
280
        a.CFrame = Character.Torso.CFrame * CFrame.new(0,-3,0)
281
    end)
282
end)
283
else
284
    spawn(function()
285
    game:GetService('RunService').RenderStepped:connect(function()
286
        a.CFrame = Character[TrailSettings.R15Parts[2]].CFrame * CFrame.new(0,-2,0)
287
    end)
288
end)
289
end
290
 
291
--Make a Trail from both feet to the Platform
292
spawn(function()
293
    repeat wait() until Trail
294
local AB = Instance.new('Attachment',a)
295
local ABT = Trail:Clone()
296
ABT.Parent = Character
297
ABT.Attachment0 = A4
298
ABT.Attachment1 = AB
299
ABT.Color = TrailSettings.Color2
300
local ABT2 = Trail:Clone()
301
ABT2.Parent = Character
302
ABT2.Attachment0 = A5
303
ABT2.Attachment1 = AB
304
ABT2.Color = TrailSettings.Color2
305
end)
306
end
307
--
308
 
309
wait(0.2)
310
 
311
Player = game:GetService("Players").LocalPlayer
312
PlayerGui = Player.PlayerGui
313
Cam = workspace.CurrentCamera
314
Backpack = Player.Backpack
315
Character = Player.Character
316
Humanoid = Character:FindFirstChildOfClass("Humanoid")
317
Mouse = Player:GetMouse()
318
RootPart = Character["HumanoidRootPart"]
319
Torso = Character["Torso"]
320
Head = Character["Head"]
321
RightArm = Character["Right Arm"]
322
LeftArm = Character["Left Arm"]
323
RightLeg = Character["Right Leg"]
324
LeftLeg = Character["Left Leg"]
325
RootJoint = RootPart["RootJoint"]
326
Neck = Torso["Neck"]
327
RightShoulder = Torso["Right Shoulder"]
328
LeftShoulder = Torso["Left Shoulder"]
329
RightHip = Torso["Right Hip"]
330
LeftHip = Torso["Left Hip"]
331
local sick = Instance.new("Sound",Character)
332
 
333
IT = Instance.new
334
CF = CFrame.new
335
VT = Vector3.new
336
RAD = math.rad
337
C3 = Color3.new
338
UD2 = UDim2.new
339
BRICKC = BrickColor.new
340
ANGLES = CFrame.Angles
341
EULER = CFrame.fromEulerAnglesXYZ
342
COS = math.cos
343
ACOS = math.acos
344
SIN = math.sin
345
ASIN = math.asin
346
ABS = math.abs
347
MRANDOM = math.random
348
FLOOR = math.floor
349
 
350
--//=================================\\
351
--||          USEFUL VALUES
352
--\\=================================//
353
 
354
Animation_Speed = 3
355
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
356
local Speed = 60
357
local SIZE = 1.3
358
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
359
local NECKC0 = CF(0, 1.1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
360
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
361
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
362
local ANIM = "Idle"
363
local ATTACK = false
364
local COMBO = 1
365
local Rooted = false
366
local SINE = 0
367
local CHANGE = 2 / Animation_Speed
368
local ROBLOXIDLEANIMATION = IT("Animation")
369
local WEAPONGUI = IT("ScreenGui", PlayerGui)
370
WEAPONGUI.Name = "Big Boie Squad"
371
local ANIMATOR = Humanoid.Animator
372
local ANIMATE = Character.Animate
373
local UNANCHOR = true
374
local KILLCOUNT = 0
375
 
376
--//=================================\\
377
--\\=================================//
378
 
379
 
380
--//=================================\\
381
--|| SAZERENOS' ARTIFICIAL HEARTBEAT
382
--\\=================================//
383
 
384
ArtificialHB = Instance.new("BindableEvent", script)
385
ArtificialHB.Name = "ArtificialHB"
386
 
387
script:WaitForChild("ArtificialHB")
388
 
389
frame = Frame_Speed
390
tf = 0
391
allowframeloss = false
392
tossremainder = false
393
lastframe = tick()
394
script.ArtificialHB:Fire()
395
 
396
game:GetService("RunService").Heartbeat:connect(function(s, p)
397
    tf = tf + s
398
    if tf >= frame then
399
        if allowframeloss then
400
            script.ArtificialHB:Fire()
401
            lastframe = tick()
402
        else
403
            for i = 1, math.floor(tf / frame) do
404
                script.ArtificialHB:Fire()
405
            end
406
        lastframe = tick()
407
        end
408
        if tossremainder then
409
            tf = 0
410
        else
411
            tf = tf - frame * math.floor(tf / frame)
412
        end
413
    end
414
end)
415
 
416
--//=================================\\
417
--\\=================================//
418
 
419
--//=================================\\
420
--||          SOME FUNCTIONS
421
--\\=================================//
422
 
423
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
424
    return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
425
end
426
 
427
function PositiveAngle(NUMBER)
428
    if NUMBER >= 0 then
429
        NUMBER = 0
430
    end
431
    return NUMBER
432
end
433
 
434
function NegativeAngle(NUMBER)
435
    if NUMBER <= 0 then
436
        NUMBER = 0
437
    end
438
    return NUMBER
439
end
440
 
441
function Swait(NUMBER)
442
    if NUMBER == 0 or NUMBER == nil then
443
        ArtificialHB.Event:wait()
444
    else
445
        for i = 1, NUMBER do
446
            ArtificialHB.Event:wait()
447
        end
448
    end
449
end
450
 
451-
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
451+
452-
    local NEWMESH = IT(MESH)
452+
453-
    if MESH == "SpecialMesh" then
453+
454-
        NEWMESH.MeshType = MESHTYPE
454+
455-
        if MESHID ~= "nil" and MESHID ~= "" then
455+
456-
            NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
456+
457
    NEWPART.Transparency = TRANSPARENCY
458-
        if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
458+
459-
            NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
459+
460
    NEWPART.Anchored = true
461
    if ANCHOR == false then
462-
    NEWMESH.Offset = OFFSET or VT(0, 0, 0)
462+
463-
    NEWMESH.Scale = SCALE
463+
464-
    NEWMESH.Parent = PARENT
464+
465-
    return NEWMESH
465+
466
    NEWPART.Size = SIZE
467
    NEWPART.Position = Torso.Position
468
    NEWPART.Material = MATERIAL
469
    NEWPART:BreakJoints()
470
    NEWPART.Parent = PARENT
471
    return NEWPART
472
end
473
 
474
    local function weldBetween(a, b)
475
        local weldd = Instance.new("ManualWeld")
476
        weldd.Part0 = a
477
        weldd.Part1 = b
478
        weldd.C0 = CFrame.new()
479
        weldd.C1 = b.CFrame:inverse() * a.CFrame
480
        weldd.Parent = a
481
        return weldd
482
    end
483
 
484
 
485
function QuaternionFromCFrame(cf)
486
    local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
487
    local trace = m00 + m11 + m22
488
    if trace > 0 then
489
        local s = math.sqrt(1 + trace)
490
        local recip = 0.5 / s
491
        return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
492
    else
493
        local i = 0
494
        if m11 > m00 then
495
            i = 1
496
        end
497
        if m22 > (i == 0 and m00 or m11) then
498
            i = 2
499
        end
500
        if i == 0 then
501
            local s = math.sqrt(m00 - m11 - m22 + 1)
502
            local recip = 0.5 / s
503
            return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
504
        elseif i == 1 then
505
            local s = math.sqrt(m11 - m22 - m00 + 1)
506
            local recip = 0.5 / s
507
            return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
508
        elseif i == 2 then
509
            local s = math.sqrt(m22 - m00 - m11 + 1)
510
            local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
511
        end
512
    end
513
end
514
 
515
function QuaternionToCFrame(px, py, pz, x, y, z, w)
516
    local xs, ys, zs = x + x, y + y, z + z
517
    local wx, wy, wz = w * xs, w * ys, w * zs
518
    local xx = x * xs
519
    local xy = x * ys
520
    local xz = x * zs
521
    local yy = y * ys
522
    local yz = y * zs
523
    local zz = z * zs
524
    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))
525
end
526
 
527
function QuaternionSlerp(a, b, t)
528
    local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
529
    local startInterp, finishInterp;
530
    if cosTheta >= 0.0001 then
531
        if (1 - cosTheta) > 0.0001 then
532
            local theta = ACOS(cosTheta)
533
            local invSinTheta = 1 / SIN(theta)
534
            startInterp = SIN((1 - t) * theta) * invSinTheta
535
            finishInterp = SIN(t * theta) * invSinTheta
536
        else
537
            startInterp = 1 - t
538
            finishInterp = t
539
        end
540
    else
541
        if (1 + cosTheta) > 0.0001 then
542
            local theta = ACOS(-cosTheta)
543
            local invSinTheta = 1 / SIN(theta)
544
            startInterp = SIN((t - 1) * theta) * invSinTheta
545
            finishInterp = SIN(t * theta) * invSinTheta
546
        else
547
            startInterp = t - 1
548
            finishInterp = t
549
        end
550
    end
551
    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
552
end
553
 
554
function Clerp(a, b, t)
555
    local qa = {QuaternionFromCFrame(a)}
556
    local qb = {QuaternionFromCFrame(b)}
557
    local ax, ay, az = a.x, a.y, a.z
558
    local bx, by, bz = b.x, b.y, b.z
559
    local _t = 1 - t
560
    return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
561
end
562
 
563
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
564
    local frame = IT("Frame")
565
    frame.BackgroundTransparency = TRANSPARENCY
566
    frame.BorderSizePixel = BORDERSIZEPIXEL
567
    frame.Position = POSITION
568
    frame.Size = SIZE
569
    frame.BackgroundColor3 = COLOR
570
    frame.BorderColor3 = BORDERCOLOR
571
    frame.Name = NAME
572
    frame.Parent = PARENT
573
    return frame
574
end
575
 
576
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
577
    local label = IT("TextLabel")
578
    label.BackgroundTransparency = 1
579
    label.Size = UD2(1, 0, 1, 0)
580
    label.Position = UD2(0, 0, 0, 0)
581
    label.TextColor3 = TEXTCOLOR
582
    label.TextStrokeTransparency = STROKETRANSPARENCY
583
    label.TextTransparency = TRANSPARENCY
584
    label.FontSize = TEXTFONTSIZE
585
    label.Font = TEXTFONT
586
    label.BorderSizePixel = BORDERSIZEPIXEL
587
    label.TextScaled = false
588
    label.Text = TEXT
589
    label.Name = NAME
590
    label.Parent = PARENT
591
    return label
592
end
593
 
594
function NoOutlines(PART)
595
    PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
596
end
597
 
598
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
599
    local NEWWELD = IT(TYPE)
600
    NEWWELD.Part0 = PART0
601
    NEWWELD.Part1 = PART1
602
    NEWWELD.C0 = C0
603
    NEWWELD.C1 = C1
604
    NEWWELD.Parent = PARENT
605
    return NEWWELD
606
end
607
 
608
local S = IT("Sound")
609
function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
610
    local NEWSOUND = nil
611
    coroutine.resume(coroutine.create(function()
612
        NEWSOUND = S:Clone()
613
        NEWSOUND.Parent = PARENT
614
        NEWSOUND.Volume = VOLUME
615
        NEWSOUND.Pitch = PITCH
616
        NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
617
        NEWSOUND:play()
618
        if DOESLOOP == true then
619
            NEWSOUND.Looped = true
620
        else
621
            repeat wait(1) until NEWSOUND.Playing == false
622
            NEWSOUND:remove()
623
        end
624
    end))
625
    return NEWSOUND
626
end
627
 
628
function CFrameFromTopBack(at, top, back)
629
    local right = top:Cross(back)
630
    return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
631
end
632
 
633
634
 
635
Debris = game:GetService("Debris")
636
 
637
function CastProperRay(StartPos, EndPos, Distance, Ignore)
638
    local DIRECTION = CF(StartPos,EndPos).lookVector
639
    return Raycast(StartPos, DIRECTION, Distance, Ignore)
640
end
641
 
642
--//=================================\\
643
--||         WEAPON CREATION
644
--\\=================================//
645
 
646
Humanoid.Parent = nil
647
RootPart.Size = RootPart.Size*SIZE
648-
function MakeForm(PART,TYPE)
648+
649-
    if TYPE == "Cyl" then
649+
650-
        local MSH = IT("CylinderMesh",PART)
650+
651-
    elseif TYPE == "Ball" then
651+
652-
        local MSH = IT("SpecialMesh",PART)
652+
653-
        MSH.MeshType = "Sphere"
653+
654-
    elseif TYPE == "Wedge" then
654+
655-
        local MSH = IT("SpecialMesh",PART)
655+
656-
        MSH.MeshType = "Wedge"
656+
657
RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
658
LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
659
RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
660
LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
661
RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
662
LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
663
Head.Size = Head.Size*SIZE
664
RootJoint.Parent = RootPart
665
Neck.Parent = Torso
666
RightShoulder.Parent = Torso
667
LeftShoulder.Parent = Torso
668
RightHip.Parent = Torso
669
LeftHip.Parent = Torso
670
 
671
local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1.4,1,0.2),false)
672
MakeForm(PART,"Ball")
673
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(0.45*SIZE,0.6*SIZE,-0.45*SIZE), CF(0, 0, 0))
674
local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1.4,1,0.2),false)
675
MakeForm(PART,"Ball")
676
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(-0.45*SIZE,0.6*SIZE,-0.45*SIZE), CF(0, 0, 0))
677
local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1,0.7,0.2),false)
678
MakeForm(PART,"Ball")
679
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(0.35*SIZE,0.15*SIZE,-0.45*SIZE), CF(0, 0, 0))
680
local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(1,0.7,0.2),false)
681
MakeForm(PART,"Ball")
682
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(-0.35*SIZE,0.15*SIZE,-0.45*SIZE), CF(0, 0, 0))
683
local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(0.75,0.5,0.2),false)
684
MakeForm(PART,"Ball")
685
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(0.3*SIZE,-0.13*SIZE,-0.45*SIZE), CF(0, 0, 0))
686
local PART = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Bright blue", "Muscle", VT(0.75,0.5,0.2),false)
687
MakeForm(PART,"Ball")
688
CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PART, CF(-0.3*SIZE,-0.13*SIZE,-0.45*SIZE), CF(0, 0, 0))
689
 
690
Humanoid.Parent = Character
691
 
692
Humanoid.Died:connect(function()
693
    ATTACK = true
694
end)
695
 
696
local TRACKFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Yeet")
697
 
698
local TEXT = CreateLabel(TRACKFRAME, KILLCOUNT, C3(1,1,1), 8, "Cartoon", 0, 2, 1, "Text")
699
 
700
--//=================================\\
701
--||            DAMAGING
702
--\\=================================//
703
 
704
local EXPLOSION = IT("Explosion",nil)
705
EXPLOSION.BlastPressure = 0
706
function PUNCH(Fist)
707
    TOUCH = Fist.Touched:Connect(function(hit)
708
        if hit.Parent:FindFirstChildOfClass("Humanoid") then
709
            local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
710
            local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
711
            if TORSO and HUM.Health > 0 then
712
                CreateSound(296102734,Fist,6,1,false)
713
                CreateSound(12222242,TORSO,7,MRANDOM(8,14)/10,false)
714
                TORSO.Parent:BreakJoints()
715
                for _, c in pairs(TORSO.Parent:GetChildren()) do
716
                    if c:IsA("BasePart") then
717
                        local bv = Instance.new("BodyVelocity",c)
718
                        bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
719
                        bv.velocity = CF(TORSO.Position,c.Position+VT(0,0.1,0)).lookVector*MRANDOM(70,100)
720
                        Debris:AddItem(bv,0.05)
721
                    end
722
                end
723
                local BOOM = EXPLOSION:Clone()
724
                BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p
725
                BOOM.Parent = Character
726
                TOUCH:Disconnect()
727
                KILLCOUNT = KILLCOUNT + 69
728
            end
729
        elseif hit.Material == Enum.Material.Glass or hit.Transparency > 0.2 then
730
            hit:remove()
731
            CreateSound(296102734,Fist,6,1,false)
732
            local BOOM = EXPLOSION:Clone()
733
            BOOM.BlastPressure = 50
734
            BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p
735
            BOOM.Parent = Character
736
        elseif hit.Anchored == false then
737
            CreateSound(296102734,Fist,6,1,false)
738
            local BOOM = EXPLOSION:Clone()
739
            BOOM.BlastPressure = 100
740
            BOOM.Position = Fist.CFrame*CF(0,-1*SIZE,0).p
741
            BOOM.Parent = Character
742
            TOUCH:Disconnect()
743
        end
744
    end)
745
    return TOUCH
746
end
747
 
748
--//=================================\\
749
--||    ATTACK FUNCTIONS AND STUFF
750
--\\=================================//
751
 
752
function Yeet()
753
    ATTACK = true
754
    Rooted = false
755
    if COMBO == 1 then
756
        COMBO = 2
757
        for i=0, 0.1, 0.1 / Animation_Speed do
758
            Swait()
759
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(15)), 1 / Animation_Speed)
760
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 1 / Animation_Speed)
761
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
762
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
763
            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
764
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
765
        end
766
        local FIST = PUNCH(LeftArm)
767
        for i=0, 0.15, 0.1 / Animation_Speed do
768
            Swait()
769
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-45)), 1 / Animation_Speed)
770
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(45)), 1 / Animation_Speed)
771
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
772
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(25)) * LEFTSHOULDERC0, 2 / Animation_Speed)
773
            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
774
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
775
        end
776
        FIST:Disconnect()
777
    else
778
        COMBO = 1
779
        for i=0, 0.1, 0.1 / Animation_Speed do
780
            Swait()
781
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-15)), 1 / Animation_Speed)
782
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.15 / Animation_Speed)
783
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
784
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
785
            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
786
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
787
        end
788
        local FIST = PUNCH(RightArm)
789
        for i=0, 0.15, 0.1 / Animation_Speed do
790
            Swait()
791
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(45)), 1 / Animation_Speed)
792
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
793
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1*SIZE, 0.45*SIZE, -1*SIZE) * ANGLES(RAD(110), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
794
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.25*SIZE, 0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
795
            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
796
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
797
        end
798
        FIST:Disconnect()
799
    end
800
    ATTACK = false
801
    Rooted = false
802
end
803
 
804
function YesPlease()
805
    ATTACK = true
806
    Rooted = true
807
    CreateSound(291394633,Head,6,1,false)
808
    for i=0, 2, 0.1 / Animation_Speed do
809
        Swait()
810
        RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.3*SIZE) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
811
        Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
812
        RightShoulder.C0 = Clerp(RightShoulder.C0, CF(2+(MRANDOM(-5,5)/100)*SIZE, (0.45+(MRANDOM(-5,5)/100))*SIZE, -0.5*SIZE) * ANGLES(RAD(75), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
813
        LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-2+(MRANDOM(-5,5)/100)*SIZE, (0.65+(MRANDOM(-5,5)/100))*SIZE, -0.5*SIZE) * ANGLES(RAD(65), RAD(0), RAD(65)) * LEFTSHOULDERC0, 2 / Animation_Speed)
814
        RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.85*SIZE, -0.6*SIZE) * ANGLES(RAD(25), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
815
        LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.85*SIZE, -0.6*SIZE) * ANGLES(RAD(25), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
816
    end
817
    ATTACK = false
818
    Rooted = false
819
end
820
 
821
--//=================================\\
822
--||      ASSIGN THINGS TO KEYS
823
--\\=================================//
824
 
825
Mouse.Button1Down:connect(function(NEWKEY)
826
    if ATTACK == false then
827
        Yeet()
828
    end
829
end)
830
Mouse.KeyDown:connect(function(NEWKEY)
831
    if NEWKEY == "t" and ATTACK == false then
832
        YesPlease()
833
    end
834
end)
835
 
836
--//=================================\\
837
--\\=================================//
838
 
839
function unanchor()
840
    if UNANCHOR == true then
841
        g = Character:GetChildren()
842
        for i = 1, #g do
843
            if g[i].ClassName == "Part" then
844
                g[i].Anchored = false
845
            end
846
        end
847
    end
848
end
849
 
850
--//=================================\\
851
--||    WRAP THE WHOLE SCRIPT UP
852
--\\=================================//
853
 
854
Humanoid.Changed:connect(function(Jump)
855
    if Jump == "Jump" and (Disable_Jump == true) then
856
        Humanoid.Jump = false
857
    end
858
end)
859
 
860
local FF = IT("ForceField",Character)
861
FF.Visible = false
862
 
863
while true do
864
    Swait()
865
    script.Parent = WEAPONGUI
866
    ANIMATE.Parent = nil
867
    for _,v in next, Humanoid:GetPlayingAnimationTracks() do
868
        v:Stop();
869
    end
870
    SINE = SINE + CHANGE
871
    local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
872
    local TORSOVERTICALVELOCITY = RootPart.Velocity.y
873
    local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
874
    local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
875
    if ANIM == "Walk" and TORSOVELOCITY > 1 then
876
        RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 / Animation_Speed)
877
        Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
878
        RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.5- 0.5 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
879
        LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.5+ 0.5 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
880
    elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
881
        RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
882
        Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
883
        RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
884
        LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
885
    end
886
    if HITFLOOR == nil then
887
        ANIM = "Midair"
888
        if ATTACK == false then
889
            RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
890
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
891
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(145), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
892
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.45*SIZE, 0.3*SIZE) * ANGLES(RAD(35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
893
            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.2*SIZE, -0.7*SIZE) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
894
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
895
        end
896
    elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
897
        ANIM = "Idle"
898
        if ATTACK == false then
899
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
900
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
901
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55*SIZE, 0.5*SIZE, 0.1*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
902
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55*SIZE, 0.5*SIZE, 0.1*SIZE) * ANGLES(RAD(15), RAD(0), RAD(12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
903
            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
904
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
905
        end
906
    elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
907
        ANIM = "Walk"
908
        if ATTACK == false then
909
            RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
910
            Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1/ Animation_Speed)
911
            RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, (0.35+0.15 * COS(SINE / WALKSPEEDVALUE))*SIZE, 0*SIZE) * ANGLES(RAD(25+70 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
912
            LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, (0.35-0.15 * COS(SINE / WALKSPEEDVALUE))*SIZE, 0*SIZE) * ANGLES(RAD(25-70 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
913
            RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
914
            LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
915
        end
916
    end
917
    unanchor()
918
    Humanoid.MaxHealth = 5e7
919
    Humanoid.Health = 5e7
920
    Humanoid.Name = "Stronk Shed"
921
    if Rooted == false then
922
        Disable_Jump = false
923
        Humanoid.WalkSpeed = Speed
924
    elseif Rooted == true then
925
        Disable_Jump = true
926
        Humanoid.WalkSpeed = 0
927
    end
928
    for _, c in pairs(Character:GetChildren()) do
929
        if c.ClassName == "Part" then
930
            c.Material = "SmoothPlastic"
931
            if c:FindFirstChildOfClass("ParticleEmitter") then
932
                c:FindFirstChildOfClass("ParticleEmitter"):remove()
933
            end
934
            if c == Torso or c.Name == "Muscle" then
935
                c.BrickColor = BRICKC"Bright purple"
936
            elseif c == RightLeg or c == LeftLeg then
937
                c.BrickColor = BRICKC"Bright purple"
938
            else
939
                c.BrickColor = BRICKC"Bright purple"
940
            end
941
            if c == Head then
942
                if c:FindFirstChild("face") then
943
                    c.face.Texture = "http://www.roblox.com/asset/?id=405704563"
944
                end
945
            end
946
        elseif c.ClassName == c.Name == "Body Colors" then
947
            c:remove()     
948
        end
949
    end
950
    sick.SoundId = "rbxassetid://1333021608"
951
    sick.Looped = true
952
    sick.Pitch = 1
953
    sick.Volume = 1
954
    sick:Resume()
955
    sick.Parent = Torso
956
    Humanoid.JumpPower = 150
957
    TEXT.Text = KILLCOUNT
958
end
959
 
960
--//=================================\\
961
--\\=================================//
962
 
963
 
964
 
965
 
966
 
967
--//====================================================\\--
968
--||                     END OF SCRIPT
969
--\\====================================================//--