View difference between Paste ID: QvpZZMQg and NuGkCC3C
SHOW: | | - or go back to the newest paste.
1
--usage
2
3
local FEService = loadstring(game:HttpGetAsync("https://raw.githubusercontent.com/WhyGitHubb/FEService/main/main.lua"))()
4
5
6
FEService:FullNetwork()  
7
8
print(game.Players.LocalPlayer.SimulationRadius)
9
--reanimate by MyWorld#4430 discord.gg/pYVHtSJmEY
10
local v3_net, v3_808 = Vector3.new(5000, 25.1, 0), Vector3.new(8, 0, 8)
11
local function getNetlessVelocity(realPartVelocity)
12
    local mag = realPartVelocity.Magnitude
13
    if mag > 1 then
14
        local unit = realPartVelocity.Unit
15
        if (unit.Y > 0.25) or (unit.Y < -0.75) then
16
            return unit * (25.1 / unit.Y)
17
        end
18
    end
19
    return v3_net + realPartVelocity * v3_808
20
end
21
local simradius = "shp" --simulation radius (net bypass) method
22
--"shp" - sethiddenproperty
23
--"ssr" - setsimulationradius
24
--false - disable
25
local simrad = 1000 --simulation radius value
26
local healthHide = true --moves your head away every 3 seconds so players dont see your health bar (alignmode 4 only)
27
local reclaim = true --if you lost control over a part this will move your primary part to the part so you get it back (alignmode 4)
28
local novoid = true --prevents parts from going under workspace.FallenPartsDestroyHeight if you control them (alignmode 4 only)
29
local physp = nil --PhysicalProperties.new(0.01, 0, 1, 0, 0) --sets .CustomPhysicalProperties to this for each part
30
local noclipAllParts = false --set it to true if you want noclip
31
local antiragdoll = true --removes hingeConstraints and ballSocketConstraints from your character
32
local newanimate = true --disables the animate script and enables after reanimation
33
local discharscripts = true --disables all localScripts parented to your character before reanimation
34
local R15toR6 = true --tries to convert your character to r6 if its r15
35
local hatcollide = false --makes hats cancollide (credit to ShownApe) (works only with reanimate method 0)
36
local humState16 = true --enables collisions for limbs before the humanoid dies (using hum:ChangeState)
37
local addtools = false --puts all tools from backpack to character and lets you hold them after reanimation
38
local hedafterneck = true --disable aligns for head and enable after neck or torso is removed
39
local loadtime = game:GetService("Players").RespawnTime + 0.5 --anti respawn delay
40
local method = 3 --reanimation method
41
--methods:
42
--0 - breakJoints (takes [loadtime] seconds to load)
43
--1 - limbs
44
--2 - limbs + anti respawn
45
--3 - limbs + breakJoints after [loadtime] seconds
46
--4 - remove humanoid + breakJoints
47
--5 - remove humanoid + limbst
48
local alignmode = 3 --AlignPosition mode
49
--modes:
50
--1 - AlignPosition rigidity enabled true
51
--2 - 2 AlignPositions rigidity enabled both true and false
52
--3 - AlignPosition rigidity enabled false
53
--4 - CFrame
54
local flingpart = "HumanoidRootPart" --name of the part or the hat used for flinging
55
--the fling function
56
--usage: fling(target, duration, velocity)
57
--target can be set to: basePart, CFrame, Vector3, character model or humanoid (flings at mouse.Hit if argument not provided))
58
--duration (fling time in seconds) can be set to a number or a string convertable to the number (0.5s if not provided),
59
--velocity (fling part rotation velocity) can be set to a vector3 value (Vector3.new(20000, 20000, 20000) if not provided)
60
61
local lp = game:GetService("Players").LocalPlayer
62
local rs, ws, sg = game:GetService("RunService"), game:GetService("Workspace"), game:GetService("StarterGui")
63
local stepped, heartbeat, renderstepped = rs.Stepped, rs.Heartbeat, rs.RenderStepped
64
local twait, tdelay, rad, inf, abs, clamp = task.wait, task.delay, math.rad, math.huge, math.abs, math.clamp
65
local cf, v3 = CFrame.new, Vector3.new
66
local angles = CFrame.Angles
67
local v3_0, cf_0 = v3(0, 0, 0), cf(0, 0, 0)
68
69
local c = lp.Character
70
if not (c and c.Parent) then
71
    return
72
end
73
74
c:GetPropertyChangedSignal("Parent"):Connect(function()
75
    if not (c and c.Parent) then
76
        c = nil
77
    end
78
end)
79
80
local clone, destroy, getchildren, getdescendants, isa = c.Clone, c.Destroy, c.GetChildren, c.GetDescendants, c.IsA
81
82
local function gp(parent, name, className)
83
    if typeof(parent) == "Instance" then
84
        for i, v in pairs(getchildren(parent)) do
85
            if (v.Name == name) and isa(v, className) then
86
                return v
87
            end
88
        end
89
    end
90
    return nil
91
end
92
93
local fenv = getfenv()
94
95
local shp = fenv.sethiddenproperty or fenv.set_hidden_property or fenv.set_hidden_prop or fenv.sethiddenprop
96
local ssr = fenv.setsimulationradius or fenv.set_simulation_radius or fenv.set_sim_radius or fenv.setsimradius or fenv.setsimrad or fenv.set_sim_rad
97
98
healthHide = healthHide and ((method == 0) or (method == 3)) and gp(c, "Head", "BasePart")
99
100
local reclaim, lostpart = reclaim and c.PrimaryPart, nil
101
102
local function align(Part0, Part1)
103
    
104
    local att0 = Instance.new("Attachment")
105
    att0.Position, att0.Orientation, att0.Name = v3_0, v3_0, "att0_" .. Part0.Name
106
    local att1 = Instance.new("Attachment")
107
    att1.Position, att1.Orientation, att1.Name = v3_0, v3_0, "att1_" .. Part1.Name
108
109
    if alignmode == 4 then
110
    
111
        local hide = false
112
        if Part0 == healthHide then
113
            healthHide = false
114
            tdelay(0, function()
115
                while twait(2.9) and Part0 and c do
116
                    hide = #Part0:GetConnectedParts() == 1
117
                    twait(0.1)
118
                    hide = false
119
                end
120
            end)
121
        end
122
        
123
        local rot = rad(0.05)
124
        local con0, con1 = nil, nil
125
        con0 = stepped:Connect(function()
126
            if not (Part0 and Part1) then return con0:Disconnect() and con1:Disconnect() end
127
            Part0.RotVelocity = Part1.RotVelocity
128
        end)
129
        local lastpos = Part0.Position
130
        con1 = heartbeat:Connect(function(delta)
131
            if not (Part0 and Part1 and att1) then return con0:Disconnect() and con1:Disconnect() end
132
            if (not Part0.Anchored) and (Part0.ReceiveAge == 0) then
133
                if lostpart == Part0 then
134
                    lostpart = nil
135
                end
136
                rot = -rot
137
                local newcf = Part1.CFrame * att1.CFrame * angles(0, 0, rot)
138
                if Part1.Velocity.Magnitude > 0.01 then
139
                    Part0.Velocity = getNetlessVelocity(Part1.Velocity)
140
                else
141
                    Part0.Velocity = getNetlessVelocity((newcf.Position - lastpos) / delta)
142
                end
143
                lastpos = newcf.Position
144
                if lostpart and (Part0 == reclaim) then
145
                    newcf = lostpart.CFrame
146
                elseif hide then
147
                    newcf += v3(0, 3000, 0)
148
                end
149
                if novoid and (newcf.Y < ws.FallenPartsDestroyHeight + 0.1) then
150
                    newcf += v3(0, ws.FallenPartsDestroyHeight + 0.1 - newcf.Y, 0)
151
                end
152
                Part0.CFrame = newcf
153
            elseif (not Part0.Anchored) and (abs(Part0.Velocity.X) < 45) and (abs(Part0.Velocity.Y) < 25) and (abs(Part0.Velocity.Z) < 45) then
154
                lostpart = Part0
155
            end
156
        end)
157
    
158
    else
159
        
160
        Part0.CustomPhysicalProperties = physp
161
        if (alignmode == 1) or (alignmode == 2) then
162
            local ape = Instance.new("AlignPosition")
163
            ape.MaxForce, ape.MaxVelocity, ape.Responsiveness = inf, inf, inf
164
            ape.ReactionForceEnabled, ape.RigidityEnabled, ape.ApplyAtCenterOfMass = false, true, false
165
            ape.Attachment0, ape.Attachment1, ape.Name = att0, att1, "AlignPositionRtrue"
166
            ape.Parent = att0
167
        end
168
        
169
        if (alignmode == 2) or (alignmode == 3) then
170
            local apd = Instance.new("AlignPosition")
171
            apd.MaxForce, apd.MaxVelocity, apd.Responsiveness = inf, inf, inf
172
            apd.ReactionForceEnabled, apd.RigidityEnabled, apd.ApplyAtCenterOfMass = false, false, false
173
            apd.Attachment0, apd.Attachment1, apd.Name = att0, att1, "AlignPositionRfalse"
174
            apd.Parent = att0
175
        end
176
        
177
        local ao = Instance.new("AlignOrientation")
178
        ao.MaxAngularVelocity, ao.MaxTorque, ao.Responsiveness = inf, inf, inf
179
        ao.PrimaryAxisOnly, ao.ReactionTorqueEnabled, ao.RigidityEnabled = false, false, false
180
        ao.Attachment0, ao.Attachment1 = att0, att1
181
        ao.Parent = att0
182
        
183
        local con0, con1 = nil, nil
184
        local vel = Part0.Velocity
185
        con0 = renderstepped:Connect(function()
186
            if not (Part0 and Part1) then return con0:Disconnect() and con1:Disconnect() end
187
            Part0.Velocity = vel
188
        end)
189
        local lastpos = Part0.Position
