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