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