190
        con1 = heartbeat:Connect(function(delta)
191
            if not (Part0 and Part1) then return con0:Disconnect() and con1:Disconnect() end
192
            vel = Part0.Velocity
193
            if Part1.Velocity.Magnitude > 0.01 then
194
                Part0.Velocity = getNetlessVelocity(Part1.Velocity)
195
            else
196
                Part0.Velocity = getNetlessVelocity((Part0.Position - lastpos) / delta)
197
            end
198
            lastpos = Part0.Position
199
        end)
200
    
201
    end
202
203
    att0:GetPropertyChangedSignal("Parent"):Connect(function()
204
        Part0 = att0.Parent
205
        if not isa(Part0, "BasePart") then
206
            att0 = nil
207
            if lostpart == Part0 then
208
                lostpart = nil
209
            end
210
            Part0 = nil
211
        end
212
    end)
213
    att0.Parent = Part0
214
    
215
    att1:GetPropertyChangedSignal("Parent"):Connect(function()
216
        Part1 = att1.Parent
217
        if not isa(Part1, "BasePart") then
218
            att1 = nil
219
            Part1 = nil
220
        end
221
    end)
222
    att1.Parent = Part1
223
end
224
225
local function respawnrequest()
226
    local ccfr, c = ws.CurrentCamera.CFrame, lp.Character
227
    lp.Character = nil
228
    lp.Character = c
229
    local con = nil
230
    con = ws.CurrentCamera.Changed:Connect(function(prop)
231
        if (prop ~= "Parent") and (prop ~= "CFrame") then
232
            return
233
        end
234
        ws.CurrentCamera.CFrame = ccfr
235
        con:Disconnect()
236
    end)
237
end
238
239
local destroyhum = (method == 4) or (method == 5)
240
local breakjoints = (method == 0) or (method == 4)
241
local antirespawn = (method == 0) or (method == 2) or (method == 3)
242
243
hatcollide = hatcollide and (method == 0)
244
245
addtools = addtools and lp:FindFirstChildOfClass("Backpack")
246
247
if type(simrad) ~= "number" then simrad = 1000 end
248
if shp and (simradius == "shp") then
249
    tdelay(0, function()
250
        while c do
251
            shp(lp, "SimulationRadius", simrad)
252
            heartbeat:Wait()
253
        end
254
    end)
255
elseif ssr and (simradius == "ssr") then
256
    tdelay(0, function()
257
        while c do
258
            ssr(simrad)
259
            heartbeat:Wait()
260
        end
261
    end)
262
end
263
264
if antiragdoll then
265
    antiragdoll = function(v)
266
        if isa(v, "HingeConstraint") or isa(v, "BallSocketConstraint") then
267
            v.Parent = nil
268
        end
269
    end
270
    for i, v in pairs(getdescendants(c)) do
271
        antiragdoll(v)
272
    end
273
    c.DescendantAdded:Connect(antiragdoll)
274
end
275
276
if antirespawn then
277
    respawnrequest()
278
end
279
280
if method == 0 then
281
    twait(loadtime)
282
    if not c then
283
        return
284
    end
285
end
286
287
if discharscripts then
288
    for i, v in pairs(getdescendants(c)) do
289
        if isa(v, "LocalScript") then
290
            v.Disabled = true
291
        end
292
    end
293
elseif newanimate then
294
    local animate = gp(c, "Animate", "LocalScript")
295
    if animate and (not animate.Disabled) then
296
        animate.Disabled = true
297
    else
298
        newanimate = false
299
    end
300
end
301
302
if addtools then
303
    for i, v in pairs(getchildren(addtools)) do
304
        if isa(v, "Tool") then
305
            v.Parent = c
306
        end
307
    end
308
end
309
310
pcall(function()
311
    settings().Physics.AllowSleep = false
312
    settings().Physics.PhysicsEnvironmentalThrottle = Enum.EnviromentalPhysicsThrottle.Disabled
313
end)
314
315
local OLDscripts = {}
316
317
for i, v in pairs(getdescendants(c)) do
318
    if v.ClassName == "Script" then
319
        OLDscripts[v.Name] = true
320
    end
321
end
322
323
local scriptNames = {}
324
325
for i, v in pairs(getdescendants(c)) do
326
    if isa(v, "BasePart") then
327
        local newName, exists = tostring(i), true
328
        while exists do
329
            exists = OLDscripts[newName]
330
            if exists then
331
                newName = newName .. "_"    
332
            end
333
        end
334
        table.insert(scriptNames, newName)
335
        Instance.new("Script", v).Name = newName
336
    end
337
end
338
339
local hum = c:FindFirstChildOfClass("Humanoid")
340
if hum then
341
    for i, v in pairs(hum:GetPlayingAnimationTracks()) do
342
        v:Stop()
343
    end
344
end
345
c.Archivable = true
346
local cl = clone(c)
347
if hum and humState16 then
348
    hum:ChangeState(Enum.HumanoidStateType.Physics)
349
    if destroyhum then
350
        twait(1.6)
351
    end
352
end
353
if destroyhum then
354
    pcall(destroy, hum)
355
end
356
357
if not c then
358
    return
359
end
360
361
local head, torso, root = gp(c, "Head", "BasePart"), gp(c, "Torso", "BasePart") or gp(c, "UpperTorso", "BasePart"), gp(c, "HumanoidRootPart", "BasePart")
362
if hatcollide then
363
    pcall(destroy, torso)
364
    pcall(destroy, root)
365
    pcall(destroy, c:FindFirstChildOfClass("BodyColors") or gp(c, "Health", "Script"))
366
end
367
368
local model = Instance.new("Model", c)
369
model:GetPropertyChangedSignal("Parent"):Connect(function()
370
    if not (model and model.Parent) then
371
        model = nil
372
    end
373
end)
374
375
for i, v in pairs(getchildren(c)) do
376
    if v ~= model then
377
        if addtools and isa(v, "Tool") then
378
            for i1, v1 in pairs(getdescendants(v)) do
379
                if v1 and v1.Parent and isa(v1, "BasePart") then
380
                    local bv = Instance.new("BodyVelocity")
381
                    bv.Velocity, bv.MaxForce, bv.P, bv.Name = v3_0, v3(1000, 1000, 1000), 1250, "bv_" .. v.Name
382
                    bv.Parent = v1
383
                end
384
            end
385
        end
386
        v.Parent = model
387
    end
388
end
389
390
if breakjoints then
391
    model:BreakJoints()
392
else
393
    if head and torso then
394
        for i, v in pairs(getdescendants(model)) do
395
            if isa(v, "JointInstance") then
396
                local save = false
397
                if (v.Part0 == torso) and (v.Part1 == head) then
398
                    save = true
399
                end
400
                if (v.Part0 == head) and (v.Part1 == torso) then
401
                    save = true
402
                end
403
                if save then
404
                    if hedafterneck then
405
                        hedafterneck = v
406
                    end
407
                else
408
                    pcall(destroy, v)
409
                end
410
            end
411
        end
412
    end
413
    if method == 3 then
414
        task.delay(loadtime, pcall, model.BreakJoints, model)
415
    end
416
end
417
418
cl.Parent = ws
419
for i, v in pairs(getchildren(cl)) do
420
    v.Parent = c
421
end
422
pcall(destroy, cl)
423
424
local uncollide, noclipcon = nil, nil
425
if noclipAllParts then
426
    uncollide = function()
427
        if c then
428
            for i, v in pairs(getdescendants(c)) do
429
                if isa(v, "BasePart") then
430
                    v.CanCollide = false
431
                end
432
            end
433
        else
434
            noclipcon:Disconnect()
435
        end
436
    end
437
else
438
    uncollide = function()
439
        if model then
440
            for i, v in pairs(getdescendants(model)) do
441
                if isa(v, "BasePart") then
442
                    v.CanCollide = false
443
                end
444
            end
445
        else
446
            noclipcon:Disconnect()
447
        end
448
    end
449
end
450
noclipcon = stepped:Connect(uncollide)
451
uncollide()
452
453
for i, scr in pairs(getdescendants(model)) do
454
    if (scr.ClassName == "Script") and table.find(scriptNames, scr.Name) then
455
        local Part0 = scr.Parent
456
        if isa(Part0, "BasePart") then
457
            for i1, scr1 in pairs(getdescendants(c)) do
458
                if (scr1.ClassName == "Script") and (scr1.Name == scr.Name) and (not scr1:IsDescendantOf(model)) then
459
                    local Part1 = scr1.Parent
460
                    if (Part1.ClassName == Part0.ClassName) and (Part1.Name == Part0.Name) then
461
                        align(Part0, Part1)
462
                        pcall(destroy, scr)
463
                        pcall(destroy, scr1)
464
                        break
465
                    end
466
                end
467
            end
468
        end
469
    end
470
end
471
472
for i, v in pairs(getdescendants(c)) do
473
    if v and v.Parent and (not v:IsDescendantOf(model)) then
474
        if isa(v, "Decal") then
475
            v.Transparency = 1
476
        elseif isa(v, "BasePart") then
477
            v.Transparency = 1
478
            v.Anchored = false
479
        elseif isa(v, "ForceField") then
480
            v.Visible = false
481
        elseif isa(v, "Sound") then
482
            v.Playing = false
483
        elseif isa(v, "BillboardGui") or isa(v, "SurfaceGui") or isa(v, "ParticleEmitter") or isa(v, "Fire") or isa(v, "Smoke") or isa(v, "Sparkles") then
484
            v.Enabled = false
485
        end
486
    end
487
end
488
489
if newanimate then
490
    local animate = gp(c, "Animate", "LocalScript")
491
    if animate then
492
        animate.Disabled = false
493
    end
494
end
495
496
if addtools then
497
    for i, v in pairs(getchildren(c)) do
498
        if isa(v, "Tool") then
499
            v.Parent = addtools
500
        end
501
    end
502
end
503
504
local hum0, hum1 = model:FindFirstChildOfClass("Humanoid"), c:FindFirstChildOfClass("Humanoid")
505
if hum0 then
506
    hum0:GetPropertyChangedSignal("Parent"):Connect(function()
507
        if not (hum0 and hum0.Parent) then
508
            hum0 = nil
509
        end
510
    end)
