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