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