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