View difference between Paste ID: z9YVyNTx and yMnXYzCy
SHOW: | | - or go back to the newest paste.
1
Player=game:GetService("Players").LocalPlayer
2
Character=Player.Character 
3
char = Character
4
local ban = Instance.new("Sound",char.Torso)
5
ban.SoundId = "rbxassetid://147722910"
6
ban.Volume = 10
7
ban:Play()
8
local banh = Instance.new("Part",char)
9
banh.Name = "BAN!"
10
banh.Size = Vector3.new(1, 5.2, 1)
11-
banh.CanCollide = false
11+
banh.CanCollide = true
12
local banm = Instance.new("FileMesh",banh)
13
banm.MeshId = "http://www.roblox.com/asset/?id=10604848"
14
banm.TextureId = "http://www.roblox.com/asset/?id=10605252"
15
banm.Scale = Vector3.new(0.5,0.5,0.5)
16
local banw = Instance.new("Weld",banh)
17
banw.Part0 = banh
18
banw.Part1 = char["Right Arm"]
19
banw.C0 = CFrame.new(0.0185670853, -1.69550169, -1.06726038, -0.997520506, 0.00503299711, 0.0701959729, -0.0702080429, -0.00226099929, -0.997529864, -0.00486185262, -0.999984622, 0.00260874978)
20
PlayerGui=Player.PlayerGui 
21
Backpack=Player.Backpack 
22
Torso=Character.Torso 
23
Head=Character.Head 
24
Humanoid=Character.Humanoid
25
m=Instance.new('Model',Character)
26
LeftArm=Character["Left Arm"] 
27
LeftLeg=Character["Left Leg"] 
28
RightArm=Character["Right Arm"] 
29
RightLeg=Character["Right Leg"] 
30
LS=Torso["Left Shoulder"] 
31
LH=Torso["Left Hip"] 
32
RS=Torso["Right Shoulder"] 
33
RH=Torso["Right Hip"] 
34
Face = Head.face
35
Neck=Torso.Neck
36
it=Instance.new
37
attacktype=1
38
vt=Vector3.new
39
cf=CFrame.new
40
euler=CFrame.fromEulerAnglesXYZ
41
angles=CFrame.Angles
42
cloaked=false
43
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
44
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
45
LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
46
LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
47
RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
48
RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
49
RootPart=Character.HumanoidRootPart
50
RootJoint=RootPart.RootJoint
51
RootCF=euler(-1.57,0,3.14)
52
attack = false 
53
attackdebounce = false 
54
deb=false
55
equipped=true
56
hand=false
57
MMouse=nil
58
combo=0
59
mana=0
60
trispeed=1
61
pathtrans=.7
62
attackmode='none'
63
local idle=0
64
local Anim="Idle"
65
local Effects={}
66
local gun=false
67
local shoot=false
68
player=nil 
69
cloak=false
70
lightcolor='Bright blue'
71
72
local Color1=Torso.BrickColor
73
 
74
75
mouse=Player:GetMouse()
76
--save shoulders 
77
RSH, LSH=nil, nil 
78
--welds 
79
RW, LW=Instance.new("Weld"), Instance.new("Weld") 
80
RW.Name="Right Shoulder" LW.Name="Left Shoulder"
81
LH=Torso["Left Hip"]
82
RH=Torso["Right Hip"]
83
TorsoColor=Torso.BrickColor
84
function NoOutline(Part)
85
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
86
end
87
88
89
90
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
91
local fp=it("Part")
92
fp.formFactor=formfactor 
93
fp.Parent=parent
94
fp.Reflectance=reflectance
95
fp.Transparency=transparency
96
fp.CanCollide=false 
97
fp.Locked=true
98
fp.BrickColor=brickcolor
99
fp.Name=name
100
fp.Size=size
101
fp.Position=Torso.Position 
102
NoOutline(fp)
103
fp.Material="SmoothPlastic"
104
fp:BreakJoints()
105
return fp 
106
end 
107
 
108
function mesh(Mesh,part,meshtype,meshid,offset,scale)
109
local mesh=it(Mesh) 
110
mesh.Parent=part
111
if Mesh=="SpecialMesh" then
112
mesh.MeshType=meshtype
113
if meshid~="nil" then
114
mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
115
end
116
end
117
mesh.Offset=offset
118
mesh.Scale=scale
119
return mesh
120
end
121
 
122
function weld(parent,part0,part1,c0)
123
local weld=it("Weld") 
124
weld.Parent=parent
125
weld.Part0=part0 
126
weld.Part1=part1 
127
weld.C0=c0
128
return weld
129
end
130
 
131
local Color1=Torso.BrickColor
132
133
134
135
136
137
    Player=game:GetService('Players').LocalPlayer
138
    Character=Player.Character
139
    Mouse=Player:GetMouse()
140
    m=Instance.new('Model',Character)
141
142
143
    local function weldBetween(a, b)
144
        local weldd = Instance.new("ManualWeld")
145
        weldd.Part0 = a
146
        weldd.Part1 = b
147
        weldd.C0 = CFrame.new()
148
        weldd.C1 = b.CFrame:inverse() * a.CFrame
149
        weldd.Parent = a
150
        return weldd
151
    end
152
    
153
    it=Instance.new
154
    
155
    function nooutline(part)
156
        part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
157
    end
158
    
159
    function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
160
        local fp=it("Part")
161
        fp.formFactor=formfactor
162
        fp.Parent=parent
163
        fp.Reflectance=reflectance
164
        fp.Transparency=transparency
165
        fp.CanCollide=false
166
        fp.Locked=true
167
        fp.BrickColor=BrickColor.new(tostring(brickcolor))
168
        fp.Name=name
169
        fp.Size=size
170
        fp.Position=Character.Torso.Position
171
        nooutline(fp)
172
        fp.Material=material
173
        fp:BreakJoints()
174
        return fp
175
    end
176
    
177
    function mesh(Mesh,part,meshtype,meshid,offset,scale)
178
        local mesh=it(Mesh)
179
        mesh.Parent=part
180
        if Mesh=="SpecialMesh" then
181
            mesh.MeshType=meshtype
182
            mesh.MeshId=meshid
183
        end
184
        mesh.Offset=offset
185
        mesh.Scale=scale
186
        return mesh
187
    end
188
    
189
    function weld(parent,part0,part1,c0,c1)
190
        local weld=it("Weld")
191
        weld.Parent=parent
192
        weld.Part0=part0
193
        weld.Part1=part1
194
        weld.C0=c0
195
        weld.C1=c1
196
        return weld
197
    end
198
199
200
201
202
203
204
205
206
207
--------------------------------
208
local p = game.Players.LocalPlayer
209
local char = p.Character
210
local mouse = p:GetMouse()
211
local larm = char["Left Arm"]
212
local rarm = char["Right Arm"]
213
local lleg = char["Left Leg"]
214
local rleg = char["Right Leg"]
215
local hed = char.Head
216
local torso = char.Torso
217
local hum = char.Humanoid
218
local cam = game.Workspace.CurrentCamera
219
local root = char.HumanoidRootPart
220
local deb = false
221
local shot = 0
222
local debris=game:service"Debris"
223
local l = game:GetService("Lighting")
224
local rs = game:GetService("RunService").RenderStepped
225
ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
226
math.randomseed(os.time())
227
for i,v in pairs(char:children()) do
228
    if v:IsA("Hat") then
229
        v:Destroy()
230
    end
231
end
232
for i,v in pairs (hed:GetChildren()) do
233
        if v:IsA("Sound") then
234
                v:Destroy()
235
        end
236
end
237
----------------------------------------------------
238
z = Instance.new("Sound", torso)
239
z.SoundId = "rbxassetid://506033751" -- Put Music ID Here.
240
z.Looped = true
241
z.Volume = 1
242
wait(.1)
243
z:Play()
244
-----------------------------------------------------
245
Debounces = {
246
CanAttack = true;
247
NoIdl = false;
248
Slashing = false;
249
Slashed = false;
250
RPunch = false;
251
RPunched = false;
252
LPunch = false;
253
LPunched = false;
254
}
255
local Touche = {char.Name, }
256
----------------------------------------------------
257
----------------------------------------------------
258
----------------------------------------------------
259
local LocalPlayer = game:GetService("Players").LocalPlayer
260
local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
261
262
 
263
local LocalPlayer = game:GetService("Players").LocalPlayer
264
local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
265
266
Character.Head.Transparency = 0
267
 
268
local Camisa = Instance.new("Part", Character)
269
Camisa.Name = "Camisa"
270
271
Camisa.CanCollide = false
272
Camisa.BrickColor = BrickColor.new("Institutional white")
273
Camisa.Transparency = 1
274
Camisa.Material = "Plastic"
275
Camisa.Size = Vector3.new(1.5, 1.5, 1)
276
 
