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