View difference between Paste ID: MwxMbBWp and YBMWtriH
SHOW: | | - or go back to the newest paste.
1
local Charar = game.Players.LocalPlayer.Character
2
Charar["InternationalFedora"].Name = "InternationalFedora2"
3
--I dont need hat clone thingy
4
5
local v3_net, v3_808 = Vector3.new(5000, 25.1, 0), Vector3.new(8, 0, 8)
6
    local function getNetlessVelocity(realPartVelocity)
7
        local mag = realPartVelocity.Magnitude
8
        if mag > 1 then
9
            local unit = realPartVelocity.Unit
10
            if (unit.Y > 0.25) or (unit.Y < -0.75) then
11
                return unit * (25.1 / unit.Y)
12
            end
13
        end
14
        return v3_net + realPartVelocity * v3_808
15
    end
16
local simradius = "shp" --simulation radius (net bypass) method
17
--simulation radius (net bypass) method
18
--"shp" - sethiddenproperty
19
--"ssr" - setsimulationradius
20
--false - disable
21
local antiragdoll = true --removes hingeConstraints and ballSocketConstraints from your character
22
local newanimate = true --disables the animate script and enables after reanimation
23
local discharscripts = true --disables all localScripts parented to your character before reanimation
24
local R15toR6 = true --tries to convert your character to r6 if its r15
25
local hatcollide = false --makes hats cancollide (only method 0)
26
local humState16 = true --enables collisions for limbs before the humanoid dies (using hum:ChangeState)
27
local addtools = false --puts all tools from backpack to character and lets you hold them after reanimation
28
local hedafterneck = false --disable aligns for head and enable after neck is removed
29
local loadtime = game:GetService("Players").RespawnTime + 0.5 --anti respawn delay
30
local method = 0 --reanimation method
31
--methods:
32
--0 - breakJoints (takes [loadtime] seconds to laod)
33
--1 - limbs
34
--2 - limbs + anti respawn
35
--3 - limbs + breakJoints after [loadtime] seconds
36
--4 - remove humanoid + breakJoints
37
--5 - remove humanoid + limbs
38
local alignmode = 3 --AlignPosition mode
39
--modes:
40
--1 - AlignPosition rigidity enabled true
41
--2 - 2 AlignPositions rigidity enabled both true and false
42
--3 - AlignPosition rigidity enabled false
43
44
healthHide = healthHide and ((method == 0) or (method == 2) or (method == 000)) and gp(c, "Head", "BasePart")
45
46
local lp = game:GetService("Players").LocalPlayer
47
local rs = game:GetService("RunService")
48
local stepped = rs.Stepped
49
local heartbeat = rs.Heartbeat
50
local renderstepped = rs.RenderStepped
51
local sg = game:GetService("StarterGui")
52
local ws = game:GetService("Workspace")
53
local cf = CFrame.new
54
local v3 = Vector3.new
55
local v3_0 = v3(0, 0, 0)
56
local inf = math.huge
57
58
local c = lp.Character
59
60
if not (c and c.Parent) then
61
	return
62
end
63
64
c.Destroying:Connect(function()
65
	c = nil
66
end)
67
68
local function gp(parent, name, className)
69
	if typeof(parent) == "Instance" then
70
		for i, v in pairs(parent:GetChildren()) do
71
			if (v.Name == name) and v:IsA(className) then
72
				return v
73
			end
74
		end
75
	end
76
	return nil
77
end
78
79
local function align(Part0, Part1)
80
	Part0.CustomPhysicalProperties = PhysicalProperties.new(0.0001, 0.0001, 0.0001, 0.0001, 0.0001)
81
82
	local att0 = Instance.new("Attachment", Part0)
83
	att0.Orientation = v3_0
84
	att0.Position = v3_0
85
	att0.Name = "att0_" .. Part0.Name
86
	local att1 = Instance.new("Attachment", Part1)
87
	att1.Orientation = v3_0
88
	att1.Position = v3_0
89
	att1.Name = "att1_" .. Part1.Name
90
91
	if (alignmode == 1) or (alignmode == 2) then
92
		local ape = Instance.new("AlignPosition", att0)
93
		ape.ApplyAtCenterOfMass = false
94
		ape.MaxForce = inf
95
		ape.MaxVelocity = inf
96
		ape.ReactionForceEnabled = false
97
		ape.Responsiveness = 200
98
		ape.Attachment1 = att1
99
		ape.Attachment0 = att0
100
		ape.Name = "AlignPositionRtrue"
101
		ape.RigidityEnabled = true
102
	end
103
104
	if (alignmode == 2) or (alignmode == 3) then
105
		local apd = Instance.new("AlignPosition", att0)
106
		apd.ApplyAtCenterOfMass = false
107
		apd.MaxForce = inf
108
		apd.MaxVelocity = inf
109
		apd.ReactionForceEnabled = false
110
		apd.Responsiveness = 200
111
		apd.Attachment1 = att1
112
		apd.Attachment0 = att0
113
		apd.Name = "AlignPositionRfalse"
114
		apd.RigidityEnabled = false
115
	end
116
117
	local ao = Instance.new("AlignOrientation", att0)
118
	ao.MaxAngularVelocity = inf
119
	ao.MaxTorque = inf
120
	ao.PrimaryAxisOnly = false
121
	ao.ReactionTorqueEnabled = false
122
	ao.Responsiveness = 200
123
	ao.Attachment1 = att1
124
	ao.Attachment0 = att0
125
	ao.RigidityEnabled = false
126
127
	if type(getNetlessVelocity) == "function" then
128
	    local realVelocity = v3_0
129
        local steppedcon = stepped:Connect(function()
130
            Part0.Velocity = realVelocity
131
        end)
132
        local heartbeatcon = heartbeat:Connect(function()
133
            realVelocity = Part0.Velocity
134
            Part0.Velocity = getNetlessVelocity(realVelocity)
135
        end)
136
        Part0.Destroying:Connect(function()
137
            Part0 = nil
138
            steppedcon:Disconnect()
139
            heartbeatcon:Disconnect()
140
        end)
141
    end
142
end
143
144
local function respawnrequest()
145
	local ccfr = ws.CurrentCamera.CFrame
146
	local c = lp.Character
147
	lp.Character = nil
148
	lp.Character = c
149
	local con = nil
150
	con = ws.CurrentCamera.Changed:Connect(function(prop)
151
	    if (prop ~= "Parent") and (prop ~= "CFrame") then
152
	        return
153
	    end
154
	    ws.CurrentCamera.CFrame = ccfr
155
	    con:Disconnect()
156
    end)