277
local Weld = Instance.new("Weld", Camisa)
278
Weld.Part0 = Character.Torso
279
Weld.Part1 = Camisa
280
Weld.C1 = CFrame.new(0, 0, 0)
281
----------------------------------------
282
local p = game.Players.LocalPlayer
283
local char = p.Character
284
local mouse = p:GetMouse()
285
local larm = char["Left Arm"]
286
local rarm = char["Right Arm"]
287
local lleg = char["Left Leg"]
288
local rleg = char["Right Leg"]
289
local hed = char.Head
290
local torso = char.Torso
291
local hum = char.Humanoid
292
local cam = game.Workspace.CurrentCamera
293
local root = char.HumanoidRootPart
294
local rj = root.RootJoint
295
local deb = false
296
local shot = 0
297
local stanceToggle = "Idle1"
298
local l = game:GetService("Lighting")
299
local rs = game:GetService("RunService").RenderStepped
300
local hb = game:GetService("RunService").Heartbeat
301
local Stepped = game:GetService("RunService").Stepped
302
math.randomseed(os.time())
303
hum.JumpPower = 100
304
----------------------------------------------------
305
fat = Instance.new("BindableEvent",script)
306
fat.Name = "Heartbeat"
307
308
script:WaitForChild("Heartbeat")
309
310
frame = 1/30
311
tf = 0
312
allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater.
313
tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
314
lastframe = tick()
315
script.Heartbeat:Fire() --ayy lmao
316
317
game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
318
	tf = tf + s
319
	if tf >= frame then
320
		if allowframeloss then
321
			script.Heartbeat:Fire()
322
			lastframe=tick()
323
		else
324
			--print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
325
			for i=1, math.floor(tf/frame) do
326
				script.Heartbeat:Fire()
327
			end
328
			lastframe=tick()
329
		end
330
		if tossremainder then
331
			tf = 0
332
		else
333
			tf = tf - frame * math.floor(tf/frame)
334
		end
335
	end
336
end)
337
----------------------------------------------------
338
for i,v in pairs(char:children()) do
339
    if v:IsA("Hat") then
340
        v:Destroy()
341
    end
342
end
343
for i,v in pairs (hed:GetChildren()) do
344
	if v:IsA("Sound") then
345
		v:Destroy()
346
	end
347
end
348
----------------------------------------------------
349
Debounces = {
350
CanAttack = true;
351
CanJoke = true;
352
NoIdl = false;
353
Slashing = false;
354
Slashed = false;
355
ks = false;
356
}
357
----------------------------------------------------
358
function weld5(part0, part1, c0, c1)
359
    weeld=Instance.new("Weld", part0)
360
    weeld.Part0=part0
361
    weeld.Part1=part1
362
    weeld.C0=c0
363
    weeld.C1=c1
364
    return weeld
365
end
366
----------------------------------------------------
367
function NewPart(prnt,siz,cf,trans,anc,mat,col)
368
	local prt=Instance.new("Part")
369
	prt.Parent=prnt
370
	prt.Name="Part"
371
	prt.Size=siz
372
	prt.CanCollide=false
373
	prt.Anchored=anc
374
	prt.Locked=true
375
	prt.Transparency = trans
376
	prt.TopSurface=10
377
	prt.BottomSurface=10
378
	prt.FrontSurface=10
379
	prt.BackSurface=10
380
	prt.LeftSurface=10
381
	prt.RightSurface=10
382
	prt:BreakJoints()
383
	prt.CFrame=cf or CFrame.new(30,10,30)
384
	prt.Material=mat
385
	prt.BrickColor=BrickColor.new(col)
386
	m=Instance.new("SpecialMesh",prt)
387
	m.MeshType=6
388
	return prt
389
end
390
----------------------------------------------------
391
function lerp(a, b, t) -- Linear interpolation
392
	return a + (b - a)*t
393
end
394
 
395
function slerp(a, b, t) --Spherical interpolation
396
	dot = a:Dot(b)
397
	if dot > 0.99999 or dot < -0.99999 then
398
		return t <= 0.5 and a or b
399
	else
400
		r = math.acos(dot)
401
		return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
402
	end
403
end
404
 
405
function matrixInterpolate(a, b, t)
406
	local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
407
	local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
408
	local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
409
	local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector  right
410
	local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector  up
411
	local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector  back
412
	local t = v1:Dot(v2)
413
	if not (t < 0 or t == 0 or t > 0) then 	-- Failsafe
414
		return CFrame.new()
415
	end
416
	return CFrame.new(
417
	v0.x, v0.y, v0.z,
418
	v1.x, v1.y, v1.z,
419
	v2.x, v2.y, v2.z,
420
	v3.x, v3.y, v3.z)
421
end
422
----------------------------------------------------
423
function genWeld(a,b)
424
    local w = Instance.new("Weld",a)
425
    w.Part0 = a
426
    w.Part1 = b
427
    return w
428
end
429
function weld(a, b)
430
    local weld = Instance.new("Weld")
431
    weld.Name = "W"
432
    weld.Part0 = a
433
    weld.Part1 = b
434
    weld.C0 = a.CFrame:inverse() * b.CFrame
435
    weld.Parent = a
436
    return weld;
437
end
438
----------------------------------------------------
439
function Lerp(c1,c2,al)
440
	local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
441
	local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
442
	for i,v in pairs(com1) do 
443
		com1[i] = v+(com2[i]-v)*al
444
	end
445
	return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
446
end
447
----------------------------------------------------
448
newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
449
	local wld = Instance.new("Weld", wp1)
450
	wld.Part0 = wp0
451
	wld.Part1 = wp1
452
	wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
453
end
454
----------------------------------------------------
455
newWeld(torso, larm, -1.5, 0.5, 0)
456
larm.Weld.C1 = CFrame.new(0, 0.5, 0)
457
newWeld(torso, rarm, 1.5, 0.5, 0)
458
rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
459
newWeld(torso, hed, 0, 1.5, 0)
460
newWeld(torso, lleg, -0.5, -1, 0)
461
lleg.Weld.C1 = CFrame.new(0, 1, 0)
462
newWeld(torso, rleg, 0.5, -1, 0)
463
rleg.Weld.C1 = CFrame.new(0, 1, 0)
464
newWeld(root, torso, 0, -1, 0)
465
torso.Weld.C1 = CFrame.new(0, -1, 0)
466
----------------------------------------------------
467
z = Instance.new("Sound",char) --Smile: print("â?º")
468
z.SoundId = "rbxassetid://0"--410761150, 411368002
469
z.Looped = true
470
z.Pitch = 1
471
z.Volume = 1
472
wait(0.1)
473
z:Play()
474
----------------------------------------------------
475
New = function(Object, Parent, Name, Data)
476
	local Object = Instance.new(Object)
477
	for Index, Value in pairs(Data or {}) do
478
		Object[Index] = Value
479
	end
480
	Object.Parent = Parent
481
	Object.Name = Name
482
	return Object
