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