157
end
158
159
local destroyhum = (method == 4) or (method == 5)
160
local breakjoints = (method == 0) or (method == 4)
161
local antirespawn = (method == 0) or (method == 2) or (method == 3)
162
163
hatcollide = hatcollide and (method == 0)
164
165
addtools = addtools and gp(lp, "Backpack", "Backpack")
166
167
local fenv = getfenv()
168
local shp = fenv.sethiddenproperty or fenv.set_hidden_property or fenv.set_hidden_prop or fenv.sethiddenprop
169
local ssr = fenv.setsimulationradius or fenv.set_simulation_radius or fenv.set_sim_radius or fenv.setsimradius or fenv.set_simulation_rad or fenv.setsimulationrad
170
171
if shp and (simradius == "shp") then
172
	spawn(function()
173
		while c and heartbeat:Wait() do
174
			shp(lp, "SimulationRadius", inf)
175
		end
176
	end)
177
elseif ssr and (simradius == "ssr") then
178
	spawn(function()
179
		while c and heartbeat:Wait() do
180
			ssr(inf)
181
		end
182
	end)
183
end
184
185
antiragdoll = antiragdoll and function(v)
186
	if v:IsA("HingeConstraint") or v:IsA("BallSocketConstraint") then
187
		v.Parent = nil
188
	end
189
end
190
191
if antiragdoll then
192
	for i, v in pairs(c:GetDescendants()) do
193
		antiragdoll(v)
194
	end
195
	c.DescendantAdded:Connect(antiragdoll)
196
end
197
198
if antirespawn then
199
	respawnrequest()
200
end
201
202
if method == 0 then
203
	wait(loadtime)
204
	if not c then
205
		return
206
	end
207
end
208
209
if discharscripts then
210
	for i, v in pairs(c:GetChildren()) do
211
		if v:IsA("LocalScript") then
212
			v.Disabled = true
213
		end
214
	end
215
elseif newanimate then
216
	local animate = gp(c, "Animate", "LocalScript")
217
	if animate and (not animate.Disabled) then
218
		animate.Disabled = true
219
	else
220
		newanimate = false
221
	end
222
end
223
224
if addtools then
225
	for i, v in pairs(addtools:GetChildren()) do
226
		if v:IsA("Tool") then
227
			v.Parent = c
228
		end
229
	end
230
end
231
232
pcall(function()
233
	settings().Physics.AllowSleep = false
234
	settings().Physics.PhysicsEnvironmentalThrottle = Enum.EnviromentalPhysicsThrottle.Disabled
235
end)
236
237
local OLDscripts = {}
238
239
for i, v in pairs(c:GetDescendants()) do
240
	if v.ClassName == "Script" then
241
		table.insert(OLDscripts, v)
242
	end
243
end
244
245
local scriptNames = {}
246
247
for i, v in pairs(c:GetDescendants()) do
248
	if v:IsA("BasePart") then
249
		local newName = tostring(i)
250
		local exists = true
251
		while exists do
252
			exists = false
253
			for i, v in pairs(OLDscripts) do
254
				if v.Name == newName then
255
					exists = true
256
				end
257
			end
258
			if exists then
259
				newName = newName .. "_"    
260
			end
261
		end
262
		table.insert(scriptNames, newName)
263
		Instance.new("Script", v).Name = newName
264
	end
265
end
266
267
c.Archivable = true
268
local hum = c:FindFirstChildOfClass("Humanoid")
269
if hum then
270
	for i, v in pairs(hum:GetPlayingAnimationTracks()) do
271
		v:Stop()
272
	end
273
end
274
local cl = c:Clone()
275
if hum and humState16 then
276
    hum:ChangeState(Enum.HumanoidStateType.Physics)
277
    if destroyhum then
278
        wait(1.6)
279
    end
280
end
281
if hum and hum.Parent and destroyhum then
282
    hum:Destroy()
283
end
284
285
if not c then
286
    return
287
end
288
289
local head = gp(c, "Head", "BasePart")
290
local torso = gp(c, "Torso", "BasePart") or gp(c, "UpperTorso", "BasePart")
291
local root = gp(c, "HumanoidRootPart", "BasePart")
292
if hatcollide and c:FindFirstChildOfClass("Accessory") then
293
    local anything = c:FindFirstChildOfClass("BodyColors") or gp(c, "Health", "Script")
294
    if not (torso and root and anything) then
295
        return
296
    end
297
    torso:Destroy()
298
    root:Destroy()
299
    if shp then
300
        for i,v in pairs(c:GetChildren()) do
301
            if v:IsA("Accessory") then
302
                shp(v, "BackendAccoutrementState", 0)
303
            end 
304
        end
305
    end
306
    anything:Destroy()
307
    if head then
308
        
309
    end
310
end
311
312
for i, v in pairs(cl:GetDescendants()) do
313
	if v:IsA("BasePart") then
314
		v.Transparency = 1
315
		v.Anchored = false
316
	end
317
end
318
319
local model = Instance.new("Model", c)
320
model.Name = model.ClassName
321
322
model.Destroying:Connect(function()
323
	model = nil
324
end)
325
326
for i, v in pairs(c:GetChildren()) do
327
	if v ~= model then
328
		if addtools and v:IsA("Tool") then
329
			for i1, v1 in pairs(v:GetDescendants()) do
330
				if v1 and v1.Parent and v1:IsA("BasePart") then
331
					local bv = Instance.new("BodyVelocity", v1)
332
					bv.Velocity = v3_0
333
					bv.MaxForce = v3(1000, 1000, 1000)
334
					bv.P = 1250
335
					bv.Name = "bv_" .. v.Name
336
				end
337
			end
338
		end
339
		v.Parent = model
340
	end
341
end
342
343
if breakjoints then
344-
	model:BreakJoints()
344+
	model.HumanoidRootPart:Destroy()
345
else
346
	if head and torso then
347
		for i, v in pairs(model:GetDescendants()) do
348
			if v:IsA("Weld") or v:IsA("Snap") or v:IsA("Glue") or v:IsA("Motor") or v:IsA("Motor6D") then
349
				local save = false
350
				if (v.Part0 == torso) and (v.Part1 == head) then
351
					save = true
352
				end
353
				if (v.Part0 == head) and (v.Part1 == torso) then
354
					save = true
355
				end
356
				if save then
357
					if hedafterneck then
358
						hedafterneck = v
359
					end
360
				else
361
					v:Destroy()
362
				end
363
			end
364
		end
365
	end
366
	if method == 3 then
367
		spawn(function()
368
			wait(loadtime)
369
			if model then
370
				model:BreakJoints()
371
			end
372
		end)