511
end
512
if hum1 then
513
    hum1:GetPropertyChangedSignal("Parent"):Connect(function()
514
        if not (hum1 and hum1.Parent) then
515
            hum1 = nil
516
        end
517
    end)
518
519
    ws.CurrentCamera.CameraSubject = hum1
520
    local camSubCon = nil
521
    local function camSubFunc()
522
        camSubCon:Disconnect()
523
        if c and hum1 then
524
            ws.CurrentCamera.CameraSubject = hum1
525
        end
526
    end
527
    camSubCon = renderstepped:Connect(camSubFunc)
528
    if hum0 then
529
        hum0:GetPropertyChangedSignal("Jump"):Connect(function()
530
            if hum1 then
531
                hum1.Jump = hum0.Jump
532
            end
533
        end)
534
    else
535
        respawnrequest()
536
    end
537
end
538
539
local rb = Instance.new("BindableEvent", c)
540
rb.Event:Connect(function()
541
    pcall(destroy, rb)
542
    sg:SetCore("ResetButtonCallback", true)
543
    if destroyhum then
544
        if c then c:BreakJoints() end
545
        return
546
    end
547
    if model and hum0 and (hum0.Health > 0) then
548
        model:BreakJoints()
549
        hum0.Health = 0
550
    end
551
    if antirespawn then
552
        respawnrequest()
553
    end
554
end)
555
sg:SetCore("ResetButtonCallback", rb)
556
557
tdelay(0, function()
558
    while c do
559
        if hum0 and hum1 then
560
            hum1.Jump = hum0.Jump
561
        end
562
        wait()
563
    end
564
    sg:SetCore("ResetButtonCallback", true)
565
end)
566
567
R15toR6 = R15toR6 and hum1 and (hum1.RigType == Enum.HumanoidRigType.R15)
568
if R15toR6 then
569
    local part = gp(c, "HumanoidRootPart", "BasePart") or gp(c, "UpperTorso", "BasePart") or gp(c, "LowerTorso", "BasePart") or gp(c, "Head", "BasePart") or c:FindFirstChildWhichIsA("BasePart")
570
    if part then
571
        local cfr = part.CFrame
572
        local R6parts = { 
573
            head = {
574
                Name = "Head",
575
                Size = v3(2, 1, 1),
576
                R15 = {
577
                    Head = 0
578
                }
579
            },
580
            torso = {
581
                Name = "Torso",
582
                Size = v3(2, 2, 1),
583
                R15 = {
584
                    UpperTorso = 0.2,
585
                    LowerTorso = -0.8
586
                }
587
            },
588
            root = {
589
                Name = "HumanoidRootPart",
590
                Size = v3(2, 2, 1),
591
                R15 = {
592
                    HumanoidRootPart = 0
593
                }
594
            },
595
            leftArm = {
596
                Name = "Left Arm",
597
                Size = v3(1, 2, 1),
598
                R15 = {
599
                    LeftHand = -0.849,
600
                    LeftLowerArm = -0.174,
601
                    LeftUpperArm = 0.415
602
                }
603
            },
604
            rightArm = {
605
                Name = "Right Arm",
606
                Size = v3(1, 2, 1),
607
                R15 = {
608
                    RightHand = -0.849,
609
                    RightLowerArm = -0.174,
610
                    RightUpperArm = 0.415
611
                }
612
            },
613
            leftLeg = {
614
                Name = "Left Leg",
615
                Size = v3(1, 2, 1),
616
                R15 = {
617
                    LeftFoot = -0.85,
618
                    LeftLowerLeg = -0.29,
619
                    LeftUpperLeg = 0.49
620
                }
621
            },
622
            rightLeg = {
623
                Name = "Right Leg",
624
                Size = v3(1, 2, 1),
625
                R15 = {
626
                    RightFoot = -0.85,
627
                    RightLowerLeg = -0.29,
628
                    RightUpperLeg = 0.49
629
                }
630
            }
631
        }
632
        for i, v in pairs(getchildren(c)) do
633
            if isa(v, "BasePart") then
634
                for i1, v1 in pairs(getchildren(v)) do
635
                    if isa(v1, "Motor6D") then
636
                        v1.Part0 = nil
637
                    end
638
                end
639
            end
640
        end
641
        part.Archivable = true
642
        for i, v in pairs(R6parts) do
643
            local part = clone(part)
644
            part:ClearAllChildren()
645
            part.Name, part.Size, part.CFrame, part.Anchored, part.Transparency, part.CanCollide = v.Name, v.Size, cfr, false, 1, false
646
            for i1, v1 in pairs(v.R15) do
647
                local R15part = gp(c, i1, "BasePart")
648
                local att = gp(R15part, "att1_" .. i1, "Attachment")
649
                if R15part then
650
                    local weld = Instance.new("Weld")
651
                    weld.Part0, weld.Part1, weld.C0, weld.C1, weld.Name = part, R15part, cf(0, v1, 0), cf_0, "Weld_" .. i1
652
                    weld.Parent = R15part
653
                    R15part.Massless, R15part.Name = true, "R15_" .. i1
654
                    R15part.Parent = part
655
                    if att then
656
                        att.Position = v3(0, v1, 0)
657
                        att.Parent = part
658
                    end
659
                end
660
            end
661
            part.Parent = c
662
            R6parts[i] = part
663
        end
