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