373
	end
374
end
375
376
cl.Parent = c
377
for i, v in pairs(cl:GetChildren()) do
378
	v.Parent = c
379
end
380
cl:Destroy()
381
382
local modelDes = {}
383
for i, v in pairs(model:GetDescendants()) do
384
	if v:IsA("BasePart") then
385
		i = tostring(i)
386
		v.Destroying:Connect(function()
387
			modelDes[i] = nil
388
		end)
389
		modelDes[i] = v
390
	end
391
end
392
local modelcolcon = nil
393
local function modelcolf()
394
	if model then
395
		for i, v in pairs(modelDes) do
396
			v.CanCollide = false
397
		end
398
	else
399
		modelcolcon:Disconnect()
400
	end
401
end
402
modelcolcon = stepped:Connect(modelcolf)
403
modelcolf()
404
405
for i, scr in pairs(model:GetDescendants()) do
406
	if (scr.ClassName == "Script") and table.find(scriptNames, scr.Name) then
407
		local Part0 = scr.Parent
408
		if Part0:IsA("BasePart") then
409
			for i1, scr1 in pairs(c:GetDescendants()) do
410
				if (scr1.ClassName == "Script") and (scr1.Name == scr.Name) and (not scr1:IsDescendantOf(model)) then
411
					local Part1 = scr1.Parent
412
					if (Part1.ClassName == Part0.ClassName) and (Part1.Name == Part0.Name) then
413
						align(Part0, Part1)
414
						break
415
					end
416
				end
417
			end
418
		end
419
	end
420
end
421
422
if (typeof(hedafterneck) == "Instance") and head then
423
	local aligns = {}
424
	local con = nil
425
	con = hedafterneck.Changed:Connect(function(prop)
426
	    if (prop == "Parent") and not hedafterneck.Parent then
427
	        con:Disconnect()
428
    		for i, v in pairs(aligns) do
429
    			v.Enabled = true
430
    		end
431
		end
432
	end)
433
	for i, v in pairs(head:GetDescendants()) do
434
		if v:IsA("AlignPosition") or v:IsA("AlignOrientation") then
435
			i = tostring(i)
436
			aligns[i] = v
437
			v.Destroying:Connect(function()
438
			    aligns[i] = nil
439
			end)
440
			v.Enabled = false
441
		end
442
	end
443
end
444
445
for i, v in pairs(c:GetDescendants()) do
446
	if v and v.Parent then
447
		if v.ClassName == "Script" then
448
			if table.find(scriptNames, v.Name) then
449
				v:Destroy()
450
			end
451
		elseif not v:IsDescendantOf(model) then
452
			if v:IsA("Decal") then
453
				v.Transparency = 1
454
			elseif v:IsA("ForceField") then
455
				v.Visible = false
456
			elseif v:IsA("Sound") then
457
				v.Playing = false
458
			elseif v:IsA("BillboardGui") or v:IsA("SurfaceGui") or v:IsA("ParticleEmitter") or v:IsA("Fire") or v:IsA("Smoke") or v:IsA("Sparkles") then
459
				v.Enabled = false
460
			end
461
		end
462
	end
463
end
464
465
if newanimate then
466
	local animate = gp(c, "Animate", "LocalScript")
467
	if animate then
468
		animate.Disabled = false
469
	end
470
end
471
472
if addtools then
473
	for i, v in pairs(c:GetChildren()) do
474
		if v:IsA("Tool") then
475
			v.Parent = addtools
476
		end
477
	end
478
end
479
480
local hum0 = model:FindFirstChildOfClass("Humanoid")
481
if hum0 then
482
    hum0.Destroying:Connect(function()
483
        hum0 = nil
484
    end)
485
end
486
487
local hum1 = c:FindFirstChildOfClass("Humanoid")
488
if hum1 then
489
    hum1.Destroying:Connect(function()
490
        hum1 = nil
491
    end)
492
end
493
494
if hum1 then
495
	ws.CurrentCamera.CameraSubject = hum1
496
	local camSubCon = nil
497
	local function camSubFunc()
498
		camSubCon:Disconnect()
499
		if c and hum1 then
500
			ws.CurrentCamera.CameraSubject = hum1
501
		end
502
	end
503
	camSubCon = renderstepped:Connect(camSubFunc)
504
	if hum0 then
505
		hum0.Changed:Connect(function(prop)
506
			if hum1 and (prop == "Jump") then
507
				hum1.Jump = hum0.Jump
508
			end
509
		end)
510
	else
511
		respawnrequest()
512
	end
513
end
514
515
local rb = Instance.new("BindableEvent", c)
516
rb.Event:Connect(function()
517
	rb:Destroy()
518
	sg:SetCore("ResetButtonCallback", true)
519
	if destroyhum then
520
		c:BreakJoints()
521
		return
522
	end
523
	if hum0 and (hum0.Health > 0) then
524
		model:BreakJoints()
525
		hum0.Health = 0
526
	end
527
	if antirespawn then
528
	    respawnrequest()
529
	end
530
end)
531
sg:SetCore("ResetButtonCallback", rb)
532
533
spawn(function()
534
	while c do
535
		if hum0 and hum1 then
536
			hum1.Jump = hum0.Jump
537
		end
538
		wait()
539
	end
540
	sg:SetCore("ResetButtonCallback", true)
541
end)
542
543
R15toR6 = R15toR6 and hum1 and (hum1.RigType == Enum.HumanoidRigType.R15)
544
if R15toR6 then
545
    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")
546
	if part then
547
	    local cfr = part.CFrame
548
		local R6parts = { 
549
			head = {
550
				Name = "Head",
551
				Size = v3(2, 1, 1),
552
				R15 = {
553
					Head = 0
554
				}
555
			},
556
			torso = {
557
				Name = "Torso",
558
				Size = v3(2, 2, 1),
559
				R15 = {
560
					UpperTorso = 0.2,
561
					LowerTorso = -0.7
562
				}
563
			},
564
			root = {
565
				Name = "HumanoidRootPart",
566
				Size = v3(2, 2, 1),
567
				R15 = {
568
					HumanoidRootPart = 0
569
				}
570
			},
571
			leftArm = {
572
				Name = "Left Arm",
573
				Size = v3(1, 2, 1),
574
				R15 = {
575
					LeftHand = -0.7,
576
					LeftLowerArm = -0.2,
577
					LeftUpperArm = 0.4
578
				}
579
			},
580
			rightArm = {
581
				Name = "Right Arm",
582
				Size = v3(1, 2, 1),
583
				R15 = {
584
					RightHand = -0.7,
585
					RightLowerArm = -0.2,
586
					RightUpperArm = 0.4
587
				}
588
			},
589
			leftLeg = {
590
				Name = "Left Leg",
591
				Size = v3(1, 2, 1),
592
				R15 = {
593
					LeftFoot = -0.7,
594
					LeftLowerLeg = -0.15,
595
					LeftUpperLeg = 0.6
596
				}
597
			},
598
			rightLeg = {
599
				Name = "Right Leg",
600
				Size = v3(1, 2, 1),
601
				R15 = {
602
					RightFoot = -0.7,
603
					RightLowerLeg = -0.15,
604
					RightUpperLeg = 0.6
605
				}
606
			}
607
		}