664
        local R6joints = {
665
            neck = {
666
                Parent = R6parts.torso,
667
                Name = "Neck",
668
                Part0 = R6parts.torso,
669
                Part1 = R6parts.head,
670
                C0 = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
671
                C1 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
672
            },
673
            rootJoint = {
674
                Parent = R6parts.root,
675
                Name = "RootJoint" ,
676
                Part0 = R6parts.root,
677
                Part1 = R6parts.torso,
678
                C0 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
679
                C1 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
680
            },
681
            rightShoulder = {
682
                Parent = R6parts.torso,
683
                Name = "Right Shoulder",
684
                Part0 = R6parts.torso,
685
                Part1 = R6parts.rightArm,
686
                C0 = cf(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
687
                C1 = cf(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
688
            },
689
            leftShoulder = {
690
                Parent = R6parts.torso,
691
                Name = "Left Shoulder",
692
                Part0 = R6parts.torso,
693
                Part1 = R6parts.leftArm,
694
                C0 = cf(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
695
                C1 = cf(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
696
            },
697
            rightHip = {
698
                Parent = R6parts.torso,
699
                Name = "Right Hip",
700
                Part0 = R6parts.torso,
701
                Part1 = R6parts.rightLeg,
702
                C0 = cf(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
703
                C1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
704
            },
705
            leftHip = {
706
                Parent = R6parts.torso,
707
                Name = "Left Hip" ,
708
                Part0 = R6parts.torso,
709
                Part1 = R6parts.leftLeg,
710
                C0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
711
                C1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
712
            }
713
        }
714
        for i, v in pairs(R6joints) do
715
            local joint = Instance.new("Motor6D")
716
            for prop, val in pairs(v) do
717
                joint[prop] = val
718
            end
719
            R6joints[i] = joint
720
        end
721
        if hum1 then
722
            hum1.RigType, hum1.HipHeight = Enum.HumanoidRigType.R6, 0
723
        end
724
    end
725
end
726
727
local torso1 = torso
728
torso = gp(c, "Torso", "BasePart") or ((not R15toR6) and gp(c, torso.Name, "BasePart"))
729
if (typeof(hedafterneck) == "Instance") and head and torso and torso1 then
730
    local conNeck, conTorso, conTorso1 = nil, nil, nil
731
    local aligns = {}
732
    local function enableAligns()
733
        conNeck:Disconnect()
734
        conTorso:Disconnect()
735
        conTorso1:Disconnect()
736
        for i, v in pairs(aligns) do
737
            v.Enabled = true
738
        end
739
    end
740
    conNeck = hedafterneck.Changed:Connect(function(prop)
741
        if table.find({"Part0", "Part1", "Parent"}, prop) then
742
            enableAligns()
743
        end
744
    end)
745
    conTorso = torso:GetPropertyChangedSignal("Parent"):Connect(enableAligns)
746
    conTorso1 = torso1:GetPropertyChangedSignal("Parent"):Connect(enableAligns)
747
    for i, v in pairs(getdescendants(head)) do
748
        if isa(v, "AlignPosition") or isa(v, "AlignOrientation") then
749
            i = tostring(i)
750
            aligns[i] = v
751
            v:GetPropertyChangedSignal("Parent"):Connect(function()
752
                aligns[i] = nil
753
            end)
754
            v.Enabled = false
755
        end
756
    end
757
end
758
759
local flingpart0 = gp(model, flingpart, "BasePart") or gp(gp(model, flingpart, "Accessory"), "Handle", "BasePart")
760
local flingpart1 = gp(c, flingpart, "BasePart") or gp(gp(c, flingpart, "Accessory"), "Handle", "BasePart")
761
762
local fling = function() end
763
if flingpart0 and flingpart1 then
764
    flingpart0:GetPropertyChangedSignal("Parent"):Connect(function()
765
        if not (flingpart0 and flingpart0.Parent) then
766
            flingpart0 = nil
767
            fling = function() end
768
        end
769
    end)
770
    flingpart0.Archivable = true
771
    flingpart1:GetPropertyChangedSignal("Parent"):Connect(function()
772
        if not (flingpart1 and flingpart1.Parent) then
773
            flingpart1 = nil
774
            fling = function() end
775
        end
776
    end)
777
    local att0 = gp(flingpart0, "att0_" .. flingpart0.Name, "Attachment")
778
    local att1 = gp(flingpart1, "att1_" .. flingpart1.Name, "Attachment")
779
    if att0 and att1 then
780
        att0:GetPropertyChangedSignal("Parent"):Connect(function()
781
            if not (att0 and att0.Parent) then
782
                att0 = nil
783
                fling = function() end
784
            end
785
        end)
786
        att1:GetPropertyChangedSignal("Parent"):Connect(function()
787
            if not (att1 and att1.Parent) then
788
                att1 = nil
789
                fling = function() end
790
            end
791
        end)
792
        local lastfling = nil
793
        local mouse = lp:GetMouse()
794
        fling = function(target, duration, rotVelocity)
795
            if typeof(target) == "Instance" then
796
                if isa(target, "BasePart") then
797
                    target = target.Position
798
                elseif isa(target, "Model") then
799
                    target = gp(target, "HumanoidRootPart", "BasePart") or gp(target, "Torso", "BasePart") or gp(target, "UpperTorso", "BasePart") or target:FindFirstChildWhichIsA("BasePart")
800
                    if target then
801
                        target = target.Position
802
                    else
803
                        return
804
                    end
805
                elseif isa(target, "Humanoid") then
806
                    target = target.Parent
807
                    if not (target and isa(target, "Model")) then
808
                        return
809
                    end
810
                    target = gp(target, "HumanoidRootPart", "BasePart") or gp(target, "Torso", "BasePart") or gp(target, "UpperTorso", "BasePart") or target:FindFirstChildWhichIsA("BasePart")
811
                    if target then
812
                        target = target.Position
813
                    else
814
                        return
815
                    end
816
                else
817
                    return
818
                end
819
            elseif typeof(target) == "CFrame" then
820
                target = target.Position
821
            elseif typeof(target) ~= "Vector3" then
822
                target = mouse.Hit
823
                if target then
824
                    target = target.Position
825
                else
826
                    return
827
                end
828
            end
829
            if target.Y < ws.FallenPartsDestroyHeight + 5 then
830
                target = v3(target.X, ws.FallenPartsDestroyHeight + 5, target.Z)
831
            end
832
            lastfling = target
833
            if type(duration) ~= "number" then
834
                duration = tonumber(duration) or 0.5
835
            end
836
            if typeof(rotVelocity) ~= "Vector3" then
837
                rotVelocity = v3(20000, 20000, 20000)
838
            end
839
            if not (target and flingpart0 and flingpart1 and att0 and att1) then
840
                return
841
            end
842
            flingpart0.Archivable = true
843
            local flingpart = clone(flingpart0)
844
            flingpart.Transparency = 1
845
            flingpart.CanCollide = false
846
            flingpart.Name = "flingpart_" .. flingpart0.Name
847
            flingpart.Anchored = true
848
            flingpart.Velocity = v3_0
849
            flingpart.RotVelocity = v3_0
850
            flingpart.Position = target
851
            flingpart:GetPropertyChangedSignal("Parent"):Connect(function()
852
                if not (flingpart and flingpart.Parent) then
853
                    flingpart = nil
854
                end
855
            end)
856
            flingpart.Parent = flingpart1
857
            if flingpart0.Transparency > 0.5 then
858
                flingpart0.Transparency = 0.5
859
            end
860
            att1.Parent = flingpart
861
            local con = nil
862
            local rotchg = v3(0, rotVelocity.Unit.Y * -1000, 0)
863
            con = heartbeat:Connect(function(delta)
864
                if target and (lastfling == target) and flingpart and flingpart0 and flingpart1 and att0 and att1 then
865
                    flingpart.Orientation += rotchg * delta
866
                    flingpart0.RotVelocity = rotVelocity
867
                else
868
                    con:Disconnect()
869
                end
870
            end)
871
            if alignmode ~= 4 then
872
                local con = nil
873
                con = renderstepped:Connect(function()
874
                    if flingpart0 and target then
875
                        flingpart0.RotVelocity = v3_0
876
                    else
877
                        con:Disconnect()
878
                    end
879
                end)
880
            end
881
            twait(duration)
882
            if lastfling ~= target then
883
                if flingpart then
884
                    if att1 and (att1.Parent == flingpart) then
885
                        att1.Parent = flingpart1
886
                    end
887
                    pcall(destroy, flingpart)
888
                end
889
                return
890
            end
891
            target = nil
892
            if not (flingpart and flingpart0 and flingpart1 and att0 and att1) then
893
                return
894
            end
895
            flingpart0.RotVelocity = v3_0
896
            att1.Parent = flingpart1
897
            pcall(destroy, flingpart)
898
        end
899
    end
900
end
901
902
lp:GetMouse().Button1Down:Connect(fling) --click fling
903
904
lol = getcustomasset or getsynasset
905
getgenv().LoadLibrary = function(lib) return loadstring(game:HttpGet("https://raw.githubusercontent.com/Roblox/Core-Scripts/master/CoreScriptsRoot/Libraries/" .. lib .. ".lua"))() end
906
907
local Player, Character, Mouse  = game:service("Players").LocalPlayer, game:GetService("Players").LocalPlayer.Character, game:GetService("Players").LocalPlayer:GetMouse();
908
local Torso = Character:FindFirstChild("Torso")
909
local rootPart = Character:FindFirstChild("HumanoidRootPart")
910
local Humanoid = Character:FindFirstChild("Humanoid")
911
local Head = Character:FindFirstChild("Head")
912
local Right_Arm = Character:FindFirstChild("Right Arm")
913
local Left_Arm = Character:FindFirstChild("Left Arm")
914
local Right_Leg = Character:FindFirstChild("Right Leg")
915
local Left_Leg = Character:FindFirstChild("Left Leg")
916
local Right_Shoulder = Torso:FindFirstChild("Right Shoulder")
917
local Left_Shoulder = Torso:FindFirstChild("Left Shoulder")
918
local Right_Hip = Torso:FindFirstChild("Right Hip")
919
local Left_Hip = Torso:FindFirstChild("Left Hip")
920
local Neck = Torso:FindFirstChild("Neck")
921
local rootPart = Character:FindFirstChild("HumanoidRootPart")
922
local rootJoint = rootPart:FindFirstChild("RootJoint")
923
local CurrentIdle = "Idling1"
924
local Degree = 0.0175438596491228
925
local Camera = workspace.CurrentCamera
926
local canremove = false
927
local debounce = false
928
local Size = 1
929
dabbing = false
930
_G.SongName = math.random(1,9025232)
931
sin = math.sin
932
Right_Leg.FormFactor                 = "Custom";
933
Left_Leg.FormFactor                        = "Custom";
934
rootPart.Archivable                 = true;
935
rootJoint.Archivable                 = true;
936
c_new                                                = CFrame.new;
937
c_angles                                        = CFrame.Angles;
938
i_new = Instance.new
939
Humanoid:ClearAllChildren();
940
local isAttacking = false
941
local isSprinting = false
942
local Animations = false
943
local Angle = 0
944
local Axis = 0
945
local angleSpeed = 1
946
local axisSpeed = angleSpeed
947
local currentAnim
948
local levetatingheight = 3
949
local WalkType = "Ground"
950
local holding = false 
951
isFalling = false
952
local val2 = 1
953
local val3 = 1
954
local Sitting = false
955
Jp = Humanoid.JumpPower*Size
956
ws = 16*Size/2
957
val = 1
958
local deb = false
959
drink = false
960
local deb2 = false
961
local deb3 = false
962
local deb5 = false
963
local deb6 = false
964
local Punch2 = false
965
local Raising = false
966
local Stomping = false
967
local Grabbing = false
968
 crawl = false
969
 local valz = false
970
 Character.Health:Destroy()
971
local Shielding = false
972
local Clap = false
973
local Punch1 = false
974
local combo = 1
975
local Charge2 = false
976
local Punch2 = false
977
Spin1 = false
978
local Charge3 = false
979
local Lunge1 = false
980
local Charge4 = false
981
local Uppercut1 = false
982
local Terra = false
983
local rage = false
984
local raged = 10
985
Mouse.KeyDown:connect(function(key)
986
        if key:byte() == 48 then
987
                isSprinting = true
988
        end
989
        
990
        Mouse.KeyUp:connect(function(key2)
991
                if key:byte() == 48 then
992
                        isSprinting = false
993
                end
994
        end)
995
end)
996
 
997
twist = 0
998
999
local deb = false
1000
local activez = false
1001
1002
Mouse.KeyDown:connect(function(key)
1003
if key == "z" and Humanoid.Health < Humanoid.MaxHealth/2 and Animations == false then
1004
rage = true
1005
Humanoid.WalkSpeed = 0
1006
Humanoid.MaxHealth = Humanoid.MaxHealth*100000000000
1007
Humanoid.Health = Humanoid.Health*100000000000
1008
spawn(function()
1009
for i = 0,1,0.03 do
1010
 local x,y,z = Torso.CFrame:toEulerAnglesXYZ()
1011
local ring = Instance.new("Part", Character)
1012
ring.Anchored = true
1013
ring.CFrame = rootPart.CFrame * CFrame.new(0,-2.5*Size,0)*CFrame.Angles(math.rad(-90),0,0)
1014
ring.BrickColor  = BrickColor.new("Really red")
1015
ring.CanCollide = false
1016
local ringmesh = Instance.new("SpecialMesh", ring)
1017
ringmesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
1018
local ring2 = Instance.new("Part", Character)
1019
ring2.Anchored = true
1020
ring2.Shape = "Cylinder"
1021
ring2.CanCollide = false
1022
ring2.CFrame = rootPart.CFrame*CFrame.Angles(0,0,math.rad(90))
1023
ring2.BrickColor = BrickColor.new("Really red")
1024
ring2.TopSurface = 0
1025
ring2.BottomSurface = 0
1026
game.Debris:AddItem(ring2, 0.8)
1027
game.Debris:AddItem(ring, 0.8)
1028
spawn(function()
1029
for i = 0,1,0.01 do
1030
ring2.Size = ring2.Size+Vector3.new(5 ,1.5,5)
1031
ring2.Transparency = i*8
1032
wait()
1033
end
1034
end)
1035
spawn(function()
1036
for i = 0,1,0.01 do
1037
ringmesh.Scale = ringmesh.Scale+Vector3.new(19,19,10)
1038
ring.Transparency = i*8
1039
wait()
1040
end
1041
end)
1042
wait(0.17)
1043
end
1044
end)
1045
wait(2)
1046
Humanoid.WalkSpeed = 16
1047
rage = false
1048
Humanoid.MaxHealth = 1500*raged
1049
Humanoid.Health = Humanoid.MaxHealth/2
1050
end
1051
end)
1052
1053
Mouse.KeyDown:connect(function(key)
1054
if key == "e" and Animations == false then
1055
Animations = true
1056
Terra = true
1057
activez = true
1058
wait(0.1)
1059
local b  = Instance.new("Part", Character)
1060
b.TopSurface = 0
1061
b.BottomSurface = 0
1062
b.Shape = "Ball"
1063
b.CanCollide = false
1064
b.BrickColor = BrickColor.new("Bright violet")
1065
b.CFrame = rootPart.CFrame*CFrame.new(0,0,1)
1066
b.Size = Vector3.new(60,60,60)
1067
b.Transparency = 0.4
1068
b.Material = "Neon"
1069
local bodyv = Instance.new("BodyVelocity", b)
1070
bodyv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
1071
bodyv.Velocity = rootPart.CFrame.lookVector*60
1072
1073
spawn(function()
1074
while activez == true do
1075
local ring = Instance.new("Part", Character)
1076
ring.Anchored = true
1077
ring.BrickColor  = BrickColor.new("Bright violet")
1078
ring.CanCollide = false
1079
game.Debris:AddItem(ring, 2)
1080
local ringmesh = Instance.new("SpecialMesh", ring)
1081
ringmesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
1082
spawn(function()
1083
for i = 0,1,0.01 do
1084
ringmesh.Scale = ringmesh.Scale+Vector3.new(6,6,6)
1085
ring.Transparency = i*8
1086
wait()
1087
end
1088
end)
1089
ring.CFrame = b.CFrame*CFrame.Angles(math.random(1,360),math.random(1,360),math.random(1,360))
1090
wait(0)
1091
end
1092
end)
1093
1094
1095
function onDamage(Part)
1096
        if Part.Parent:FindFirstChild("Torso") ~= nil and Part.Parent.Name ~= Character.Name and deb3 == false then
1097
        deb3 = true
1098
       Part.Parent.Humanoid:TakeDamage((10*Size)*raged)
1099
       activez = false
1100
                   spawn(function()
1101
                      for i = 1,10 do
1102
                      local p = Instance.new("Part", Character)
1103
                      p.TopSurface = 0
1104
                      p.BottomSurface = 0
1105
                      p.Size = Vector3.new(2,2,2)
1106
                      p.CanCollide = false
1107
                      p.Anchored = true
1108
                      p.BrickColor = BrickColor.new("Bright violet")
1109
                      game.Debris:AddItem(p, 2)
1110
                      p.CFrame = b.CFrame*CFrame.Angles(math.random(1,360),math.random(1,360),math.random(1,360))
1111
                      spawn(function()
1112
                      for i = 0,1,0.01 do
1113
                      p.Size = p.Size+Vector3.new(12,12,12)
1114
                      p.Transparency = i*8
1115
                      wait()
1116
                    end
1117
                   end)
1118
                      end
1119
                      end)
1120
                      b:Destroy()
1121
        end
1122
        wait(0.13)
1123
        deb3 = false
1124
end
1125
1126
b.Touched:connect(onDamage)
1127
          
1128
1129
1130
  --[[
1131
spawn(function()
1132
wait(3)
1133
if touched == false then
1134
--asd
1135
end
1136
end)
1137
--]]
1138
1139
Terra = false
1140
Animations = false
1141
end
1142
end)
1143
1144
Mouse.Button1Down:connect(function()
1145
if combo == 1 and Animations == false then
1146
Charge = true
1147
Animations = true
1148
wait(0.13)
1149
Charge = false
1150
Punch1 = true
1151
1152
1153
dmg = math.random(7,15)
1154
        for i,v in pairs(game.Workspace:GetChildren()) do
1155
        torso = v:FindFirstChild("Torso")
1156
                if torso and (torso.Position - Right_Arm.Position).magnitude <= 3*Size and torso.Parent.Name ~= Character.Name then
1157
                      torso.Parent.Humanoid:TakeDamage(dmg*raged)
1158
                     --[[local p = Instance.new("Part", torso.Parent)
1159
                      p.CanCollide = false
1160
                      p.Anchored = true
1161
                      p.CFrame = torso.CFrame*CFrame.new(math.random(-2,2),2,math.random(-2,2))
1162
                      p.Transparency  = 1
1163
                      local billb = Instance.new("BillboardGui", p)
1164
                      billb.Adornee = p
1165
                      billb.AlwaysOnTop = true
1166
                      billb.Enabled = true
1167
                      local textl = Instance.new("TextLabel", billb)
1168
                      textl.Text = tostring(dmg)--]]
1169
                else
1170
                       --hi just some useless code here
1171
                end
1172
        end
1173
  
1174
  
1175
1176
wait(0.13) 
1177
deb = false
1178
Punch1 = false
1179
Animations = false
1180
combo = combo+1
1181
1182
elseif combo == 2 and Animations == false then
1183
Charge2 = true
1184
Animations = true
1185
wait(0.13)
1186
Charge2 = false
1187
Punch2 = true
1188
1189
  for i,v in pairs(game.Workspace:GetChildren()) do
1190
        torso = v:FindFirstChild("Torso")
1191
                if torso and (torso.Position - Left_Arm.Position).magnitude <= 3*Size and torso.Parent.Name ~= Character.Name then
1192
                      torso.Parent.Humanoid:TakeDamage(math.random(7,15)*raged)
1193
                else
1194
                       --hi just some useless code here
1195
                end
1196
        end
1197
  
1198
  
1199
wait(0.16) 
1200
deb2 = false
1201
Punch2 = false
1202
Animations = false
1203
combo = combo+1
1204
elseif combo == 4 and Animations == false then
1205
1206
Charge3 = true
1207
Animations = true
1208
wait(0.13)
1209
1210
1211
Charge3 = false
1212
Lunge1 = true
1213
local  phitboxz3 = Instance.new("Part", Character)
1214
phitboxz3.CanCollide = false
1215
phitboxz3.Transparency = 1
1216
phitboxz3.Size = Vector3.new(4,4,4)
1217
local pweldz3 = Instance.new("Weld", Character)
1218
pweldz3.Part0 = phitboxz3
1219
pweldz3.Part1 = Torso
1220
pweldz3.C0 = CFrame.new(0,-1,3)
1221
1222
function onDamage(Part)
1223
        if Part.Parent:FindFirstChild("Torso") ~= nil and Part.Parent.Name ~= Character.Name and deb3 == false then
1224
        deb3 = true
1225
       Part.Parent.Humanoid:TakeDamage(10*Size*raged)
1226
        end
1227
        wait(0.13)
1228
        deb3 = false
1229
end
1230
1231
phitboxz3.Touched:connect(onDamage)
1232
1233
wait(0.13)
1234
phitboxz3:Destroy()
1235
deb3 = false
1236
Lunge1 = false
1237
Animations = false
1238
combo = combo+1
1239
1240
 elseif combo == 3 and Animations == false then
1241
 Charge4 = true
1242
 Animations = true
1243
 wait(0.13)
1244
 Charge4 = false
1245
 Uppercut1 = true
1246
 
1247
   for i,v in pairs(game.Workspace:GetChildren()) do
1248
        torso = v:FindFirstChild("Torso")
1249
                if torso and (torso.Position - Right_Arm.Position).magnitude <= 3*Size and torso.Parent.Name ~= Character.Name then
1250
                      torso.Parent.Humanoid:TakeDamage(math.random(7,15)*raged)
1251
                else
1252
                       --hi just some useless code here
1253
                end
1254
        end
1255
  
1256
  
1257
 wait(0.13)
1258
 Uppercut1 = false
1259
 Charge4 = false
1260
 Animations = false
1261
 
1262
 combo = combo+1
1263
elseif combo == 5 and Animations == false then
1264
Spin1 = true
1265
Animations = true
1266
1267
spawn(function()
1268
while Spin1 == true do
1269
   for i,v in pairs(game.Workspace:GetChildren()) do
1270
        torso = v:FindFirstChild("Torso")
1271
                if torso and (torso.Position - Torso.Position).magnitude <= 7*Size and torso.Parent.Name ~= Character.Name then
1272
                      torso.Parent.Humanoid:TakeDamage(math.random(10,18)*raged)
1273
                else
1274
                       --hi just some useless code here
1275
                end
1276
        end
1277
wait(0.5)
1278
end
1279
end)
1280
1281
wait(2)
1282
Spin1 = false
1283
Animations = false
1284
combo = 1
1285
end
1286
end)
1287
1288
spawn(function()
1289
while game:service'RunService'.RenderStepped:wait() do
1290
if twist < 360 then
1291
for i = 0,360,40 do
1292
twist = i
1293
game:service'RunService'.RenderStepped:wait()
1294
end
1295
elseif twist == 360 then
1296
twist = 0
1297
end
1298
end
1299
end)
1300
1301
newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
1302
        wld = Instance.new("Weld", wp1)
1303
        wld.Part0 = wp0
1304
        wld.Part1 = wp1
1305
        wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
1306
        return wld
1307
end
1308
 
1309
function noOutline(part)
1310
        Part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
1311
end
1312
 
1313
local function Part(Color, Material, Transparency,Shape, Size, CFrame,CanCollide,Anchored,parent)
1314
        local partie = i_new("Part",parent)
1315
        partie.BrickColor = BrickColor.new(Color)
1316
        partie.Material = Material
1317
        partie.Shape = Shape
1318
        partie.Transparency = Transparency
1319
        partie.Size = Size
1320
        partie.CFrame = CFrame
1321
        partie.CanCollide = CanCollide
1322
        partie.Anchored = Anchored
1323
        return partie
1324
end
1325
        
1326
 
1327
 
1328
function swait(num)
1329
        if num == 0 or num == nil then
1330
                game:GetService("RunService").RenderStepped:wait()
1331
        else
1332
                for i = 0, num do
1333
                        game:GetService("RunService").RenderStepped:wait()
1334
                end
1335
        end
1336
end
1337
 
1338
Humanoid.FreeFalling:connect(function(falling)
1339
if falling then
1340
isFalling = true
1341
elseif not falling then
1342
isFalling = false
1343
end
1344
end)
1345
 
1346
function mesh(Mesh, part, meshtype, meshid, offset, scale)
1347
        local mesh = i_new(Mesh)
1348
        mesh.Parent = part
1349
        if Mesh == "SpecialMesh" then
1350
                mesh.MeshType = meshtype
1351
                mesh.MeshId = meshid
1352
        end
1353
        mesh.Offset = offset
1354
        mesh.Scale = scale
1355
        return mesh
1356
end
1357
1358
1359
function rayCast(Pos, Dir, Max, Ignore) -- Origin Position, Direction, MaxDistance, IgnoreDescendants
1360
        return game:GetService("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
1361
end
1362
 
1363
function QuaternionFromCFrame(cf) 
1364
        local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
1365
        local trace = m00 + m11 + m22 
1366
        if trace > 0 then 
1367
                local s = math.sqrt(1 + trace) 
1368
                local recip = 0.5/s 
1369
                return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
1370
        else 
1371
                local i = 0 
1372
                if m11 > m00 then
1373
                        i = 1
1374
                end
1375
                if m22 > (i == 0 and m00 or m11) then 
1376
                        i = 2 
1377
                end 
1378
                if i == 0 then 
1379
                        local s = math.sqrt(m00-m11-m22+1) 
1380
                        local recip = 0.5/s 
1381
                        return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
1382
                elseif i == 1 then 
1383
                        local s = math.sqrt(m11-m22-m00+1) 
1384
                        local recip = 0.5/s 
1385
                        return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
1386
                elseif i == 2 then 
1387
                        local s = math.sqrt(m22-m00-m11+1) 
1388
                        local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
1389
                end 
1390
        end 
1391
end
1392
 
1393
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
1394
        local xs, ys, zs = x + x, y + y, z + z 
1395
        local wx, wy, wz = w*xs, w*ys, w*zs 
1396
        local xx = x*xs 
1397
        local xy = x*ys 
1398
        local xz = x*zs 
1399
        local yy = y*ys 
1400
        local yz = y*zs 
1401
        local zz = z*zs 
1402
        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)) 
1403
end
1404
 
1405
function QuaternionSlerp(a, b, t) 
1406
        local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
1407
        local startInterp, finishInterp; 
1408
        if cosTheta >= 0.0001 then 
1409
                if (1 - cosTheta) > 0.0001 then 
1410
                        local theta = math.acos(cosTheta) 
1411
                        local invSinTheta = 1/math.sin(theta) 
1412
                        startInterp = math.sin((1-t)*theta)*invSinTheta 
1413
                        finishInterp = math.sin(t*theta)*invSinTheta  
1414
                else 
1415
                        startInterp = 1-t 
1416
                        finishInterp = t 
1417
                end 
1418
        else 
1419
                if (1+cosTheta) > 0.0001 then 
1420
                        local theta = math.acos(-cosTheta) 
1421
                        local invSinTheta = 1/math.sin(theta) 
1422
                        startInterp = math.sin((t-1)*theta)*invSinTheta 
1423
                        finishInterp = math.sin(t*theta)*invSinTheta 
1424
                else 
1425
                        startInterp = t-1 
1426
                        finishInterp = t 
1427
                end 
1428
        end 
1429
        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 
1430
end
1431
1432
function clerp(a, b, t) 
1433
        local qa = {QuaternionFromCFrame(a)}
1434
        local qb = {QuaternionFromCFrame(b)} 
1435
        local ax, ay, az = a.x, a.y, a.z 
1436
        local bx, by, bz = b.x, b.y, b.z
1437
        local _t = 1-t
1438
        return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
1439
end
1440
 
1441
1442
wait()
1443
function bigger (char, S)
1444
 tor = char.Torso
1445
 larm = char["Left Arm"]
1446
 rarm = char["Right Arm"]
1447
 lleg = char["Left Leg"]
1448
 rleg = char["Right Leg"]
1449
 head = char.Head
1450
 root = char.HumanoidRootPart
1451
 hum = char.Humanoid
1452
 
1453
 tor.Size = tor.Size*S
1454
 larm.Size = larm.Size*S
1455
 rarm.Size = rarm.Size*S
1456
 lleg.Size = lleg.Size*S
1457
 rleg.Size = rleg.Size*S
1458
 root.Size = root.Size*S
1459
 hum.HipHeight = hum.HipHeight*S
1460
 hum.JumpPower = hum.JumpPower*S/1.1
1461
 head.Mesh.Scale = head.Mesh.Scale*S
1462
  hum.MaxHealth = 500*S
1463
  print(hum.MaxHealth)
1464
 for i,v in pairs (char:children()) do
1465
 if v:IsA("Hat") then
1466
     v.Handle.Mesh.Scale = v.Handle.Mesh.Scale*S
1467
     
1468
local yInc = (S-1)*.5
1469
                v.AttachmentPos = (v.AttachmentPos * S) - (v.AttachmentUp * Vector3.new(yInc,yInc,yInc))
1470
 
1471
 end
1472
 end
1473
LA_Weld = newWeld(Torso, Left_Arm, -1.5*S, 0.5*S, 0)
1474
Left_Arm.Weld.C1 = CFrame.new(0, 0.5*S, 0)
1475
RA_Weld = newWeld(Torso, Right_Arm, 1.5*S, 0.5*S, 0)
1476
Right_Arm.Weld.C1 = CFrame.new(0, 0.5*S, 0)
1477
LL_Weld = newWeld(Torso, Left_Leg, -0.5*S, -1*S, 0)
1478
Left_Leg.Weld.C1 = CFrame.new(0, 1*S, 0) -- Left_Leg.Weld.C1 = CFrame.new(0, 1, 0.15)
1479
RL_Weld = newWeld(Torso, Right_Leg, 0.5*S, -1*S, 0)
1480
Right_Leg.Weld.C1 = CFrame.new(0, 1*S, 0) -- Right_Leg.Weld.C1 = CFrame.new(0, 1, 0.15)
1481
Torso_Weld = newWeld(rootPart, Torso, 0, -1*S, 0)
1482
Torso.Weld.C1 = CFrame.new(0, -1*S, 0)
1483
Head_Weld = newWeld(Torso, Head, 0, 1.5*S, 0)
1484
end
1485
 
1486
bigger(Character, Size)
1487
 
1488
sine = 0
1489
change = 1
1490
1491
 spawn(function()
1492
 
1493
 while wait(.7) do
1494
 spawn(function()
1495
 while wait(5) do
1496
 _G.currentHealth = Humanoid.Health
1497
 end
1498
 end)
1499
 if Humanoid.Health >= _G.currentHealth then
1500
 Humanoid.Health = Humanoid.Health+Humanoid.MaxHealth/20
1501
 end
1502
 end
1503
 end)
1504
 
1505
 function stuff(limb)
1506
 local mainpart = Instance.new("Part", Character)
1507
 mainpart.CanCollide = false
1508
 local mesh = Instance.new("SpecialMesh", mainpart)
1509
 mainpart.BrickColor = BrickColor.new("Bright yellow")
1510
 mesh.MeshId = "http://www.roblox.com/Asset/?id=9944765"
1511
 mesh.Scale = Vector3.new(2,2,7)
1512
 local w1 = Instance.new("Weld", limb)
1513
 w1.Part0 = mainpart
1514
 w1.Part1 = limb
1515
 w1.C0 = CFrame.Angles(math.rad(90),math.rad(180),math.rad(180)) *  CFrame.new(0,1.5,0)
1516
 local cap = Instance.new("Part", Character)
1517
 cap.CanCollide = false
1518
 cap.BrickColor = BrickColor.new("Bright yellow")
1519
 local mesh2 = Instance.new("SpecialMesh", cap)
1520
 mesh2.MeshId = "http://www.roblox.com/Asset/?id=9944765"
1521
 mesh2.Scale = Vector3.new(2,2,1)
1522
 local w2 = Instance.new("Weld", mainpart)
1523
 w2.Part0 = cap
1524
 w2.Part1 = mainpart
1525
 w2.C0 = CFrame.new(0,0,-0.01) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(180))
1526
  local claw1 = Instance.new("Part", Character)
1527
  claw1.CanCollide = false
1528
 local mesh3 = Instance.new("SpecialMesh", claw1)
1529
 mesh3.MeshId = "http://www.roblox.com/Asset/?id=9944765"
1530
 mesh3.Scale = Vector3.new(0.5,1,3)
1531
  local w3 = Instance.new("Weld", mainpart)
1532
 w3.Part0 = claw1
1533
 w3.Part1 = cap
1534
 w3.C0 = CFrame.new(0,-0.25,0.2)
1535
 
1536
   local claw2 = Instance.new("Part", Character)
1537
   claw2.CanCollide = false
1538
 local mesh4 = Instance.new("SpecialMesh", claw2)
1539
 mesh4.MeshId = "http://www.roblox.com/Asset/?id=9944765"
1540
 mesh4.Scale = Vector3.new(0.5,1,3)
1541
  local w4 = Instance.new("Weld", mainpart)
1542
 w4.Part0 = claw2
1543
 w4.Part1 = cap
1544
 w4.C0 = CFrame.new(0.5,-0.25,0.2)
1545
 
1546
    local claw3 = Instance.new("Part", Character)
1547
    claw3.CanCollide = false
1548
 local mesh5 = Instance.new("SpecialMesh", claw3)
1549
 mesh5.MeshId = "http://www.roblox.com/Asset/?id=9944765"
1550
 mesh5.Scale = Vector3.new(0.5,1,3)
1551
  local w5 = Instance.new("Weld", mainpart)
1552
 w5.Part0 = claw3
1553
 w5.Part1 = cap
1554
 w5.C0 = CFrame.new(-0.5,-0.25,0.2)
1555
 
1556
     local clawc = Instance.new("Part", Character)
1557
clawc.TopSurface = 0
1558
clawc.BottomSurface = 0
1559
clawc.Size = Vector3.new(1.1,0.8,1.1)
1560
clawc.CanCollide = false
1561
clawc.BrickColor = BrickColor.new("Bright yellow")
1562
  local w6 = Instance.new("Weld", mainpart)
1563
 w6.Part0 = clawc
1564
 w6.Part1 = limb
1565
 
1566
  
1567
     local clawc1 = Instance.new("Part", Character)
1568
clawc1.TopSurface = 0
1569
clawc1.BottomSurface = 0
1570
clawc1.Size = Vector3.new(0.65,0.8,0.4)
1571
clawc1.Shape = "Ball"
1572
clawc1.CanCollide = false
1573
clawc1.BrickColor = BrickColor.new("Bright yellow")
1574
  local w7 = Instance.new("Weld", mainpart)
1575
 w7.Part0 = clawc1
1576
 w7.Part1 = claw1
1577
 w7.C1 = CFrame.new(0,0.2,-0.1)
1578
 
1579
 local clawc2 = Instance.new("Part", Character)
1580
clawc2.TopSurface = 0
1581
clawc2.BottomSurface = 0
1582
clawc2.Size = Vector3.new(0.65,0.8,0.4)
1583
clawc2.Shape = "Ball"
1584
clawc2.CanCollide = false
1585
clawc2.BrickColor = BrickColor.new("Bright yellow")
1586
  local w9 = Instance.new("Weld", mainpart)
1587
 w9.Part0 = clawc2
1588
 w9.Part1 = claw2
1589
 w9.C1 = CFrame.new(0,0.2,-0.1)
1590
 
1591
  local clawc3 = Instance.new("Part", Character)
1592
clawc3.TopSurface = 0
1593
clawc3.BottomSurface = 0
1594
clawc3.Size = Vector3.new(0.65,0.8,0.4)
1595
clawc3.Shape = "Ball"
1596
clawc3.CanCollide = false
1597
clawc3.BrickColor = BrickColor.new("Bright yellow")
1598
  local w10 = Instance.new("Weld", mainpart)
1599
 w10.Part0 = clawc3
1600
 w10.Part1 = claw3
1601
 w10.C1 = CFrame.new(0,0.2,-0.1)
1602
 
1603
 end
1604
 
1605
  stuff(Right_Arm)
1606
  stuff(Left_Arm)
1607
 
1608
 game.Lighting.Outlines = false
1609
 
1610
1611
 game:GetService("RunService").Stepped:connect(function()
1612
--Camera.CameraSubject = Torso
1613
        Angle = (Angle % 100) + angleSpeed/10
1614
        Axis = (Axis % 100) + axisSpeed/10
1615
        walkingMagnitude = Vector3.new(rootPart.Velocity.X, 0, rootPart.Velocity.Z).magnitude
1616
        jumpVel = Torso.Velocity.Y
1617
        sine = change + sine
1618
 
1619
        if (Humanoid.Jump) and jumpVel > 1 then
1620
                currentAnim = "Jumping"
1621
        elseif walkingMagnitude < 2 then
1622
                currentAnim = "Idling"
1623
        elseif isSprinting == true then
1624
                currentAnim = "Sprinting"
1625
        elseif walkingMagnitude > 2 then
1626
                isSprinting = false
1627
                currentAnim = "Walking"
1628
        elseif isAttacking == true then
1629
                currentAnim = "Attacking"
1630
        end
1631
 
1632
 
1633
        if currentAnim == "Jumping" and Animations == false then
1634
                angleSpeed = 2
1635
                axisSpeed = 2
1636
                change = 0.5
1637
                RA_Weld.C0                = clerp(RA_Weld.C0, c_new(1.5*Size, 0.5*Size, 0) * c_angles(math.rad(0), math.rad(0), math.rad(10)), 0.15)
1638
                LA_Weld.C0                = clerp(LA_Weld.C0, c_new(-1.5*Size, 0.5*Size, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-10)), 0.15)
1639
                LL_Weld.C0                = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(-5)), 0.15)
1640
                RL_Weld.C0                 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(5)), 0.15)