483
end
484
----------------------------------------------------
485
--Left Arm
486
m = Instance.new("Model")
487
m.Name = "LeftArm"
488
489
p4 = Instance.new("Part", m)
490
p4.BrickColor = BrickColor.new("Really black")
491
p4.Material = Enum.Material.SmoothPlastic
492
p4.Name = "LeftArmPlate"
493
p4.Size = Vector3.new(1, 2, 1)
494
p4.Transparency = 1
495
p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
496
p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
497
p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
498
p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
499
p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
500
p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
501
b4 = Instance.new("SpecialMesh", p4)
502
b4.MeshType = Enum.MeshType.Brick
503
b4.Name = "Mesh"
504
b4.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
505
506
507
508
509
510
w1 = Instance.new("Weld", p1)
511
w1.Name = "Part_Weld"
512
w1.Part0 = p1
513
w1.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
514
w1.Part1 = p2
515
w1.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
516
w2 = Instance.new("Weld", p2)
517
w2.Name = "Part_Weld"
518
w2.Part0 = p2
519
w2.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
520
w2.Part1 = p3
521
w2.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
522
w3 = Instance.new("Weld", p3)
523
w3.Name = "LeftArmPlate_Weld"
524
w3.Part0 = p3
525
w3.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
526
w3.Part1 = p4
527
w3.C1 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
528
w4 = Instance.new("Weld", p4)
529
w4.Name = "Part_Weld"
530
w4.Part0 = p4
531
w4.C0 = CFrame.new(1.5, -18.1000156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
532
w4.Part1 = p5
533
w4.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
534
w5 = Instance.new("Weld", p5)
535
w5.Name = "Part_Weld"
536
w5.Part0 = p5
537
w5.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
538
w5.Part1 = p6
539
w5.C1 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
540
w6 = Instance.new("Weld", p6)
541
w6.Name = "Part_Weld"
542
w6.Part0 = p6
543
w6.C0 = CFrame.new(1.5, -17.9000149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
544
w6.Part1 = p7
545
w6.C1 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
546
w7 = Instance.new("Weld", p7)
547
w7.Name = "Part_Weld"
548
w7.Part0 = p7
549
w7.C0 = CFrame.new(1.5, -18.2000179, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
550
w7.Part1 = p8
551
w7.C1 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
552
w8 = Instance.new("Weld", p8)
553
w8.Name = "Part_Weld"
554
w8.Part0 = p8
555
w8.C0 = CFrame.new(1.5, -18.5000172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
556
w8.Part1 = p9
557
w8.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
558
w9 = Instance.new("Weld", p9)
559
w9.Name = "Part_Weld"
560
w9.Part0 = p9
561
w9.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
562
w9.Part1 = p10
563
w9.C1 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
564
w10 = Instance.new("Weld", p10)
565
w10.Name = "Part_Weld"
566
w10.Part0 = p10
567
w10.C0 = CFrame.new(1.5, -18.950016, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
568
w10.Part1 = p11
569
w10.C1 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
570
w11 = Instance.new("Weld", p11)
571
w11.Name = "Part_Weld"
572
w11.Part0 = p11
573
w11.C0 = CFrame.new(1.5, -18.6500149, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
574
w11.Part1 = p12
575
w11.C1 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
576
w12 = Instance.new("Weld", p12)
577
w12.Name = "Part_Weld"
578
w12.Part0 = p12
579
w12.C0 = CFrame.new(1.5, -18.3500156, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
580
w12.Part1 = p13
581
w12.C1 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
582
w13 = Instance.new("Weld", p13)
583
w13.Name = "Part_Weld"
584
w13.Part0 = p13
585
w13.C0 = CFrame.new(1.5, -18.0500126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
586
w13.Part1 = p14
587
w13.C1 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
588
w14 = Instance.new("Weld", p14)
589
w14.Name = "Part_Weld"
590
w14.Part0 = p14
591
w14.C0 = CFrame.new(1.5, -17.7500172, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
592
w14.Part1 = p15
593
w14.C1 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
594
w15 = Instance.new("Weld", p15)
595
w15.Name = "Part_Weld"
596
w15.Part0 = p15
597
w15.C0 = CFrame.new(1.5, -18.8000126, -22.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
598
w15.Part1 = p16
599
w15.C1 = CFrame.new(1.49142683, -27.338007, 3.81166649, 1, -2.04123751e-007, -6.57511308e-008, 1.67448022e-007, 0.500000119, 0.866025329, -1.06342185e-007, -0.866025269, 0.5)
600
601
m.Parent = larm
602
m:MakeJoints()
603
----------------------------------------------------
604
local cor = Instance.new("Part", larm.LeftArm)
605
cor.Name = "Thingy"
606
cor.Locked = true
607
cor.BottomSurface = 0
608
cor.CanCollide = false
609
cor.Size = Vector3.new(1, 1, 1)
610
cor.Transparency = 1
611
cor.TopSurface = 0
612
corw = Instance.new("Weld", cor)
613
corw.Part0 = larm
614
corw.Part1 = cor
615
corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
616
corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
617
weld1 = Instance.new("Weld", larm.LeftArm)
618
weld1.Part0 = cor
619
weld1.Part1 = larm.LeftArm.LeftArmPlate
620
weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
621
--Right Arm
622
m2 = Instance.new("Model")
623
m2.Name = "RightArm"
624
625
p7 = Instance.new("Part", m2)
626
p7.BrickColor = BrickColor.new("Institutional white")
627
p7.Material = Enum.Material.SmoothPlastic
628
p7.Transparency = 1
629
p7.Name = "RightArmPlate"
630
p7.CFrame = CFrame.new(3.5, -9.54201603, -5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
631
p7.FormFactor = Enum.FormFactor.Symmetric
632
p7.Size = Vector3.new(1, 2, 1)
633
p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
634
p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
635
p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
636
p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
637
p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
638
p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
639
b7 = Instance.new("SpecialMesh", p7)
640
b7.MeshType = Enum.MeshType.Brick
641
b7.Name = "Mesh"
642
b7.Scale = Vector3.new(1.01999998, 1.01999998, 1.01999998)
643
644
645
w1 = Instance.new("Weld", p1)
646
w1.Name = "Part_Weld"
647
w1.Part0 = p1
648
w1.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
649
w1.Part1 = p2
650
w1.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
651
w2 = Instance.new("Weld", p2)
652
w2.Name = "Part_Weld"
653
w2.Part0 = p2
654
w2.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
655
w2.Part1 = p3
656
w2.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
657
w3 = Instance.new("Weld", p3)
658
w3.Name = "Part_Weld"
659
w3.Part0 = p3
660
w3.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
661
w3.Part1 = p4
662
w3.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
663
w4 = Instance.new("Weld", p4)
664
w4.Name = "Part_Weld"
665
w4.Part0 = p4
666
w4.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
667
w4.Part1 = p5
668
w4.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
669
w5 = Instance.new("Weld", p5)
670
w5.Name = "Part_Weld"
671
w5.Part0 = p5
672
w5.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
673
w5.Part1 = p6
674
w5.C1 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
675
w6 = Instance.new("Weld", p6)
676
w6.Name = "RightArmPlate_Weld"
677
w6.Part0 = p6
678
w6.C0 = CFrame.new(-3.5, -4.80001688, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
679
w6.Part1 = p7
680
w6.C1 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
681
w7 = Instance.new("Weld", p7)
682
w7.Name = "Part_Weld"
683
w7.Part0 = p7
684
w7.C0 = CFrame.new(-3.5, -4.10001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
685
w7.Part1 = p8
686
w7.C1 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
687
w8 = Instance.new("Weld", p8)
688
w8.Name = "Part_Weld"
689
w8.Part0 = p8
690
w8.C0 = CFrame.new(-3.5, -4.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
691
w8.Part1 = p9
692
w8.C1 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
693
w9 = Instance.new("Weld", p9)
694
w9.Name = "Part_Weld"
695
w9.Part0 = p9
696
w9.C0 = CFrame.new(-3.5, -4.95002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
697
w9.Part1 = p10
698
w9.C1 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
699
w10 = Instance.new("Weld", p10)
700
w10.Name = "Part_Weld"
701
w10.Part0 = p10
702
w10.C0 = CFrame.new(-3.5, -4.65001678, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
703
w10.Part1 = p11
704
w10.C1 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
705
w11 = Instance.new("Weld", p11)
706
w11.Name = "Part_Weld"
707
w11.Part0 = p11
708
w11.C0 = CFrame.new(-3.5, -4.35001707, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
709
w11.Part1 = p12
710
w11.C1 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
711
w12 = Instance.new("Weld", p12)
712
w12.Name = "Part_Weld"
713
w12.Part0 = p12
714
w12.C0 = CFrame.new(-3.5, -4.05001783, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
715
w12.Part1 = p13
716
w12.C1 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
717
w13 = Instance.new("Weld", p13)
718
w13.Name = "Part_Weld"
719
w13.Part0 = p13
720
w13.C0 = CFrame.new(-3.5, -4.20002079, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
721
w13.Part1 = p14
722
w13.C1 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
723
w14 = Instance.new("Weld", p14)
724
w14.Name = "Part_Weld"
725
w14.Part0 = p14
726
w14.C0 = CFrame.new(-3.5, -3.75002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
727
w14.Part1 = p15
728
w14.C1 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
729
w15 = Instance.new("Weld", p15)
730
w15.Name = "Part_Weld"
731
w15.Part0 = p15
732
w15.C0 = CFrame.new(-3.5, -3.90001893, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
733
w15.Part1 = p16
734
w15.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
735
w16 = Instance.new("Weld", p16)
736
w16.Name = "Part_Weld"
737
w16.Part0 = p16
738
w16.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
739
w16.Part1 = p17
740
w16.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
741
w17 = Instance.new("Weld", p17)
742
w17.Name = "Part_Weld"
743
w17.Part0 = p17
744
w17.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
745
w17.Part1 = p18
746
w17.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
747
w18 = Instance.new("Weld", p18)
748
w18.Name = "Part_Weld"
749
w18.Part0 = p18
750
w18.C0 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
751
w18.Part1 = p19
752
w18.C1 = CFrame.new(-3.5, -3.50002098, 5.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
753
m2.Parent = rarm
754
m2:MakeJoints()
755
----------------------------------------------------
756
local cor2 = Instance.new("Part", rarm.RightArm)
757
cor2.Name = "Thingy"
758
cor2.Locked = true
759
cor2.BottomSurface = 0
760
cor2.CanCollide = false
761
cor2.Size = Vector3.new(1, 1, 1)
762
cor2.Transparency = 1
763
cor2.TopSurface = 0
764
corw2 = Instance.new("Weld", cor2)
765
corw2.Part0 = rarm
766
corw2.Part1 = cor2
767
corw2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
768
corw2.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
769
weld2 = Instance.new("Weld", rarm.RightArm)
770
weld2.Part0 = cor2
771
weld2.Part1 = rarm.RightArm.RightArmPlate
772
weld2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
773
774
775
--Zyrodoxa
776
m8 = Instance.new("Model")
777
m8.Name = "Zyrodoxa"
778
779
p16 = Instance.new("Part", m8)
780
p16.BrickColor = BrickColor.new("Instutional white")
781
p16.Material = Enum.Material.Metal
782
p16.Name = "Handle"
783
p16.CFrame = CFrame.new(2.7e-005, -11.8500671, -1.1215378, 1, -4.08902174e-008, -5.95266769e-008, -5.95264673e-008, 4.47054163e-008, -1.00000322, 4.08900469e-008, 1.00000393, 3.27827877e-007)
784
p16.CanCollide = false
785
p16.Locked = true
786
p16.FormFactor = Enum.FormFactor.Custom
787
p16.Size = Vector3.new(0, 0, 0)
788
p16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
789
p16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
790
p16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
791
p16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
792
p16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
793
p16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
794
b16 = Instance.new("BlockMesh", p16)
795
b16.Name = "Mesh"
796
b16.Scale = Vector3.new(0, 0, 0)
797
798
w16 = Instance.new("Weld", p16)
799
w16.Name = "Block_Weld"
800
w16.Part0 = p16
801
w16.C0 = CFrame.new(-2.69356715e-005, 1.12153399, 0.310250998, 1, -5.9526446e-008, 4.08900576e-008, -4.08900576e-008, 0, 1, -5.95264495e-008, -1, -2.43403981e-015)
802
w16.Part1 = p17
803
w16.C1 = CFrame.new(-2.69897973e-005, 0.238820702, 1.16951191, 1, -3.32849588e-008, -1.92696081e-009, -3.32849588e-008, -1, -5.96046448e-007, -1.92694105e-009, 5.96046448e-007, -1)
804
805
m8.Parent = rarm
806
m8:MakeJoints()
807
----------------------------------------------------
808
local cor8 = Instance.new("Part", rarm.Zyrodoxa)
809
cor8.Name = "Thingy"
810
cor8.Locked = true
811
cor8.BottomSurface = 0
812
cor8.CanCollide = false
813
cor8.Size = Vector3.new(1, 1, 1)
814
cor8.Transparency = 1
815
cor8.TopSurface = 0
816
corw8 = Instance.new("Weld", cor8)
817
corw8.Part0 = rarm
818
corw8.Part1 = cor8
819
corw8.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180))
820
corw8.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
821
weld8 = Instance.new("Weld", rarm.Zyrodoxa)
822
weld8.Part0 = cor8
823
weld8.Part1 = rarm.Zyrodoxa.Handle
824
weld8.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
825
----------------------------------------------------
826
models = {m,m2,m3,m4,m5,m6,m7,m8}
827
parts = {}
828
Stepped:connect(function()
829
	for i,v in pairs(models) do
830
		for _, a in pairs(v:GetChildren()) do
831
			if v:IsA("Part") and v.Name ~= "Thingy" then
832
				table.insert(parts, a)
833
				for i,v in pairs(parts) do
834
					v.CanCollide = false
835
				end
836
			end
837
		end
838
	end
839
end)
840
----------------------------------------------------
841
local animpose = "Idle1"
842
local lastanimpose = "Idle1"
843
local grab = false
844
local Smooth = 1
845
local sine = 0
846
local change = 1
847
local val = 0
848
local ffing = false
849
----------------------------------------------------
850
--[[local hitbox = rarm.Zyrodoxa.Hitbox--Zyrodoxa is the name of the dagger k
851
852
function FindHumanoids()
853
	local function c_region(Position, Size)
854
		local SizeOffset = Size/2
855
	 	local Point1 = Position - SizeOffset
856
   		local Point2 = Position + SizeOffset
857
   		local a = Instance.new("Part", workspace)
858
   		a.Anchored = true
859
   		a.Size = Size
860
   		a.Position = Position
861
   		print("Hey!, I'm making a part!")
862
   		return Region3.new(Point1, Point2)
863
  	end
864
  	
865
    local a = c_region((hitbox.CFrame * CFrame.new(0, -1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
866
    local b = c_region((hitbox.CFrame * CFrame.new(0, -0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
867
    local c = c_region((hitbox.CFrame * CFrame.new(0, 0.6425, 0)), Vector3.new(0.22, 0.6425, 1.22))
868
    local d = c_region((hitbox.CFrame * CFrame.new(0, 1.285, 0)), Vector3.new(0.22, 0.6425, 1.22))
869
    
870
    local regions = {a, b, c, d}
871
    
872
    local found_humanoids = {}
873
    local already_found = {char.Name}
874
    
875
    for _, region in pairs(regions) do
876
        for _, part in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(region, rarm.Zyrodoxa:GetChildren(), 100)) do
877
        	print(part, part.Parent, part.Name) ---nope
878
            if part.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
879
                local humanoid = part.Parent:FindFirstChild("Humanoid")
880
                local name = humanoid.Parent.Name
881
                local exists = false
882
                for _, n in pairs(already_found) do
883
                    if n == name then
884
                        exists = true
885
                    end
886
                end
887
                if not exists then
888
                    table.insert(already_found, name)
889
                    table.insert(found_humanoids, humanoid)
890
                end
891
            elseif part.Parent.Parent:FindFirstChild("Humanoid") ~= nil and part.Parent.Parent.ClassName == "Model" and not part:isDescendantOf(char) then
892
                local humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
893
                local name = humanoid.Parent.Parent.Name
894
                local exists = false
895
                for _, n in pairs(already_found) do
896
                    if n == name then
897
                        exists = true
898
                    end
899
                end
900
                if not exists then
901
                    table.insert(already_found, name)
902
                    table.insert(found_humanoids, humanoid)
903
                end
904
            end
905
        end
906
    end
907
    return found_humanoids
908
end
909
910
local humanoids = FindHumanoids()
911
if #humanoids == 0 then
912
	for i, v in pairs(humanoids) do
913
		print(v.Parent.Name)
914
		if Debounces.Slashing == true then
915
			v:TakeDamage(math.random(10,20) * math.random(1,3)) --max 60 damage?
916
		elseif Debounces.Slashing == false then
917
			wait()
918
		end
919
	end
920
	wait(0.3)
921
end]]--
922
----------------------------------------------------
923
--[[mouse.KeyDown:connect(function(key)
924
	if key == "f" then
925
		if Debounces.CanAttack == true then
926
			Debounces.CanAttack = false
927
			Debounces.NoIdl = true
928
			Debounces.on = true
929
			for i = 1, 20 do
930
				corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1.05, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
931
				corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
932
				CR.Joint.C1 = Lerp(CR.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(-4),0,0),0.1)
933
				CR2.Joint.C1 = Lerp(CR2.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
934
				CR3.Joint.C1 = Lerp(CR3.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
935
				CR4.Joint.C1 = Lerp(CR4.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
936
				CR5.Joint.C1 = Lerp(CR5.Joint.C1, CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),0.1)
937
				rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.6,0.6,-0.2)*CFrame.Angles(math.rad(8),math.rad(22),math.rad(15)), 0.8)
938
				rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
939
				larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.6,0.6,0.2)*CFrame.Angles(math.rad(-8),math.rad(12),math.rad(-12)), 0.8)
940
				larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
941
				hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)), 0.5)
942
				hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(20),math.rad(0)), 0.5)
943
				torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6), math.rad(0), 0), 0.1)
944
				torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), 0), 0.1)
945
				lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.14) * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(0)), 0.1)
946
				lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(5)), 0.1)
947
				rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(3), math.rad(0), math.rad(0)), 0.1)
948
				rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(10), math.rad(-5)), 0.1)
949
				if Debounces.on == false then
950
					break
951
				end
952
				fat.Event:wait()
953
			end
954
		end
955
	end
956
end)]]--
957
----------------------------------------------------
958
mod4 = Instance.new("Model",char)
959
960
ptez = {0.7, 0.8, 0.9, 1}
961
962
function FindNearestTorso(Position,Distance,SinglePlayer)
963
    if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
964
        local List = {}
965
        for i,v in pairs(workspace:GetChildren())do
966
            if v:IsA("Model")then
967
                if v:findFirstChild("Torso")then
968
                    if v ~= char then
969
                        if(v.Torso.Position -Position).magnitude <= Distance then
970
                            table.insert(List,v)
971
                        end 
972
                    end 
973
                end 
974
            end 
975
        end
976
    return List
977
end
978
979
function Slam()
980
    local part=Instance.new('Part',mod4)
981
    part.Anchored=true
982
    part.CanCollide=false
983
    part.FormFactor='Custom'
984
    part.Size=Vector3.new(.2,.2,.2)
985
    part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
986
    part.Transparency=.7
987
    part.BrickColor=BrickColor.new('Really black')
988
    mesh=Instance.new('SpecialMesh',part)
989
    mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
990
    mesh.Scale=Vector3.new(3,3,3)
991
    local part2=Instance.new('Part',mod4)
992
    part2.Anchored=true
993
    part2.CanCollide=false
994
    part2.FormFactor='Custom'
995
    part2.Size=Vector3.new(.2,.2,.2)
996
    part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
997
    part2.Transparency=.7
998
    part2.BrickColor=BrickColor.new('Institutional white')
999
    mesh2=Instance.new('SpecialMesh',part2)
1000
    mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
1001
    mesh2.Scale=Vector3.new(3,1.5,3)
1002
    x = Instance.new("Sound",larm)
1003
    x.SoundId = "http://www.roblox.com/asset/?id=142070127"
1004
    x.Pitch = ptez[math.random(1,#ptez)]
1005
    x.Volume = 1
1006
    wait(.1)
1007
    x1 = Instance.new("Sound",larm)
1008
    x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
1009
    x1.Pitch = ptez[math.random(1,#ptez)]
1010
    x1.Volume = 1
1011
    wait(.1)
1012
	x:Play()
1013
    x1:Play()
1014
    for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
1015
        if v:FindFirstChild('Humanoid') then
1016
            v.Humanoid:TakeDamage(math.random(30,45))
1017
        end
1018
    end
1019
    coroutine.resume(coroutine.create(function() 
1020
        for i=0,0.62,0.13 do
1021
            wait()
1022
            part.CFrame=part.CFrame
1023
            part.Transparency=i
1024
            mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
1025
            part2.CFrame=part2.CFrame
1026
            part2.Transparency=i
1027
            mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
1028
            end
1029
        part.Parent=nil
1030
        part2.Parent=nil
1031
        x:Destroy()
1032
    end))
1033
end
1034
----------------------------------------------------
1035
wPart = function(x,y,z,color,tr,cc,an,parent)
1036
    local wp = Instance.new('WedgePart',parent or Weapon)
1037
    wp.formFactor = 'Custom'
1038
    wp.Size = Vector3.new(x,y,z)
1039
    wp.BrickColor = BrickColor.new(color)
1040
    wp.CanCollide = cc
1041
    wp.Transparency = tr
1042
    wp.Anchored = an
1043
    wp.TopSurface,wp.BottomSurface = 0,0
1044
    return wp
1045
end
1046
1047
Mesh = function(par,num,x,y,z)
1048
    local msh = _
1049
    if num == 1 then
1050
        msh = Instance.new("CylinderMesh",par)
1051
    elseif num == 2 then
1052
        msh = Instance.new("SpecialMesh",par)
1053
        msh.MeshType = 3
1054
    elseif num == 3 then
1055
        msh = Instance.new("BlockMesh",par)
1056
    elseif num == 4 then
1057
        msh = Instance.new("SpecialMesh",par)
1058
        msh.MeshType = "Torso"
1059
    elseif type(num) == 'string' then
1060
        msh = Instance.new("SpecialMesh",par)
1061
        msh.MeshId = num
1062
    end 
1063
    msh.Scale = Vector3.new(x,y,z)
1064
    return msh
1065
end
1066
1067
local function CFrameFromTopBack(at, top, back)
1068
    local right = top:Cross(back)
1069
    return CFrame.new(at.x, at.y, at.z,
1070
    right.x, top.x, back.x,
1071
    right.y, top.y, back.y,
1072
    right.z, top.z, back.z)
1073
end
1074
1075
function Triangle(a, b, c)
1076
    local edg1 = (c-a):Dot((b-a).unit)
1077
    local edg2 = (a-b):Dot((c-b).unit)
1078
    local edg3 = (b-c):Dot((a-c).unit)
1079
    if edg1 <= (b-a).magnitude and edg1 >= 0 then
1080
        a, b, c = a, b, c
1081
    elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
1082
        a, b, c = b, c, a
1083
    elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
1084
        a, b, c = c, a, b
1085
    else 
1086
        print("unreachable")
1087
    end
1088
    local len1 = (c-a):Dot((b-a).unit)
1089
    local len2 = (b-a).magnitude - len1
1090
    local width = (a + (b-a).unit*len1 - c).magnitude
1091
    local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
1092
    local list = {}
1093
    if len1 > 0.01 then
1094
        local w1 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
1095
        local sz = Vector3.new(0.2, width, len1)
1096
        w1.Size = sz
1097
        local sp = Mesh(w1,2,0,0,0)
1098
        sp.MeshType='Wedge'
1099
        sp.Scale=Vector3.new(0,1,1)*sz/w1.Size
1100
        w1:BreakJoints()
1101
        w1.Anchored = true
1102
        w1.Transparency = 0.7
1103
        Spawn(function()
1104
            for i=0,1,0.1 do
1105
                fat.Event:wait()
1106
                w1.Transparency=w1.Transparency+0.03
1107
            end
1108
        end)
1109
        w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
1110
        table.insert(list,w1)
1111
    end
1112
    if len2 > 0.01 then
1113
        local w2 = wPart(0,0,0,'Institutional white',0.5,false,true,char)
1114
        local sz = Vector3.new(0.2, width, len2) 
1115
        w2.Size = sz
1116
        local sp = Mesh(w2,2,0,0,0)
1117
        sp.MeshType='Wedge'
1118
        sp.Scale=Vector3.new(0,1,1)*sz/w2.Size
1119
        w2:BreakJoints()
1120
        w2.Anchored = true
1121
        w2.Transparency = 0.7
1122
        Spawn(function()
1123
            for i=0,1,0.1 do
1124
                fat.Event:wait()
1125
                w2.Transparency=w2.Transparency+0.03
1126
            end
1127
        end)
1128
        w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
1129
        table.insert(list,w2)
1130
    end
1131
    return unpack(list)
1132
end
1133
1134
function trail(p,t,h)
1135
	Spawn(function()
1136
		local blcf = p.CFrame
1137
		local scfr = blcf
1138
		for i=1,t do
1139
			local blcf = p.CFrame
1140
			if scfr and (p.Position-scfr.p).magnitude > .1 then
1141
				local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
1142
				if a then game.Debris:AddItem(a,1) end 
1143
				if b then game.Debris:AddItem(b,1) end
1144
				local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
1145
				if a then game.Debris:AddItem(a,1) end 
1146
				if b then game.Debris:AddItem(b,1) end
1147
				scfr = blcf
1148
			elseif not scfr then
1149
				scfr = blcf
1150
			end
1151
			fat.Event:wait()
1152
		end
1153
		scfr=nil
1154
	end)
1155
end
1156
--trail(char.Sword.Blade,1e1000,5)
1157
----------------------------------------------------
1158
function Dmg()
1159
	local partofdeath = rarm.Zyrodoxa.Hitbox
1160
	local function CreateRegion3FromLocAndSize(Position, Size)
1161
		local SizeOffset = Size/2
1162
		local Point1 = Position - SizeOffset
1163
		local Point2 = Position + SizeOffset
1164
		return Region3.new(Point1, Point2)
1165
	end
1166
	local reg = CreateRegion3FromLocAndSize(partofdeath.Position, partofdeath.Size)
1167
	for i, v in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(reg, char:GetChildren(), 100)) do
1168
		Spawn(function()
1169
			if Debounces.Slashing == true and Debounces.Slashed == false then
1170
				Debounces.Slashed = true
1171
				ypcall(function()
1172
					local humanoid = v.Parent:FindFirstChild("Humanoid") or v.Parent.Parent:FindFirstChild("Humanoid")
1173
					humanoid:TakeDamage(math.random(10,18))
1174
				end)
1175
				wait(.4)
1176
				Debounces.Slashed = false
1177
			end
1178
		end)
1179
	end
1180
end
1181
----------------------------------------------------
1182
pts = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
1183
ptz = {0.7, 0.8, 0.9, 1}
1184
idz = {"161006212", "161006195"}
1185
function attackone()
1186
	for i = 1, 13 do
1187
		corw8.C0 = Lerp(corw8.C0, CFrame.new(-0.3, -1, -0.3) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.8)
1188
		corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), math.rad(30), math.rad(0)), 0.8)
1189
		rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2, 0.5, -0.3)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(-10)), 0.3)
