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