1641
                Torso_Weld.C0         = clerp(Torso_Weld.C0, c_new(0, -1*Size, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
1642
Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, 0) * c_angles(math.rad(9), math.rad(0), math.rad(0)), 0.15)  
1643
  
1644
1645
       elseif isFalling == true and Animations == false then
1646
                angleSpeed = 2
1647
                axisSpeed = 2
1648
                change = 0.5
1649
                RA_Weld.C0                = clerp(RA_Weld.C0, c_new(1.5*Size, 0.5*Size, 0) * c_angles(math.rad(0), math.rad(0), math.rad(50)), 0.15)
1650
                LA_Weld.C0                = clerp(LA_Weld.C0, c_new(-1.5*Size, 0.5*Size, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-50)), 0.15)
1651
                LL_Weld.C0                = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size, -0.5*Size) * c_angles(math.rad(-20), math.rad(0), math.rad(-0)), 0.15)
1652
                RL_Weld.C0                 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size, -0.5*Size) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
1653
                Torso_Weld.C0         = clerp(Torso_Weld.C0, c_new(0, -1*Size, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
1654
Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, 0) * c_angles(math.rad(-15), math.rad(0), math.rad(0)), 0.15)    
1655
 
1656
        elseif currentAnim == "Idling" and Animations == false then
1657
                angleSpeed = 1
