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