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