608
		for i, v in pairs(c:GetChildren()) do
609
			if v:IsA("BasePart") then
610
				for i1, v1 in pairs(v:GetChildren()) do
611
					if v1:IsA("Motor6D") then
612
						v1.Part0 = nil
613
					end
614
				end
615
			end
616
		end
617
		part.Archivable = true
618
		for i, v in pairs(R6parts) do
619
			local part = part:Clone()
620
			part:ClearAllChildren()
621
			part.Name = v.Name
622
			part.Size = v.Size
623
			part.CFrame = cfr
624
			part.Anchored = false
625
			part.Transparency = 1
626
			part.CanCollide = false
627
			for i1, v1 in pairs(v.R15) do
628
				local R15part = gp(c, i1, "BasePart")
629
				local att = gp(R15part, "att1_" .. i1, "Attachment")
630
				if R15part then
631
					local weld = Instance.new("Weld", R15part)
632
					weld.Name = "Weld_" .. i1
633
					weld.Part0 = part
634
					weld.Part1 = R15part
635
					weld.C0 = cf(0, v1, 0)
636
					weld.C1 = cf(0, 0, 0)
637
					R15part.Massless = true
638
					R15part.Name = "R15_" .. i1
639
					R15part.Parent = part
640
					if att then
641
						att.Parent = part
642
						att.Position = v3(0, v1, 0)
643
					end
644
				end
645
			end
646
			part.Parent = c
647
			R6parts[i] = part
648
		end