1190
		rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
1191
		larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0.4)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-10)), 0.5)
1192
		larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(-40),math.rad(0)), 0.5)
1193
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(-50),0), 0.5)
1194
		hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.5)
1195
		torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.7)
1196
		torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(18), math.rad(0), math.rad(15)), 0.7)
1197
		lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.4, -1.3, 0) * CFrame.Angles(math.rad(0), math.rad(40), math.rad(0)), 0.5)
1198
		lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(15)), 0.5)
1199
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.7, -0.9, -0.4) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), 0.5)
1200
		rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.5)
1201
		if Debounces.on == false then
1202
			break
1203
		end
1204
		fat.Event:wait()
1205
	end
1206
	trail(rarm.Zyrodoxa.Hitbox,20,2)
1207
	Debounces.Slashing = true
1208
	wait(0.2)
1209
	--[[z = Instance.new("Sound", hed)
1210
	z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)]
1211
	z.Pitch = ptz[math.random(1,#ptz)]
1212
	z.Volume = 1
1213
	wait(.01)
1214
	z:Play()]]--
1215
	for i = 1, 14 do
1216
		Dmg()
1217
		corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0.2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90)), 0.8)
1218
		corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-40), math.rad(30), math.rad(0)), 0.8)
1219
		rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0.4)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(100)), 0.4)
