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