1658
                axisSpeed = 1
1659
                change = 0.5
1660
1661
                        RA_Weld.C0            = clerp(RA_Weld.C0, c_new(1.5*Size, 0.5*Size+-0.02*math.sin(tick()),0) * c_angles(math.rad(20)+math.rad(5*math.sin(tick()*1.5)), math.rad(20), math.rad(20)), 0.15)
1662
                LA_Weld.C0                = clerp(LA_Weld.C0, c_new(-1.5*Size, 0.5*Size+-0.05*math.sin(tick()/1.5),0) * c_angles(math.rad(20)+math.rad(-5*math.sin(tick()*1.5)), math.rad(-20), math.rad(-20)), 0.15)
1663
                LL_Weld.C0                = clerp(LL_Weld.C0, c_new(-0.5*Size, -0.9*Size-0.1*math.sin(tick()*4), 0) * c_angles(math.rad(0),math.rad(15),math.rad(-5)), 0.15)
1664
                RL_Weld.C0                 = clerp(RL_Weld.C0, c_new(0.5*Size, -0.9*Size-0.1*math.sin(tick()*4), 0)* c_angles(math.rad(0),math.rad(-15),math.rad(5)), 0.15)
1665
                Torso_Weld.C0         = clerp(Torso_Weld.C0, c_new(0*Size, -1.2*Size+0.1*math.sin(tick()*4), 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
1666
Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, 0) * c_angles(math.rad(0), math.rad(-10), math.rad(0)), 0.15)    
1667
                
