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