649
		local R6joints = {
650
			neck = {
651
				Parent = R6parts.torso,
652
				Name = "Neck",
653
				Part0 = R6parts.torso,
654
				Part1 = R6parts.head,
655
				C0 = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
656
				C1 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
657
			},
658
			rootJoint = {
659
				Parent = R6parts.root,
660
				Name = "RootJoint" ,
661
				Part0 = R6parts.root,
662
				Part1 = R6parts.torso,
663
				C0 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0),
664
				C1 = cf(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
665
			},
666
			rightShoulder = {
667
				Parent = R6parts.torso,
668
				Name = "Right Shoulder",
669
				Part0 = R6parts.torso,
670
				Part1 = R6parts.rightArm,
671
				C0 = cf(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
672
				C1 = cf(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
673
			},
674
			leftShoulder = {
675
				Parent = R6parts.torso,
676
				Name = "Left Shoulder",
677
				Part0 = R6parts.torso,
678
				Part1 = R6parts.leftArm,
679
				C0 = cf(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
680
				C1 = cf(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
681
			},
682
			rightHip = {
683
				Parent = R6parts.torso,
684
				Name = "Right Hip",
685
				Part0 = R6parts.torso,
686
				Part1 = R6parts.rightLeg,
687
				C0 = cf(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),
688
				C1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
689
			},
690
			leftHip = {
691
				Parent = R6parts.torso,
692
				Name = "Left Hip" ,
693
				Part0 = R6parts.torso,
694
				Part1 = R6parts.leftLeg,
695
				C0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),
696
				C1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
697
			}
698
		}
699
		for i, v in pairs(R6joints) do
700
			local joint = Instance.new("Motor6D")
701
			for prop, val in pairs(v) do
702
				joint[prop] = val
703
			end
704
			R6joints[i] = joint
705
		end
706
		hum1.RigType = Enum.HumanoidRigType.R6
707
		hum1.HipHeight = 0
708
	end
709
end
710
711
712
713
--find rig joints
714
715
local function fakemotor()
716
    return {C0=cf(), C1=cf()}
717
end
718
719
local torso = gp(c, "Torso", "BasePart")
720
local root = gp(c, "HumanoidRootPart", "BasePart")
721
722
local neck = gp(torso, "Neck", "Motor6D")
723
neck = neck or fakemotor()
724
725
local rootJoint = gp(root, "RootJoint", "Motor6D")
726
rootJoint = rootJoint or fakemotor()
727
728
local leftShoulder = gp(torso, "Left Shoulder", "Motor6D")
729
leftShoulder = leftShoulder or fakemotor()
730
731
local rightShoulder = gp(torso, "Right Shoulder", "Motor6D")
732
rightShoulder = rightShoulder or fakemotor()
733
734
local leftHip = gp(torso, "Left Hip", "Motor6D")
735
leftHip = leftHip or fakemotor()
736
737
local rightHip = gp(torso, "Right Hip", "Motor6D")
738
rightHip = rightHip or fakemotor()
739
740
--120 fps
741
742
local fps = 40
743
local event = Instance.new("BindableEvent", c)
744
event.Name = "120 fps"
745
local floor = math.floor
746
fps = 1 / fps
747
local tf = 0
748
local con = nil
749
con = game:GetService("RunService").RenderStepped:Connect(function(s)
750
	if not c then
751
		con:Disconnect()
752
		return
753
	end
754
    --tf += s
755
	if tf >= fps then
756
		for i=1, floor(tf / fps) do
757
			event:Fire(c)
758
		end
759
		tf = 0
760
	end
761
end)
762
local event = event.Event
763
764
local hedrot = v3(0, 5, 0)
765
766
local uis = game:GetService("UserInputService")
767
local function isPressed(key)
768
    return (not uis:GetFocusedTextBox()) and uis:IsKeyDown(Enum.KeyCode[key])
769
end
770
771
local biggesthandle = nil
772
for i, v in pairs(c:GetChildren()) do
773
    if v:IsA("Accessory") then
774
        local handle = gp(v, "Handle", "BasePart")
775
        if biggesthandle then
776
            if biggesthandle.Size.Magnitude < handle.Size.Magnitude then
777
                biggesthandle = handle
778
            end
779
        else
780
            biggesthandle = gp(v, "Handle", "BasePart")
781
        end
782
    end
783
end
784
785
if not biggesthandle then
786
    return
787
end
788
789
local handle1 = gp(gp(model, biggesthandle.Parent.Name, "Accessory"), "Handle", "BasePart")
790
if not handle1 then
791
    return
792
end
793
794
handle1.Destroying:Connect(function()
795
    handle1 = nil
796
end)
797
biggesthandle.Destroying:Connect(function()
798
    biggesthandle = nil
799
end)
800
801
--biggesthandle:BreakJoints()
802
--biggesthandle.Anchored = true
803
804
--for i, v in pairs(handle1:GetDescendants()) do
805
   -- if v:IsA("AlignOrientation") then
806
        --v.Enabled = false
807
    --end
808
--end
809
810
local mouse = lp:GetMouse()
811
local fling = false
812
mouse.Button1Down:Connect(function()
813
    fling = false
814
end)
815
mouse.Button1Up:Connect(function()
816
    fling = false
817
end)
818
local function doForSignal(signal, vel)
819
    spawn(function()
820
        while signal:Wait() and c and handle1 and biggesthandle do
821
            if fling and mouse.Target then
822
                biggesthandle.Position = mouse.Hit.Position
823
            end
824
            --handle1.RotVelocity = vel
825
        end
826
    end)
827
end
828
doForSignal(stepped, v3(0, 0, 0))
829
doForSignal(renderstepped, v3(0, 0, 0))
830
doForSignal(heartbeat, v3(200000000000000000000000000000, 200000000000000000000000000000, 200000000000000000000000000000))
831
--Hat1
832
833
local lp = game:GetService("Players").LocalPlayer
834
local rs = game:GetService("RunService")
835
local stepped = rs.Stepped
836
local heartbeat = rs.Heartbeat
837
local renderstepped = rs.RenderStepped
838
local sg = game:GetService("StarterGui")
839
local ws = game:GetService("Workspace")
840
local cf = CFrame.new
841
local v3 = Vector3.new
842
local v3_0 = Vector3.zero
843
local inf = math.huge
844
845
local cplayer = lp.Character
846
847
local v3 = Vector3.new
848
849
local function gp(parent, name, className)
850
    if typeof(parent) == "Instance" then
851
        for i, v in pairs(parent:GetChildren()) do
852
            if (v.Name == name) and v:IsA(className) then
853
                return v
854
            end
855
        end
856
    end
857
    return nil
858
end
859
860
861
862
863
local hat2 = gp(cplayer, "MeshPartAccessory", "Accessory")
864
local handle2 = gp(hat2, "Handle", "BasePart")
865
local att2 = gp(handle2, "att1_Handle", "Attachment")
866
att2.Parent = cplayer["Torso"] --any part of humanoid
867
att2.Position = Vector3.new(-0, 0.025, 0)
868
att2.Rotation = Vector3.new(180, 0, -15)--you can delete this 
869
870
871
local hat2 = gp(cplayer, "InternationalFedora2", "Accessory")
872
local handle2 = gp(hat2, "Handle", "BasePart")
873
local att2 = gp(handle2, "att1_Handle", "Attachment")
874
att2.Parent = cplayer["Left Arm"]
875
att2.Position = Vector3.new(-0.15, -0.35, -0)
876
att2.Rotation = Vector3.new(-90, -0, 90)
877
878
local hat2 = gp(cplayer, "InternationalFedora", "Accessory")
879
local handle2 = gp(hat2, "Handle", "BasePart")
880
local att2 = gp(handle2, "att1_Handle", "Attachment")
881
att2.Parent = cplayer["Right Arm"]
882
att2.Position = Vector3.new(0.15, -0.3, 0)
883
att2.Rotation = Vector3.new(-90, 0, -90) --LavanderHair
884
885
local hat2 = gp(cplayer, "Lipstick_Bag_3.0", "Accessory")
886
local handle2 = gp(hat2, "Handle", "BasePart")
887
local att2 = gp(handle2, "att1_Handle", "Attachment")
888
att2.Parent = cplayer["Right Leg"]
889
att2.Position = Vector3.new(0, -0, 0.5) --Robloxclassicred
890
att2.Rotation = Vector3.new(0, -5, -45)
891
892
local hat2 = gp(cplayer, "Lipstick_Bag_1.0", "Accessory")
893
local handle2 = gp(hat2, "Handle", "BasePart")
894
local att2 = gp(handle2, "att1_Handle", "Attachment")
895
att2.Parent = cplayer["Left Leg"]
896
att2.Position = Vector3.new(-0, -0, 0.5) 
897-
att2.Rotation = Vector3.new(0, 0, -45)
897+
att2.Rotation = Vector3.new(0, 0, -45)
898
899
print[[
900
Vaporwave Vibe Thing By Godcat567
901
902
This was based off of a mode from powertommm's banisher switcher
903
904
Visualiser Commands: .id [insert music id here]
905
.vol [insert volume number here]
906
.pit [insert pitch number here]
907
]]
908
909
--Source Code Might Be Used From Others Credits To Their Creators
910
911
wait(1/60)
912
913
--[[ Defining Variables ]]
914
915
Plr = game.Players.LocalPlayer
916
PlrGui = Plr.PlayerGui
917
Character = Plr.Character
918
RightArm = Character["Right Arm"]
919
LeftArm = Character["Left Arm"]
920
RightLeg = Character["Right Leg"]
921
LeftLeg = Character["Left Leg"]
922
RootPart = Character.HumanoidRootPart
923
Torso = Character.Torso
924
Head = Character.Head
925
Humanoid = Character:FindFirstChildOfClass('Humanoid')
926
927
--[[ Joint Setup ]]
928
929
Neck = Torso.Neck
930
RootJoint = RootPart.RootJoint
931
RightShoulder = Torso["Right Shoulder"]
932
LeftShoulder = Torso["Left Shoulder"]
933
RightHip = Torso["Right Hip"]
934
LeftHip = Torso["Left Hip"]
935
--Tail = Character["Black Cyber Critter Tail"].Handle.AccessoryWeld
936
937
EulerRootCF = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14) --CFrame.Angles(math.rad(-90),0,math.rad(180))
938
NeckCF = CFrame.new(0,1,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(180))
939
RightShoulderCF = CFrame.new(-0.5,0,0)*CFrame.Angles(0,math.rad(90),0)
940
LeftShoulderCF = CFrame.new(0.5,0,0)*CFrame.Angles(0,math.rad(-90),0)
941
--TailCF = CFrame.new(0,-.75,.5)*CFrame.fromEulerAnglesXYZ(-3.14,0,3.14)
942
943
DefaultWelds = {
944
	C0 = {
945
		RJC0 = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14)*CFrame.new(0,0,0),
946
		NKC0 = CFrame.new(0,1,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(180)),
947
		RSC0 = CFrame.new(1,0.5,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)),
948
		LSC0 = CFrame.new(-1,0.5,0)*CFrame.Angles(math.rad(0),math.rad(-90),math.rad(0)),
949
		RHC0 = CFrame.new(1,-1,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)),
950
		LHC0 = CFrame.new(-1,-1,0)*CFrame.Angles(math.rad(0),math.rad(-90),math.rad(0)),
951
	},