1668
1669
1670
        elseif currentAnim == "Sprinting" and Animations == false then
1671
                angleSpeed = 1        
1672
                axisSpeed = 1
1673
                Humanoid.WalkSpeed = 72*Size
1674
                
1675
                        RA_Weld.C0            = clerp(RA_Weld.C0, c_new(1.5*Size, 0.5*Size,0) * c_angles(math.rad(-20), math.rad(0), math.rad(10)), 0.15)
1676
                LA_Weld.C0                = clerp(LA_Weld.C0, c_new(-1.5*Size, 0.5*Size,0) * c_angles(math.rad(-20), math.rad(0), math.rad(-15)), 0.15)
1677
                LL_Weld.C0                = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size, 0) * c_angles(math.rad(-10),math.rad(0),math.rad(0)), 0.15)
1678
                RL_Weld.C0                 = clerp(RL_Weld.C0, c_new(0.5*Size, -.1*Size, -0.3*Size)* c_angles(math.rad(5),math.rad(0),math.rad(0)), 0.15)
1679
                Torso_Weld.C0         = clerp(Torso_Weld.C0, c_new(0*Size, -1*Size, 0*Size) * c_angles(math.rad(-80), math.sin(rootPart.RotVelocity.y/10)/2, 0), 0.15)
1680
Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.4*Size, 0.4*Size) * c_angles(math.rad(80), math.rad(0), math.rad(0)), 0.15)    
1681
1682
       elseif Charge == true  then
1683
       
1684
                                      RA_Weld.C0                = clerp(RA_Weld.C0, c_new(1.5*Size, 0.7*Size, -0.25*Size) * c_angles(math.rad(-30), math.rad(35), math.rad(40)), 0.5)
1685
                       
1686
                LA_Weld.C0                = clerp(LA_Weld.C0, c_new(-1.2*Size, .3*Size, -.6*Size) * c_angles(math.rad(90), math.rad(0), math.rad(20)), 0.5)
1687
                
1688
                LL_Weld.C0                = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.5)
1689
                RL_Weld.C0                 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(10), math.rad(0), math.rad(10)), 0.5)
1690
                Torso_Weld.C0         = clerp(Torso_Weld.C0, c_new(0, -1*Size, 0) * c_angles(math.rad(-5), math.rad(20), math.rad(0)), 0.5)
1691
Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, -0.2*Size) * c_angles(math.rad(-20), math.rad(-20), math.rad(0)), 0.35)    
1692
      
1693
      elseif Charge4 == true then
1694
      
1695
                                            RA_Weld.C0                = clerp(RA_Weld.C0, c_new(1.5*Size, 0.7*Size, -0.25*Size) * c_angles(math.rad(-40), math.rad(35), math.rad(40)), 0.5)
1696
                       
1697
                LA_Weld.C0                = clerp(LA_Weld.C0, c_new(-1.2*Size, .3*Size, -.6*Size) * c_angles(math.rad(30), math.rad(0), math.rad(20)), 0.5)
