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