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