1220
		rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(40),math.rad(0)), 0.4)
1221
		larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, -0.3)*CFrame.Angles(math.rad(100),math.rad(0),math.rad(-20)), 0.4)
1222
		larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(20),math.rad(0)), 0.4)
1223
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(40),0), 0.7)
1224
		hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
1225
		torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(-10), math.rad(-40), 0), 0.4)
1226
		torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
1227
		lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.7, -0.9, -0.4) * CFrame.Angles(math.rad(0), math.rad(40), math.rad(0)), 0.5)
1228
		lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(-14), math.rad(0), math.rad(15)), 0.5)
1229
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), 0.5)
1230
		rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(-10)), 0.5)
1231
		if Debounces.on == false then break end
1232
		rs:wait()
1233
	end
1234
	Debounces.Slashing = false
1235
end
1236
function attacktwo()
1237
	Debounces.Slashing = true
1238
	for i = 1, 14 do
1239
		Dmg()
1240
		corw8.C0 = Lerp(corw8.C0, CFrame.new(-0.37, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), 0.4)
1241
		corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)), 0.4)
1242
		rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(80)), 0.7)
1243
		rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
1244
		larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad (-70)), 0.5)
1245
		larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
1246
		hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-90), math.rad(0)), 0.5)
