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