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