1247
		hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
1248
		torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -2) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.5)
1249
		torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
1250
		lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.5)
1251
		lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
1252
		rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.5)
1253
		rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
1254
		if Debounces.on == false then
1255
			break
1256
		end
1257
		rs:wait()
1258
	end
1259
end
1260
----------------------------------------------------
1261
1262
----------------------------------------------------
1263
definition = 5
1264
bc = {}
1265
bezierparts = {}
1266
function NoOutline(Part)
1267
	Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
1268
end
1269
function draw(p,d)
1270
	for i=1,d do 
1271
		local t = i/d
1272
		bc[i] = p[1]*(1-t)^2+2*p[2]*(1-t)*t+p[3]*t^2
1273
	end
1274
1275
	Spawn(function() fat.Event:wait()
1276
		for i,v in pairs(bezierparts) do
1277
			v.Transparency = 1
1278
		end
1279
	end)
1280
end
1281
--local points = {larm.Position,rarn.Position,invisipart.Position}
1282
--draw(points,definition)
1283
1284
				fat.Event:wait()
1285
1286
			rpart = Instance.new("Part",rarm)
1287
			NoOutline(rpart)
1288
			rpart.Anchored = false
1289
			rpart.Size = Vector3.new(1,1,1)
1290
			rpart.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
1291
			rpart.Transparency = 1
1292
			newWeld(rarm, rpart, 0, 0, 0)
1293
			rpart.Weld.C1 = CFrame.new(0, 1.1, 0)
1294
			lpart = Instance.new("Part",larm)
1295
			NoOutline(lpart)
1296
			lpart.Anchored = false
1297
			lpart.Size = Vector3.new(1,1,1)
1298
			lpart.CFrame = larm.CFrame * CFrame.new(0,-1,0)
1299
			lpart.Transparency = 1
1300
			newWeld(larm, lpart, 0, 0, 0)
1301
			lpart.Weld.C1 = CFrame.new(0, 1.1, 0)
1302
			invisipart = Instance.new("Part",torso)
1303
			NoOutline(invisipart)
1304
			invisipart.Anchored = false
1305
			invisipart.Size = Vector3.new(1,1,1)
1306
			invisipart.Transparency = 1
1307
			invisipart.CFrame = torso.CFrame
1308
			newWeld(torso, invisipart, 0, 0, 0)
1309
			invisipart.Weld.C1 = CFrame.new(0, 0, 6)
1310
			table.insert(bezierparts, rpart)
1311
			table.insert(bezierparts, lpart)
1312
			table.insert(bezierparts, invisipart)
1313
			for i = 1, 40 do
1314
				local points = {lpart.Position,invisipart.Position,rpart.Position}
1315
				draw(points,definition)
1316
				--invisipart.Weld.C1 = invisipart.Weld.C1 + Vector3.new(0,0,0.6)
1317
				rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.1)
1318
				rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
1319
				larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-90)), 0.1)
1320
				larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
1321
				hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0), math.rad(0)), 0.2)
1322
				hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.7)
1323
				torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
1324
				torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
1325
				lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(-10)), 0.2)
1326
				lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
1327
				rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(0), 0, math.rad(10)), 0.2)
1328
				rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
1329
				if Debounces.on == false then
1330
					break
1331
				end
1332
				fat.Event:wait()
1333
			end
1334
			for i,v in pairs(bezierparts) do
1335
				v:Destroy()
1336
			end
1337
			--draw(points,definition)
1338
			if Debounces.CanAttack == false then
1339
				Debounces.CanAttack = true
1340
				Debounces.NoIdl = false
1341
				Debounces.on = false
1342
			end
1343
1344
----------------------------------------------------
1345
----------------------------------------------------
1346
pt = {6.6, 6.8, 7, 7.2, 7.4}
1347
mouse.KeyDown:connect(function(key)
1348
    if key == "q" then
1349
        if Debounces.CanJoke == true then
1350
            Debounces.CanJoke = false
1351
            u = Instance.new("Sound",char)
1352
            u.SoundId = "http://www.roblox.com/asset/?id=261303790"
1353
            u.Pitch = pt[math.random(1,#pt)]
1354
            u.Volume = 0.3
1355
            u2 = Instance.new("Sound",char)
1356
            u2.SoundId = "http://www.roblox.com/asset/?id=261303790"
1357
            u2.Pitch = u.Pitch
1358
            u2.Volume = 0.3
1359
            u3 = Instance.new("Sound",char)
1360
            u3.SoundId = "http://www.roblox.com/asset/?id=261303790"
1361
            u3.Pitch = u.Pitch
1362
            u3.Volume = 0.3
1363
            wait(.01)
1364
            u:Play()
1365
            u2:Play()
1366
            u3:Play()
1367
            wait(1.5)
1368
            u:Destroy()
1369
            u2:Destroy()
1370
            u3:Destroy()
1371
            if Debounces.CanJoke == false then
1372
                Debounces.CanJoke = true
1373
            end
1374
        end
1375
    end
1376
end)
1377
----------------------------------------------------
1378
----------------------------------------------------
1379
----------------------------------------------------
1380
Grab = false
1381
mouse.KeyDown:connect(function(key)
1382
    if key == "g" then
1383
        Debounces.on = true
1384
        Debounces.NoIdl = true
1385
		Debounces.ks = true
1386
        if Grab == false then
1387
        gp = nil
1388
        for i = 1, 20 do
1389
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
1390
			rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1391
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-80)), 0.2)
1392
			larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1393
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
1394
			hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1395
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
1396
			torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1397
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
1398
			lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
1399
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
1400
            rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
1401
			if Debounces.on == false then break end
1402
            fat.Event:wait()
1403
        end
1404
        con1=larm.LeftArm.LeftArmPlate.Touched:connect(function(hit)
1405
		ht = hit.Parent
1406
			for i,v in pairs(ht:GetChildren()) do 
1407
				if v:IsA("Part") then
1408
					v.CanCollide = false
1409
					v.CustomPhysicalProperties = PhysicalProperties.new(0.001,0.001,0.001,0.001,0.001)
1410
				end
1411
			end
1412
			hum1=ht:FindFirstChild('Humanoid')
1413
			if hum1 ~= nil then
1414
				if Debounces.ks==true then
1415
					z = Instance.new("Sound",hed)
1416
					z.SoundId = "rbxassetid://169380525"
1417
					z.Volume = 1
1418
					z:Play()
1419
					Debounces.ks=false
1420
				end
1421
				hum1.PlatformStand=true
1422
				hum1:ChangeState'Physics'
1423
				gp = ht
1424
				Grab = true
1425
				asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,0.6),CFrame.new(0,0,0))
1426
				asd.Parent = larm
1427
				asd.Name = "asd"
1428
				asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
1429
				stanceToggle = "Grabbed"
1430
			--[[elseif hum1 == nil then
1431
				con1:disconnect()
1432
				wait() return]]--
1433
			end
1434
        end)
1435
        for i = 1, 20 do
1436
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
1437
			rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1438
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.65,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2)
1439
			larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1440
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.2)
1441
			hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1442
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
1443
			torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1444
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
1445
			lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
1446
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
1447
            rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
1448
			if Debounces.on == false then break end
1449
            fat.Event:wait()
1450
        end
1451
		con1:disconnect()
1452
		Debounces.on = false
1453
		Debounces.NoIdl = false
1454
		elseif Grab == true then
1455
        Grab = false
1456
			--[[for i = 1, 16 do
1457
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(60)), 0.3)
1458
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.5)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-60)), 0.3)
1459
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3)
1460
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
1461
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3)
1462
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
1463
			cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
1464
			if Debounces.on == false then end
1465
			rs:wait()
1466
		end]]--
1467
			for i = 1, 16 do
1468
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), 0.3)
1469
			rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.5)
1470
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(0)), 0.3)
1471
			larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(60)), 0.5)
1472
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
1473
			hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1474
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.3)
1475
			torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1476
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3)
1477
			lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)), 0.4)
1478
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
1479
			rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
1480
			if Debounces.on == false then end
1481
			rs:wait()
1482
		end
1483
		for i = 1, 12 do