952
	C1 = {
953
		RJC1 = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14)*CFrame.new(0,0,0),
954
		NKC1 = CFrame.new(0,-0.5,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(180)),
955
		RSC1 = CFrame.new(-0.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)),
956
		LSC1 = CFrame.new(0.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(-90),math.rad(0)),
957
		RHC1 = CFrame.new(0.5,1,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)),
958
		LHC1 = CFrame.new(-0.5,1,0)*CFrame.Angles(math.rad(0),math.rad(-90),math.rad(0)),
959
960
	},
961
}
962
--Default welds for anybody who does NOT know cframe
963
964
--[[ Killing Default Animations Initiated ]]
965
966
for _,v in next, Humanoid:GetPlayingAnimationTracks() do
967
	v:Stop()
968
end
969
970
pcall(game.Destroy,Character.Animate)
971
pcall(game.Destroy,Humanoid.Animator)
972
973
--[[ Killing Default Animations Ended]]
974
975
--[[ Customizable/Modular Settings ]]
976
977
CanBeRainbow = true --for hue rainbow set this to true you'll be expected to use my provided color changing shirt and pants for it
978
sinetick = 0
979
change = 1
980
ID = 3100259439
981
IsAttacking = false
982
hue = 0
983
pit = 1
984
vol = 3
985
SGui = Instance.new("ScreenGui",PlrGui)
986
987
--[[ SazErno's Artificial Hearbeat [Adapted By Nebula_Zoroark] ]]
988
989
AHB = Instance.new("BindableEvent")
990
FPS = 60
991
LastFrame = tick()
992
TimeFrame = 0
993
Frame = 1/FPS
994
995
game:GetService("RunService").Heartbeat:Connect(function(s,p)
996
	TimeFrame = TimeFrame + s
997
	if(TimeFrame>=Frame)then
998
		for i=1,math.floor(TimeFrame/Frame) do
999
			AHB:Fire()
1000
		end
1001
		LastFrame=tick()
1002
		TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame)
1003
	end
1004
end)
1005
1006
function Swait(dur)
1007
	if(dur == 0 or typeof(dur) ~= 'number') then
1008
		AHB.Event:wait()
1009
	else
1010
		for i= 1, dur*FPS do
1011
			AHB.Event:wait()
1012
		end
1013
	end
1014
end
1015
1016
--[[ Functions ]]
1017
1018
--Interpreted From 123jl123's scripts
1019
function SetJointTween(Joint,TweenData,EasingType,DirectionType,AnimationTime)
1020
local EST = Enum.EasingStyle[EasingType]
1021
local DRT = Enum.EasingDirection[DirectionType]
1022
local InterpolationSpeed = 1
1023
local TI = TweenInfo.new(AnimationTime/InterpolationSpeed,EST,DRT,0,false,0)
1024
local MCF = TweenData
1025
local TAnim = game:service'TweenService':Create(Joint,TI,MCF)
1026
TAnim:Play()
1027
end
1028
1029
function RemoveAllOutlines(Object)
1030
	Object.TopSurface,Object.BottomSurface,Object.RightSurface,Object.LeftSurface,Object.FrontSurface,Object.BackSurface = "SmoothNoOutlines","SmoothNoOutlines","SmoothNoOutlines","SmoothNoOutlines","SmoothNoOutlines","SmoothNoOutlines"
1031
end
1032
1033
--[[ Miscellaneous Stuff ]]
1034
1035
Playlist = {
1036
	Beachwalk = 334283059;
1037
	Pyrowalk = 2082142910;
1038
	Default = 3100259439;
1039
	Vapor90s = 654094806;
1040
	ZenWavy = 2231500330;
1041
	NostalgicGalaxy = 195904435; --Adult Swim Bump (Nostalgic Galaxy)
1042
	Landing = 1522831964; --HOME - We're Finally Landing [SynthWave]
1043
}
1044
1045
IDLST = {
1046
UnderFellBtl=1561410944;
1047
ZigZag=1745866165;
1048
CroiX=1037245665;
1049
Kuroda=1492179112;
1050
Boss2=151915559;
1051
CMB=583415095;
1052
EP=343860759;
1053
EPRemix=2954216473;
1054
FloorOfLava=1426355953;
1055
ClassicalVIP=267058311; --NightKilla - Classical VIP
1056
EmbryO = 2835035033; --かぼちゃ - ΣmbryØ
1057
God = 3494472936; --Team Grimoire - Grimoire
1058
HM = 3329947102; --Nero's Day At Disneyland - Happy Meal
1059
Empress = 2996420896; --UNDEAD COPORATION - The Empress
1060
Sinken = 3752430080; --35 - Sinken [Mogeko's Castle]
1061
ThisIsYourEnd = 1439600000; --Nefarious Crow OST - This Is Your End
1062
TryThis = 2496846835; --[Drumstep] - Pegboard Nerds - Try This [Monstercat] Release
1063
Touhou = 540226023; --No by ImHavingAnAneurysm epic username tbh LMAO
1064
NecroDancer = 885342933; --Crypt Of The Necro Dancer Amplified - Zone 5-3
1065
Hailfire = 566809627; --NightKilla - Hailfire
1066
Classical=269408035; --NightKilla - Classical
1067
Jawbreaker=245104465; --NightKilla - Jawbreaker
1068
LifeLetters=1789295287; --Life Letters / ЦΣЛУЙ МΣНЯ
1069
SillyLetters=1329165680; --Silly Letters / Глупые письма
1070
NightmareBeforeXmas=521953625;
1071
DrumsOfWar=1594042527;
1072
Coagulant=1566197356;
1073
InterstellarStomper=3221578654;
1074
Hate=4538576008;
1075
RT = 779838221; --DOOM SoundTrack Rip & Tear
1076
Mdrq = 1931001768; --Frums - Mdrqnxtagon
1077
Credits = 3089991101; --Frums - Credits
1078
Czardas = 1846311619; --Czardas Macabre
1079
}
1080
1081
1082
local sound = Instance.new("Sound",Torso)
1083
sound.Volume = vol
1084
sound.SoundId = "rbxassetid://"..ID
1085
sound.Pitch = pit
1086
sound.Name = string.char(189)..string.char(189)..string.char(189)..string.char(189)..string.char(189)
1087
sound.Looped = true
1088
sound:play()
1089
local time = 0
1090
1091
local Part = Instance.new("Part")
1092
local Mesh = Instance.new("SpecialMesh")
1093
local Part2 = Instance.new("Part")
1094
local Mesh2 = Instance.new("SpecialMesh",Part2)
1095
local Part3 = Instance.new("Part")
1096
local Mesh3 = Instance.new("SpecialMesh",Part3)
1097
local Part4 = Instance.new("Part")
1098
local Mesh4 = Instance.new("SpecialMesh",Part4)
1099
1100
RemoveAllOutlines(Part)
1101
RemoveAllOutlines(Part2)
1102
RemoveAllOutlines(Part3)
1103
RemoveAllOutlines(Part4)
1104
1105
Part.Color = Color3.new(0, 1, 1)
1106
Part.CFrame = CFrame.new()
1107
Part.Material = Enum.Material.Neon
1108
Part.Size = Vector3.new(1, 0.5, 1)
1109
Part.BrickColor = BrickColor.new("Toothpaste")
1110
Part.Position = Vector3.new()
1111
Part.Parent = Character
1112
Mesh.MeshType = Enum.MeshType.Sphere
1113
Mesh.Parent = Part
1114
Part.Anchored = true
1115
Part.CanCollide = false
1116
Part.Transparency = 0
1117
1118
Part2.Color = Color3.new(0, 1, 1)
1119
Part2.CFrame = CFrame.new()
1120
Part2.Material = Enum.Material.Neon
1121
Part2.Size = Vector3.new(1, 0.5, 1)
1122
Part2.BrickColor = BrickColor.new("Toothpaste")
1123
Part2.Position = Vector3.new()
1124
Part2.Parent = Character
1125
Mesh2.MeshType = Enum.MeshType.Sphere
1126
Mesh2.Parent = Part2
1127
Part2.Anchored = true
1128
Part2.CanCollide = false
1129
Part2.Transparency = 0.25
1130
1131
Part3.Color = Color3.new(0, 1, 1)
1132
Part3.CFrame = CFrame.new()
1133
Part3.Material = Enum.Material.Neon
1134
Part3.Size = Vector3.new(1, 0.5, 1)
1135
Part3.BrickColor = BrickColor.new("Toothpaste")
1136
Part3.Position = Vector3.new()
1137
Part3.Parent = Character
1138
Mesh3.MeshType = Enum.MeshType.Sphere
1139
Mesh3.Parent = Part3
1140
Part3.Anchored = true
1141
Part3.CanCollide = false
1142
Part3.Transparency = 0.50
1143
1144
Part4.Color = Color3.new(0, 1, 1)
1145
Part4.CFrame = CFrame.new()
1146
Part4.Material = Enum.Material.Neon
1147
Part4.Size = Vector3.new(1, 0.5, 1)
1148
Part4.BrickColor = BrickColor.new("Toothpaste")
1149
Part4.Position = Vector3.new()
1150
Part4.Parent = Character
1151
Mesh4.MeshType = Enum.MeshType.Sphere
1152
Mesh4.Parent = Part4
1153
Part4.Anchored = true
1154
Part4.CanCollide = false
1155
Part4.Transparency = 0.75
1156
1157
1158
1159
1160
--[[ Anti Nosound (Don't Use My Stuff In Void Script Builder) ]]
1161
1162
game:service'RunService'.Stepped:connect(function()
1163
	if sound.Parent ~= nil then
1164
		sound.SoundId = "rbxassetid://"..ID
1165
		sound.Volume = vol
1166
		sound.Pitch = pit
1167
		sound.Looped = true
1168
		time = sound.TimePosition
1169
	else
1170
		sound = Instance.new('Sound',Torso)
1171
		sound.Volume = vol
1172
		sound.Name = string.char(189)..string.char(189)..string.char(189)..string.char(189)..string.char(189)
1173
		sound.Pitch = pit
1174
		sound.Looped = true
1175
		sound.Playing = true
1176
		sound.TimePosition = time
1177
	end
1178
end)
1179
1180
--[[ Chat Commands ]]
1181
1182
1183
1184
--[[ Animation Loop ]]
1185
while true do
1186
	Swait()
1187
	game:service'Debris':AddItem(Instance.new("Shirt",game:service'Debris'),0) --Mainly Used In CR But Still Helps The Script Rather Than Using collectgarbage()
1188
	local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
1189
	sinetick=sinetick+change
1190
	hue=hue+1
1191
	--Footplanting Math :joy:
1192
local FwdDir = Humanoid.MoveDirection*RootPart.CFrame.lookVector
1193
local RigDir = Humanoid.MoveDirection*RootPart.CFrame.rightVector
1194
	Vector = {
1195
		X=FwdDir.X+FwdDir.Z,
1196
		Z=RigDir.X+RigDir.Z
1197
	}
1198
	if(hue>360) then hue = 0 end
1199
		SetJointTween(Part,{Position = RootPart.Position - Vector3.new(0,3,0)},"Quad","Out",.1) 
1200
		SetJointTween(Part2,{Position = RootPart.Position - Vector3.new(0,3,0)},"Quad","Out",.1)
1201
		SetJointTween(Part3,{Position = RootPart.Position - Vector3.new(0,3,0)},"Quad","Out",.1)
1202
		SetJointTween(Part4,{Position = RootPart.Position - Vector3.new(0,3,0)},"Quad","Out",.1)
1203
		SetJointTween(Part4,{Size = Part.Size * Vector3.new(4,0.5,4)},"Quad","Out",.1)
1204
		SetJointTween(Part3,{Size = Part.Size * Vector3.new(3,0.5,3)},"Quad","Out",.1)
1205
		SetJointTween(Part2,{Size = Part.Size * Vector3.new(2,0.5,2)},"Quad","Out",.1)
1206
	SetJointTween(Part,{Size = Vector3.new(sound.PlaybackLoudness/10,0.5,sound.PlaybackLoudness/10)},"Quad","Out",.1)
1207
	SetJointTween(Part4,{Color = Color3.fromHSV(hue/360,1,math.clamp(sound.PlaybackLoudness/500,0,1))},"Quad","Out",.1)
1208
	SetJointTween(Part3,{Color = Color3.fromHSV(hue/360,1,math.clamp(sound.PlaybackLoudness/500,0,1)/500,0,1)},"Quad","Out",.1)
1209
	SetJointTween(Part2,{Color = Color3.fromHSV(hue/360,1,math.clamp(sound.PlaybackLoudness/500,0,1))},"Quad","Out",.1)
1210
	SetJointTween(Part,{Color = Color3.fromHSV(hue/360,1,math.clamp(sound.PlaybackLoudness/500,0,1))},"Quad","Out",.1)
1211
	if CanBeRainbow == true then
1212
		SetJointTween(Head,{Color = Color3.fromHSV(hue/360,1,1)},"Quad","Out",.1)
1213
		SetJointTween(Torso,{Color = Color3.fromHSV(hue/360,1,1)},"Quad","Out",.1)
1214
		SetJointTween(RightArm,{Color = Color3.fromHSV(hue/360,1,1)},"Quad","Out",.1)
1215
		SetJointTween(LeftArm,{Color = Color3.fromHSV(hue/360,1,1)},"Quad","Out",.1)
1216
		SetJointTween(LeftLeg,{Color = Color3.fromHSV(hue/360,1,1)},"Quad","Out",.1)
1217
		SetJointTween(RightLeg,{Color = Color3.fromHSV(hue/360,1,1)},"Quad","Out",.1)
1218
	end
1219
	local Alpha = 1/3
1220
	if IsAttacking == false then
1221
		if torvel < 1 and Humanoid.Sit == false then
1222
	SetJointTween(RootJoint,{C0 = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14)*CFrame.new(0,0,2 + 1.1 * math.sin(sinetick/143))*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0))},"Quad","Out",Alpha)
1223
			SetJointTween(Neck,{C0 = CFrame.new(0,1,0,-1,-0,-0,0,0,1,0,1,0)*CFrame.Angles(math.rad(-10 + sound.PlaybackLoudness/10),math.rad(8*math.sin(sinetick/132)),math.rad(0))},"Quad","Out",Alpha)
1224
			SetJointTween(RightShoulder,{C0 = CFrame.new(1,.5,0.5)*CFrame.Angles(math.rad(220 - sound.PlaybackLoudness/10),0,math.rad(-25 + 2.5 * math.sin(sinetick/32)))*RightShoulderCF},"Quad","Out",Alpha)
1225
			SetJointTween(LeftShoulder,{C0 = CFrame.new(-1,.5,0.5)*CFrame.Angles(math.rad(220 - sound.PlaybackLoudness/10),0,math.rad(25 - 2.5 * math.sin(sinetick/32)))*LeftShoulderCF},"Quad","Out",Alpha)
1226
	SetJointTween(RightHip,{C0 = CFrame.new(1,-1,0)*CFrame.Angles(math.rad(-20 - 2.32 * math.cos(sinetick/63)),math.rad(90),0)*CFrame.Angles(math.rad(-8 + 2.5 * math.sin(sinetick/78)),0,0)},"Quad","Out",Alpha)
1227
	SetJointTween(LeftHip,{C0 = CFrame.new(-1,-1,0)*CFrame.Angles(math.rad(-15 - 5.34 * math.cos(sinetick/99)),math.rad(-90),0)*CFrame.Angles(math.rad(-8 + 2.5 * math.sin(sinetick/92)),0,0)},"Quad","Out",Alpha)
1228
		elseif torvel > 1 and Humanoid.Sit == false then
1229
	SetJointTween(RootJoint,{C0 = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14)*CFrame.new(0 - 1.1 * math.cos(sinetick/54),0,2 + 1.1 * math.sin(sinetick/143))*CFrame.Angles(math.rad(90)*Vector.X,math.rad(-Vector.Z*20),math.rad(0))},"Quad","Out",Alpha)
1230
	SetJointTween(Neck,{C0 = CFrame.new(0,1,0,-1,-0,-0,0,0,1,0,1,0)*CFrame.Angles(math.rad(-10),math.rad(0 - 2.3 * math.cos(sinetick/72)),math.rad(0))},"Quad","Out",Alpha)
1231
	SetJointTween(RightShoulder,{C0 = CFrame.new(1.5,.5,0)*CFrame.Angles(math.rad(0),math.rad(10),math.rad(25 + 2.5 * math.sin(sinetick/62)))*RightShoulderCF},"Quad","Out",Alpha)
1232
	SetJointTween(LeftShoulder,{C0 = CFrame.new(-1.5,.5,0)*CFrame.Angles(math.rad(0),math.rad(-10),math.rad(-25 - 2.5 * math.sin(sinetick/122)))*LeftShoulderCF},"Quad","Out",Alpha)
1233
	SetJointTween(RightHip,{C0 = CFrame.new(1,-.5,-0.5)*CFrame.Angles(math.rad(-20 - 2.32 * math.cos(sinetick/63)),math.rad(90),0)*CFrame.Angles(math.rad(0),0,0)},"Quad","Out",Alpha)
1234
	SetJointTween(LeftHip,{C0 = CFrame.new(-1,-1,0)*CFrame.Angles(math.rad(-15 - 5.34 * math.cos(sinetick/99)),math.rad(-90),0)*CFrame.Angles(math.rad(0),0,0)},"Quad","Out",Alpha)
1235
		elseif Humanoid.Sit == true then
1236
	SetJointTween(RootJoint,{C0 = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14)*CFrame.new(0,0,.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",Alpha)
1237
	SetJointTween(Neck,{C0 = CFrame.new(0,1,0,-1,-0,-0,0,0,1,0,1,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",Alpha)
1238
	SetJointTween(RightShoulder,{C0 = CFrame.new(1.5,.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))*RightShoulderCF},"Quad","Out",Alpha)
1239
	SetJointTween(LeftShoulder,{C0 = CFrame.new(-1.5,.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))*LeftShoulderCF},"Quad","Out",Alpha)
1240
	SetJointTween(RightHip,{C0 = CFrame.new(1,-1.5,0.5)*CFrame.Angles(math.rad(90),math.rad(90),0)*CFrame.Angles(math.rad(-8 + 2.5 * math.cos(sinetick/65.3)),0,0)},"Quad","Out",Alpha)
1241
	SetJointTween(LeftHip,{C0 = CFrame.new(-1,-1.5,0.5)*CFrame.Angles(math.rad(90),math.rad(-90),0)*CFrame.Angles(math.rad(-8 + 2.5 * math.cos(sinetick/65.3)),0,0)},"Quad","Out",Alpha)
1242
		end
1243
	end	
1244
end
1245
lol = getcustomasset or getsynasset
1246
getgenv().LoadLibrary = function(lib) return loadstring(game:HttpGet("https://raw.githubusercontent.com/Roblox/Core-Scripts/master/CoreScriptsRoot/Libraries/" .. lib .. ".lua"))() end