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