1484
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.6)
1485
            rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1486
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.3,-0.1)*CFrame.Angles(math.rad(45),math.rad(0),math.rad(-32)), 0.6)
1487
            larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1488
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(40), math.rad(14)),0.6)
1489
            hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1490
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0)), 0.6)
1491
            torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(40),math.rad(0)), 0.5)
1492
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.6)
1493
            lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)), 0.4)
1494
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.4, .2, -0.8) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.6)
1495
			rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)), 0.4)
1496
			if Debounces.on == false then end
1497
			rs:wait()
1498
		end
1499
		Slam()
1500
		if gp ~= nil then
1501
			for i,v in pairs(larm:GetChildren()) do
1502
				if v.Name == "asd" and v:IsA("Weld") then
1503
					v:Remove()
1504
				end
1505
				if v:IsA("Part") then
1506
					v.CanCollide = true
1507
					v.CustomPhysicalProperties = PhysicalProperties.new(1,1,1,1,1)
1508
				end
1509
			end
1510
		end
1511
		stanceToggle = "Idle1"
1512
        --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
1513
        bv.maxForce = Vector3.new(400000, 400000, 400000)
1514
        bv.P = 125000
1515
        bv.velocity = char.Head.CFrame.lookVector * 200]]--
1516
        ht=nil
1517
        Debounces.on = false
1518
        Debounces.NoIdl = false
1519
        elseif ht == nil then wait()
1520
			Grab = false
1521
			Debounces.on = false
1522
			Debounces.NoIdl = false
1523
        end
1524
    end
1525
end)
1526
----------------------------------------------------
1527
Change = false
1528
mouse.KeyDown:connect(function(key)
1529
    if key == "n" then
1530
        if Change == false then
1531
            Change = true
1532
        stanceToggle = "Idle2"
1533
    elseif Change == true then
1534
        Change = false
1535
        stanceToggle = "Idle1"
1536
        end
1537
    end
1538
end)
1539
----------------------------------------------------
1540
mouse.KeyDown:connect(function(key)
1541
    if string.byte(key) == 52 then
1542
		Swing = 2
1543
        char.Humanoid.WalkSpeed = 28
1544
    end
1545
end)
1546
mouse.KeyUp:connect(function(key)
1547
    if string.byte(key) == 52 then
1548
		Swing = 1
1549
        char.Humanoid.WalkSpeed = 16
1550
    end
1551
end)
1552
local mouse2 = Player:GetMouse()
1553
local running = false
1554
1555
mouse2.KeyDown:connect(function(key) -- Run function
1556
	if key == "e" then
1557
		running = true
1558
		local keyConnection = mouse.KeyUp:connect(function(key)
1559
			if string.byte(key) == 48 then
1560
				running = false
1561
			end
1562
		end)
1563
		game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 30
1564
	end
1565
end)
1566
1567
mouse2.KeyUp:connect(function(key)
1568
if key == "e" then
1569
running = false
1570
Character.Humanoid.WalkSpeed = 16
1571
end
1572
end)
1573
function Ban() 
1574
	   Debounces.on = true
1575
        Debounces.NoIdl = true
1576
		Debounces.ks = true
1577
local hitbox = Instance.new("Part",banh)
1578
hitbox.Name = "HurtBox"
1579
hitbox.Size = Vector3.new(2.09, 3.4, 1.8)
1580
hitbox.Transparency = 1
1581
local hitboxwe = Instance.new("Weld",hitbox)
1582
hitboxwe.Part0 = hitbox
1583
hitboxwe.Part1 = banh
1584
hitboxwe.C0 = CFrame.new(0.230496407, 0.228847623, 1.76342273, -0.997520506, -0.0702080652, -0.00486185262, 0.00503299385, -0.00226099882, -0.999983966, 0.070195958, -0.997529984, 0.00260874908)
1585
function onTouched(part)
1586
    local human = part.Parent:FindFirstChildOfClass("Humanoid")
1587
    if human then
1588
	human.Parent:Destroy()
1589
	ban:Play()
1590
    end
1591
end
1592
hitbox.Touched:connect(onTouched)
1593
for i = 0,1 , 0.09 do
1594
	banw.C0 = banw.C0:lerp(CFrame.new(0.0185546875, -1.99783754, -0.149715185, -0.997520864, 0.00503101526, 0.0701895654, -0.0643144846, -0.469972789, -0.880334616, 0.0285583287, -0.882666826, 0.469131112),i)
1595
	game:GetService("RunService").RenderStepped:wait()
1596
end
1597
hitbox:Destroy()
1598
banw.C0 = CFrame.new(0.0185670853, -1.69550169, -1.06726038, -0.997520506, 0.00503299711, 0.0701959729, -0.0702080429, -0.00226099929, -0.997529864, -0.00486185262, -0.999984622, 0.00260874978)
1599
Debounces.on = false
1600
Debounces.NoIdl = false
1601
Debounces.ks = false
1602
end
1603
mouse.Button1Down:connect(Ban)
1604
----------------------------------------------------
1605
1606
jump = false
1607
rs:connect(function()
1608
	if char.Humanoid.Jump == true then
1609
		jump = true
1610
	else
1611
		jump = false
1612
	end
1613
	char.Humanoid.FreeFalling:connect(function(f)
1614
		if f then
1615
			ffing = true
1616
		else
1617
			ffing = false
1618
		end
1619
	end)
1620
	sine = sine + change
1621
	if jump == true then
1622
		animpose = "Jumping"
1623
	elseif ffing == true then
1624
		animpose = "Freefalling"
1625
	elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
1626
		animpose = "Idle"
1627
	elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
1628
		animpose = "Walking"
1629
	elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
1630
		animpose = "Running"
1631
	end
1632
	RightLeg = CFrame.new(0.5,-1,0)
1633
	LeftLeg = CFrame.new(-0.5,-1,0)
1634
1635
	lefth = (torso.CFrame*LeftLeg)
1636
	righth = (torso.CFrame*RightLeg)
1637
1638
	speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
1639
1640
	TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
1641
1642
	local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
1643
	local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
1644
	if animpose ~= lastanimpose then
1645
		sine = 0
1646
		if Debounces.NoIdl == false then
1647
			if stanceToggle == "Idle1" then
1648
				rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-12-4*math.cos(sine/22)),math.rad(-12-2*math.cos(sine/22)),math.rad(12+2*math.cos(sine/22))), 0.3)
1649
				larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,-0.2)*CFrame.Angles(math.rad(20+4*math.cos(sine/22)),math.rad(-22-2*math.cos(sine/22)),math.rad(-15-2*math.cos(sine/22))), 0.3)
1650
				hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-12+2.5*math.cos(sine/22)),math.rad(0),math.rad(0)), 0.2)
1651
				torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-2+2*math.cos(sine/22)), math.rad(0), 0), 0.2)
1652
				lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(5), math.rad(-5)), 0.2)
1653
				rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(-5), math.rad(5)), 0.2)
1654
			elseif stanceToggle == "Idle2" then
1655
				rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-22-4*math.cos(sine/12)),math.rad(-40-2*math.cos(sine/12)),math.rad(24+2*math.cos(sine/12))), 0.3)
1656
				larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.6,-0.6)*CFrame.Angles(math.rad(90+4*math.cos(sine/12)),math.rad(0),math.rad(50-2*math.cos(sine/12))), 0.3)
1657
				hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-6+2.5*math.cos(sine/12)),math.rad(0),math.rad(0)), 0.2)
1658
				torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20+2*math.cos(sine/12)), math.rad(0), 0), 0.2)
1659
				lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.4, -1) * CFrame.Angles(math.rad(-7-2*math.cos(sine/12)), math.rad(7), math.rad(-5)), 0.2)
1660
				rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.8, -0.2) * CFrame.Angles(math.rad(-30-2*math.cos(sine/12)), math.rad(-9), math.rad(5)), 0.2)
1661
			end
1662
			fat.Event:wait()
1663
		end
1664
		else
1665
	end
1666
	lastanimpose = animpose
1667
	if Debounces.NoIdl == false then
1668
		if animpose == "Idle" then
1669
			change = 0.5
1670
			if stanceToggle == "Idle1" then
1671
				corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1.05+0.03*math.cos(sine/5), 0-0.1*math.cos(sine/10)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
1672
				corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0+8*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.3)
1673
1674
				rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.6+0.05*math.cos(sine/10),0.6+0.1*math.cos(sine/10),-0.2-0.1*math.cos(sine/10))*CFrame.Angles(math.rad(8+2.5*math.cos(sine/10)),math.rad(22+7*math.cos(sine/10)),math.rad(15+2*math.cos(sine/10))), 0.8)
1675
				rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1676
				larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.6-0.05*math.cos(sine/10),0.6+0.1*math.cos(sine/10),0.2+0.1*math.cos(sine/10))*CFrame.Angles(math.rad(-8-2.5*math.cos(sine/10)),math.rad(12+5*math.cos(sine/10)),math.rad(-12-3*math.cos(sine/10))), 0.8)
1677
				larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1678
				hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.05*math.cos(sine/10))*CFrame.Angles(math.rad(-15+3*math.cos(sine/10)),math.rad(0),math.rad(0)), 0.5)
