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