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