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