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