1679
				hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(20-3*math.cos(sine/10)),math.rad(0)), 0.5)
1680
				torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6+3*math.cos(sine/10)), math.rad(0), 0), 0.1)
1681
				torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0-0.08*math.cos(sine/10), -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20+3*math.cos(sine/10)), 0), 0.1)
1682
				lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.14+0.06*math.cos(sine/10)) * CFrame.Angles(math.rad(-3-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1)
1683
				lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(-10-3*math.cos(sine/10)), math.rad(5+3*math.cos(sine/10))), 0.1)
1684
				rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(8-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1)
1685
				rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(10-3*math.cos(sine/10)), math.rad(-5+3*math.cos(sine/10))), 0.1)
1686
			elseif stanceToggle == "Idle2" then
1687
1688
				corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
1689
				rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65-0.1*math.cos(sine/3),0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20-2*math.cos(sine/3))), 0.1)
1690
				rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
1691
				larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.23, 0.5, -.56) * CFrame.Angles(math.rad(88+4*math.cos(sine/3)), 0, math.rad(45)), 0.6)
1692
				larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
1693
				torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2-0.05*math.cos(sine/3), 0) * CFrame.Angles(math.rad(-10+2*math.cos(sine/6)), 0, 0), 0.8)
1694
				torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
1695
				hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
1696
				--hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-5-10*math.cos(sine/18)), math.sin(sine/36)/3, 0), 0.3)
1697
				hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1698
				lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.15) * CFrame.Angles(math.rad(-9-2*math.cos(sine/6)), 0, 0), 0.8)
1699
				lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1-0.1*math.cos(sine/3), 0+0.04*math.cos(sine/6)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), 0.8)
1700
				rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56-2*math.cos(sine/6)), 0, 0), 0.8)
1701
				rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1-0.05*math.cos(sine/3), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), 0.8)
1702
			elseif stanceToggle == "Grabbed" then
1703
				grab = true
1704
				corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
1705
				corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1706
				rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2)
1707
				rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0,0.5, 0)*CFrame.Angles(math.rad(0), math.rad(0),math.rad(0)), 0.2)
1708
				larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),-.5)*CFrame.Angles(math.rad(90+4*math.cos(sine/14)),math.rad(0),math.rad(-80+4*math.cos(sine/14))), 0.3)
1709
				larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0,0.5, 0)*CFrame.Angles(math.rad(0), math.rad(0),math.rad(0)), 0.2)
1710
				hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14+2*math.cos(sine/14)),math.rad(70-4*math.cos(sine/14)),0), 0.3)
1711
				hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1712
				torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
1713
				torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
1714
				lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3)
1715
				lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
1716
				rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
1717
				rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
1718
			end
1719
		elseif animpose == "Walking" then
1720
			if stanceToggle == "Grabbed" then
1721
				corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
1722
				corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1723
				rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(10+7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4)
1724
				rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
1725
				larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120+4*math.cos(sine/2)),math.rad(0),math.rad(-30+4*math.cos(sine/4))), 0.3)
1726
				larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0,0.5, 0)*CFrame.Angles(math.rad(0), math.rad(0),math.rad(0)), 0.2)
1727
				hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.1*math.cos(sine/2))*CFrame.Angles(math.rad(-10+4*math.cos(sine/2)), math.rad(0-8*math.cos(sine/4)/2.3), math.rad(0)),0.4)
1728
				hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.7)
1729
				torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.12*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/2)), math.rad(0+10*math.cos(sine/4)/2.3)+root.RotVelocity.Y/30, math.rad(0)+root.RotVelocity.Y/30), 0.4)
1730
				--rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
1731
				torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
1732
				lleg.Weld.C0 = lleg.Weld.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*AngleThetaL.Z,AngleThetaL.X,(math.sin(sine/4)*3*-AngleThetaL.X)-root.RotVelocity.Y/20),0.8)
1733
				lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
1734
				rleg.Weld.C0 = rleg.Weld.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*-AngleThetaR.Z,AngleThetaR.X,(math.sin(sine/4)*3*AngleThetaR.X)-root.RotVelocity.Y/20),0.8)
1735
				rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
1736
			elseif stanceToggle ~= "Grabbed" then
1737
				change = 1
1738
				corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
1739
				corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1740
		
1741
				rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(10+7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4)
1742
				rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
1743
				larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5+.05*math.cos(sine/2), -math.sin(sine/4)/4)*CFrame.Angles(math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(-10-7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4)
1744
				larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
1745
				hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.1*math.cos(sine/2))*CFrame.Angles(math.rad(-10+4*math.cos(sine/2)), math.rad(0-8*math.cos(sine/4)/2.3), math.rad(0)),0.4)
1746
				hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.7)
1747
				torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.12*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/2)), math.rad(0+10*math.cos(sine/4)/2.3)+root.RotVelocity.Y/30, math.rad(0)+root.RotVelocity.Y/30), 0.4)
1748
				--rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
1749
				torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
1750
				--lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.9-0.24*math.cos(sine/4)/2.8, -0.05 + math.sin(sine/4)/3.4) * CFrame.Angles(math.rad(-5)-math.sin(sine/4)/2.1, math.rad(0-10*math.cos(sine/4)/2.3), 0-root.RotVelocity.Y/20), .4)
1751
				lleg.Weld.C0 = lleg.Weld.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*AngleThetaL.Z,AngleThetaL.X,(math.sin(sine/4)*3*-AngleThetaL.X)-root.RotVelocity.Y/20),0.8)
1752
				lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
1753
				--rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.9+0.24*math.cos(sine/4)/2.8, -0.05 + -math.sin(sine/4)/3.4) * CFrame.Angles(math.rad(-5)+math.sin(sine/4)/2.1, math.rad(0-10*math.cos(sine/4)/2.3), 0-root.RotVelocity.Y/20), .4)
1754
				rleg.Weld.C0 = rleg.Weld.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*-AngleThetaR.Z,AngleThetaR.X,(math.sin(sine/4)*3*AngleThetaR.X)-root.RotVelocity.Y/20),0.8)
1755
				rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
1756
			end
1757
		elseif animpose == "Running" then
1758
			change = 1
1759
			corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
1760
			corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1761
1762
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.24+.6*math.cos(sine/4)/1.4, 0.54, 0+0.8*math.cos(sine/4)) * CFrame.Angles(math.rad(6-140*math.cos(sine/4)/1.2), math.rad(0), math.rad(-20+70*math.cos(sine/4))), 0.2)
1763
			rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36)
1764
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.24+.6*math.cos(sine/4)/1.4, 0.54, 0-0.8*math.cos(sine/4))*CFrame.Angles(math.rad(6+140*math.cos(sine/4)/1.2), math.rad(0), math.rad(20+70*math.cos(sine/4))), 0.2)
1765
			larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1766
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-8+12*math.cos(sine/2)/1.5), math.rad(0+12*math.cos(sine/4)), math.rad(0)),0.2)
1767
			hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.5)
1768
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.2*math.cos(sine/2)/1.7, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/2)/1.5), math.rad(0-12*math.cos(sine/4))-root.RotVelocity.Y/10, math.rad(0)+root.RotVelocity.Y/20), 0.2)
1769
			torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
1770
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.8-0.4*math.cos(sine/4)/2, math.sin(sine/4)/2) * CFrame.Angles(math.rad(-10) + -math.sin(sine/4)/1.2, math.rad(0+12*math.cos(sine/4))+root.RotVelocity.Y/10, 0), .8)
1771
			lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
1772
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8+0.4*math.cos(sine/4)/2, -math.sin(sine/4)/2) * CFrame.Angles(math.rad(-10) + math.sin(sine/4)/1.2, math.rad(0+12*math.cos(sine/4))+root.RotVelocity.Y/10, 0), .8)
1773
			rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
1774
		elseif animpose == "Jumping" then
1775
1776
			corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
1777
			corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1778
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(20)), 0.2)
1779
			rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36)
1780
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-20)), 0.2)
1781
			larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1782
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),math.rad(0),0), 0.2)
1783
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
1784
			torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
1785
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
1786
			lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
1787
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
1788
			rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
1789
		elseif animpose == "Freefalling" then
1790
1791
			corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
1792
			corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1793
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0)*CFrame.Angles(math.rad(-40),math.rad(20),math.rad(50)), 0.2)
1794
			rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36)
1795
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0)*CFrame.Angles(math.rad(110),math.rad(-20),math.rad(-30)), 0.2)
1796
			larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1797
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),math.rad(0),0), 0.2)
1798
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.2)
1799
			torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
1800
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, 0.2) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.2)
1801
			lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
1802
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.6) * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)), 0.2)
1803
			rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
1804
		end
1805
	end
1806
end)
1807
hum.MaxHealth = math.huge
1808
wait(3)
1809
hum.Health = math.huge
1810
1811
coroutine.wrap(function()
1812
	wait(0.1)
1813
	game.Base.CanCollide = false
1814
end)