1698
                
1699
                LL_Weld.C0                = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.5)
1700
                RL_Weld.C0                 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(10), math.rad(0), math.rad(10)), 0.5)
1701
                Torso_Weld.C0         = clerp(Torso_Weld.C0, c_new(0, -1*Size, 0) * c_angles(math.rad(-5), math.rad(20), math.rad(0)), 0.5)
1702
Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, -0.2*Size) * c_angles(math.rad(-20), math.rad(-20), math.rad(0)), 0.35)    
1703
       
1704
       elseif Uppercut1 == true then
1705
       
1706
                              RA_Weld.C0                = clerp(RA_Weld.C0, c_new(1.5*Size, 0.7*Size, -0.25*Size) * c_angles(math.rad(150), math.rad(0), math.rad(0)), 0.65)
1707
                       
1708
                LA_Weld.C0                = clerp(LA_Weld.C0, c_new(-1.2*Size, .3*Size, -.6*Size) * c_angles(math.rad(60), math.rad(0), math.rad(-50)), 0.65)
1709
                
1710
                LL_Weld.C0                = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size+0.1*math.sin(tick()*2), 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(-10)), 0.65)
1711
                RL_Weld.C0                 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size+0.1*math.sin(tick()*2), 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(10)), 0.65)
1712
                Torso_Weld.C0         = clerp(Torso_Weld.C0, c_new(0, -1*Size, 0) * c_angles(math.rad(-5), math.rad(90), math.rad(0)), 0.65)
1713
Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, -0.2*Size) * c_angles(math.rad(-20), math.rad(-90), math.rad(0)), 0.55)    
1714
       
1715
        elseif Punch1 == true then
1716
        
1717
1718
1719
             -- First Punch (All C1, Lasts 3 Frames)
1720
                       RA_Weld.C0                = clerp(RA_Weld.C0, c_new(1.5*Size, 0.7*Size, -0.25*Size) * c_angles(math.rad(-60), math.rad(45), math.rad(170)), 0.65)
1721
                       
1722
                LA_Weld.C0                = clerp(LA_Weld.C0, c_new(-1.2*Size, .3*Size, -.6*Size) * c_angles(math.rad(90), math.rad(0), math.rad(50)), 0.65)
1723
                
1724
                LL_Weld.C0                = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size+0.1*math.sin(tick()*2), 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(-10)), 0.65)
1725
                RL_Weld.C0                 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size+0.1*math.sin(tick()*2), 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(10)), 0.65)
1726
                Torso_Weld.C0         = clerp(Torso_Weld.C0, c_new(0, -1*Size, 0) * c_angles(math.rad(-5), math.rad(90), math.rad(0)), 0.65)
1727
Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, -0.2*Size) * c_angles(math.rad(-20), math.rad(-90), math.rad(0)), 0.55)    
1728
1729
       elseif Punch2 == true then
1730
       
1731
       RA_Weld.C0                = clerp(RA_Weld.C0, c_new(1.2*Size, .3*Size, -.6*Size) * c_angles(math.rad(90), math.rad(0), math.rad(-50)), 0.65)
1732
                
1733
                       LA_Weld.C0                = clerp(LA_Weld.C0, c_new(-1.5*Size, 0.7*Size, -0.25*Size) * c_angles(math.rad(0), math.rad(-5), math.rad(-110)), 0.65)
1734
                       
1735
                LL_Weld.C0                = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(-10)), 0.65)
1736
                RL_Weld.C0                 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(10)), 0.65)
1737
                Torso_Weld.C0         = clerp(Torso_Weld.C0, c_new(0, -1*Size, 0) * c_angles(math.rad(-5), math.rad(-90), math.rad(0)), 0.65)
1738
Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, -0.2*Size) * c_angles(math.rad(-20), math.rad(90), math.rad(0)), 0.55)   
1739
1740
     elseif Terra == true then
1741
     
1742
     
1743
                                                 RA_Weld.C0                = clerp(RA_Weld.C0, c_new(1.5*Size, 0.5*Size, 0*Size) * c_angles(math.rad(90), math.rad(90), math.rad(20)), 0.65)
1744
                       
1745
                LA_Weld.C0                = clerp(LA_Weld.C0, c_new(-1.5*Size, .5*Size, 0*Size) * c_angles(math.rad(90), math.rad(-90), math.rad(-20)), 0.65)
1746
                
1747
                LL_Weld.C0                = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.65)
1748
                RL_Weld.C0                 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.65)
1749
                Torso_Weld.C0         = clerp(Torso_Weld.C0, c_new(0, -1*Size, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.65)
1750
Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.55)    
1751
1752
      elseif Charge3 == true then
1753
      
1754
                                            RA_Weld.C0                = clerp(RA_Weld.C0, c_new(1.5*Size, 0.5*Size, 0.5*Size) * c_angles(math.rad(90), math.rad(180), math.rad(0)), 0.65)
1755
                       
1756
                LA_Weld.C0                = clerp(LA_Weld.C0, c_new(-1.5*Size, .5*Size, 0.5*Size) * c_angles(math.rad(90), math.rad(180), math.rad(0)), 0.65)
1757
                
1758
                LL_Weld.C0                = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(-40), math.rad(0), math.rad(-10)), 0.65)
1759
                RL_Weld.C0                 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(-40), math.rad(0), math.rad(10)), 0.65)
1760
                Torso_Weld.C0         = clerp(Torso_Weld.C0, c_new(0, -1*Size, 0) * c_angles(math.rad(40), math.rad(0), math.rad(0)), 0.65)
1761
Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, -0.2*Size) * c_angles(math.rad(-20), math.rad(-20), math.rad(0)), 0.55)    
1762
 
1763
  elseif Lunge1 == true then
1764
  
1765
                                              RA_Weld.C0                = clerp(RA_Weld.C0, c_new(1.5*Size, 0.5*Size, -0.5*Size) * c_angles(math.rad(90), math.rad(180), math.rad(0)), 0.65)
1766
                       
1767
                LA_Weld.C0                = clerp(LA_Weld.C0, c_new(-1.5*Size, .5*Size, -0.5*Size) * c_angles(math.rad(90), math.rad(180), math.rad(0)), 0.65)
1768
                
1769
                LL_Weld.C0                = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(40), math.rad(0), math.rad(-15)), 0.65)
1770
                RL_Weld.C0                 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(40), math.rad(0), math.rad(15)), 0.65)
1771
                Torso_Weld.C0         = clerp(Torso_Weld.C0, c_new(0, -1*Size, 0) * c_angles(math.rad(-40), math.rad(0), math.rad(0)), 0.65)
1772
Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, -0.2*Size) * c_angles(math.rad(-25), math.rad(0), math.rad(0)), 0.55)    
1773
1774
        elseif Spin1 == true then
1775
        
1776
                                                      RA_Weld.C0                = clerp(RA_Weld.C0, c_new(1.5*Size, 0.5*Size, 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(90)), 0.15)
1777
                       
1778
                LA_Weld.C0                = clerp(LA_Weld.C0, c_new(-1.5*Size, .5*Size, 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(-90)), 0.15)
1779
                
1780
                LL_Weld.C0                = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
1781
                RL_Weld.C0                 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
1782
                Torso_Weld.C0         = clerp(Torso_Weld.C0, c_new(0, -1*Size, 0) * c_angles(math.rad(-15), math.rad(twist), math.rad(0)), 0.65)
1783
Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)    
1784
1785
1786
        elseif Charge2 == true then
1787
        
1788
                                              RA_Weld.C0                = clerp(RA_Weld.C0, c_new(1.5*Size, 0.7*Size, -0.25*Size) * c_angles(math.rad(-30), math.rad(35), math.rad(40)), 0.65)
1789
                       
1790
                LA_Weld.C0                = clerp(LA_Weld.C0, c_new(-1.2*Size, .3*Size, 0.5*Size) * c_angles(math.rad(90), math.rad(0), math.rad(20)), 0.65)
1791
                
1792
                LL_Weld.C0                = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.65)
1793
                RL_Weld.C0                 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(10), math.rad(0), math.rad(10)), 0.65)
1794
                Torso_Weld.C0         = clerp(Torso_Weld.C0, c_new(0, -1*Size, 0) * c_angles(math.rad(-5), math.rad(-20), math.rad(0)), 0.65)
1795
Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, -0.2*Size) * c_angles(math.rad(-20), math.rad(20), math.rad(0)), 0.55)    
1796
1797
1798
        elseif currentAnim == "Walking" and Animations == false then
1799
                angleSpeed = 1
1800
                axisSpeed = 1
1801
                Humanoid.WalkSpeed = 19*Size
1802
                
1803
                        RA_Weld.C0            = clerp(RA_Weld.C0, c_new(1.5*Size, 0.5*Size+-0.02*math.sin(tick()), 0) * c_angles(math.rad(25), math.rad(0), math.rad(25)), 0.15)
1804
                LA_Weld.C0                = clerp(LA_Weld.C0, c_new(-1.5*Size, 0.5*Size+-0.05*math.sin(tick()/1.5), 0) * c_angles(math.rad(5), math.rad(0), math.rad(-25)), 0.15)
1805
                LL_Weld.C0                = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size+0.2*math.sin(sine/3)*1.2, math.sin(sine/5)/9) * c_angles(math.rad(60*math.sin(tick()*8))*1.5,math.rad(0),math.rad(-1)), 0.15)
1806
                RL_Weld.C0                 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size+0.2*math.sin(sine/3)*1.2, math.sin(sine/5)/9)* c_angles(math.rad(-60*math.sin(tick()*8)),math.rad(0),math.rad(1)), 0.15)
1807
                Torso_Weld.C0         = clerp(Torso_Weld.C0, c_new(0*Size, -1*Size, 0*Size) * c_angles(math.rad(-5), math.rad(0), math.sin(rootPart.RotVelocity.y/20)/7), 0.15)
1808
Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)     
1809
                
1810
                end
1811
end)