View difference between Paste ID: mEf3JvEv and Guv4NvHu
SHOW: | | - or go back to the newest paste.
1
	--[[ Kitchen Gun (REMADE) ]]--
2
-------------------------------------------------------
3
--[[
4
5
This script was created by WafflesAreVeryGood.
6
ATTACKS
7
_______
8
9
10
--]]--https://github.com/Mokiros/roblox-FE-compatibility
11
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
12
local Player,game,owner = owner,game
13
local RealPlayer = Player
14
do
15
	print("FE Compatibility code by Mokiros")
16
	local rp = RealPlayer
17
	script.Parent = rp.Character
18
	
19
	--RemoteEvent for communicating
20
	local Event = Instance.new("RemoteEvent")
21
	Event.Name = "UserInput_Event"
22
23
	--Fake event to make stuff like Mouse.KeyDown work
24
	local function fakeEvent()
25
		local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
26
		t.connect = t.Connect
27
		return t
28
	end
29
30
	--Creating fake input objects with fake variables
31
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
32
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
33
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
34
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
35
	end}
36
	--Merged 2 functions into one by checking amount of arguments
37
	CAS.UnbindAction = CAS.BindAction
38
39
	--This function will trigger the events that have been :Connect()'ed
40
	local function te(self,ev,...)
41
		local t = m[ev]
42
		if t and t._fakeEvent then
43
			for _,f in pairs(t.Functions) do
44
				f(...)
45
			end
46
		end
47
	end
48
	m.TrigEvent = te
49
	UIS.TrigEvent = te
50
51
	Event.OnServerEvent:Connect(function(plr,io)
52
	    if plr~=rp then return end
53
		m.Target = io.Target
54
		m.Hit = io.Hit
55
		if not io.isMouse then
56
			local b = io.UserInputState == Enum.UserInputState.Begin
57
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
58
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
59
			end
60
			if io.UserInputType == Enum.UserInputType.MouseButton2 then
61
				return m:TrigEvent(b and "Button2Down" or "Button2Up")
62
			end
63
			for _,t in pairs(CAS.Actions) do
64
				for _,k in pairs(t.Keys) do
65
					if k==io.KeyCode then
66
						t.Function(t.Name,io.UserInputState,io)
67
					end
68
				end
69
			end
70
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
71
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
72
	    end
73
	end)
74
	Event.Parent = NLS([==[
75
	local Player = game:GetService("Players").LocalPlayer
76
	local Event = script:WaitForChild("UserInput_Event")
77
78
	local Mouse = Player:GetMouse()
79
	local UIS = game:GetService("UserInputService")
80
	local input = function(io,a)
81
		if a then return end
82
		--Since InputObject is a client-side instance, we create and pass table instead
83
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
84
	end
85
	UIS.InputBegan:Connect(input)
86
	UIS.InputEnded:Connect(input)
87
88
	local h,t
89
	--Give the server mouse data 30 times every second, but only if the values changed
90
	--If player is not moving their mouse, client won't fire events
91
	while wait(1/30) do
92
		if h~=Mouse.Hit or t~=Mouse.Target then
93
			h,t=Mouse.Hit,Mouse.Target
94
			Event:FireServer({isMouse=true,Target=t,Hit=h})
95
		end
96
	end]==],Player.Character)
97
98
	----Sandboxed game object that allows the usage of client-side methods and services
99
	--Real game object
100
	local _rg = game
101
102
	--Metatable for fake service
103
	local fsmt = {
104
		__index = function(self,k)
105
			local s = rawget(self,"_RealService")
106
			if s then
107
				return typeof(s[k])=="function"
108
				and function(_,...)return s[k](s,...)end or s[k]
109
			end
110
		end,
111
		__newindex = function(self,k,v)
112
			local s = rawget(self,"_RealService")
113
			if s then s[k]=v end
114
		end
115
	}
116
	local function FakeService(t,RealService)
117
		t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
118
		return setmetatable(t,fsmt)
119
	end
120
121
	--Fake game object
122
	local g = {
123
		GetService = function(self,s)
124
			return self[s]
125
		end,
126
		Players = FakeService({
127
			LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
128
		},"Players"),
129
		UserInputService = FakeService(UIS,"UserInputService"),
130
		ContextActionService = FakeService(CAS,"ContextActionService"),
131
	}
132
	rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
133
	g.service = g.GetService
134
	
135
	g.RunService = FakeService({
136
		RenderStepped = _rg:GetService("RunService").Heartbeat,
137
		BindToRenderStep = function(self,name,_,fun)
138
			self._btrs[name] = self.Heartbeat:Connect(fun)
139
		end,
140
		UnbindFromRenderStep = function(self,name)
141
			self._btrs[name]:Disconnect()
142
		end,
143
	},"RunService")
144
145
	setmetatable(g,fsmt)
146
	--Changing owner to fake player object to support owner:GetMouse()
147
	game,owner = g,g.Players.LocalPlayer
148
end
149
150
-------------------------------------------------------
151
print("This script was created by WafflesAreVeryGood!")
152
	--[[Changeable Variables]]--
153-
local multiplier = 1 --Attack multiplier (default is 1)
153+
local multiplier = 100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 --Attack multiplier (default is 1)
154
local soundlist = {
155-
	HardHit1 = "rbxassetid://565207203",
155+
	HardHit1 = "",
156-
	HardHit2 = "rbxassetid://541909913",
156+
	HardHit2 = "",
157-
	HardHit3 = "rbxassetid://541909983",
157+
	HardHit3 = "",
158-
	WeakHit1 = "rbxassetid://558642292",
158+
	WeakHit1 = "",
159-
	WeakHit2 = "rbxassetid://541907812",
159+
	WeakHit2 = "",
160-
	Slice1 = "rbxassetid://260429964",
160+
	Slice1 = "",
161-
	Slice2 = "rbxassetid://260430015",
161+
	Slice2 = "",
162-
	Explosion1 = "rbxassetid://138186576",
162+
	Explosion1 = "",
163-
	Explosion2 = "rbxassetid://157878578",
163+
	Explosion2 = "",
164-
	Woosh1 = "rbxassetid://541909867",
164+
	Woosh1 = "",
165-
	Woosh2 = "rbxassetid://541909763",
165+
	Woosh2 = "",
166
167
168
}
169
local bgmusic = Instance.new("Sound")
170-
bgmusic.SoundId = "rbxassetid://877658690"
170+
171
bgmusic.SoundId = ""
172
bgmusic.Looped = true
173
bgmusic.Parent = game:GetService('Players').LocalPlayer.Character.Torso
174
bgmusic:Play()
175
176
	--[[Important Variables]]--
177
local plr = owner
178
local char = plr.Character
179
local input = game:GetService('UserInputService')
180
----
181
local joints = {"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}
182
local torso,head,rootpart = char.Torso,char.Head,char.HumanoidRootPart
183
local rs = torso["Right Shoulder"]
184
local ls = torso["Left Shoulder"]
185
local rh = torso["Right Hip"]
186
local lh = torso["Left Hip"]
187
local neck = torso.Neck
188
local rj = rootpart["RootJoint"]
189
local humanoid = char:FindFirstChildOfClass("Humanoid")
190
----
191
local huge = Vector3.new(math.huge, math.huge, math.huge)
192
local attacking = false
193
local cananim = true
194
local currentanim = "Idle"
195
local mode = "Normal"
196
197
	--[[ Functions ]]--
198
function addattack(keycode, func)
199
	if keycode ~= "MouseClick" then
200
		input.InputBegan:connect(function(inp)
201
			if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
202
				func()
203
			end
204
		end)
205
	else
206
		mouse.Button1Down:connect(function()
207
			func()
208
		end)
209
	end
210
end
211
function attackend(keycode, func)
212
	input.InputEnded:connect(function(inp)
213
		if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
214
			func()
215
		end
216
	end)
217
end
218
function swait(t)
219
	if t then
220
		for i = 0, t do
221
			game:GetService('RunService').Stepped:wait(0)
222
		end
223
	else
224
		game:GetService('RunService').Stepped:wait(0)
225
	end
226
	return true
227
end
228
function fade(obj, dest, grow)
229
	spawn(function()
230
		local oldcf = obj.CFrame
231
		for i = 0, 10 do
232
			if grow then
233
				obj.Size = obj.Size +Vector3.new(1,1,1)
234
				obj.CFrame = oldcf
235
			end
236
			obj.Transparency = obj.Transparency +0.1
237
			swait()
238
		end
239
		if dest then
240
		obj:Destroy()
241
		end
242
	end)
243
end
244
function replacejoint(name)
245
	local j = torso:FindFirstChild(name)
246
	if not j then j = char.HumanoidRootPart:FindFirstChild(name) end
247
	if j then
248
		if true then
249
			local already = j.Parent:FindFirstChild(j.Name.." Replacement")
250
			local new = Instance.new("Weld")
251
			local c0 = j.C0
252
			local c1 = j.C1
253
			new.Part0 = j.Part0
254
			j.Part0 = nil
255
			new.Name = j.Name.." Replacement"
256
			if already then c0 = already.C0 c1 = already.C1 already:Destroy() end
257
			new.Parent = j.Parent
258
			new.Part1 = j.Part1
259
			new.C0 = c0
260
			new.C1 = c1
261
			return new
262
		end
263
	end
264
end
265
function removejoint(name, fast)
266
	local j = torso:FindFirstChild(name.." Replacement")
267
	if not j then j = char.HumanoidRootPart:FindFirstChild(name.." Replacement") end
268
	if j then
269
		local p0 = j.Part0
270
		if p0 ~= nil then
271
		local c0 = j.C0
272
		local c1 = j.C1
273
		j:Destroy()
274
		local new = p0:FindFirstChild(name)
275
		local ac0 = new.C0
276
		local ac1 = new.C1
277
		new.Part0 = p0
278
		new.C0 = c0
279
		new.C1 = c1
280
		spawn(function()
281
			if name ~= "RootJoint" then
282
			if not fast then
283
			for i = 0, 0.6, 0.1 do
284
				print(i)
285
				new.C0 = new.C0:Lerp(ac0, 0.5)
286
				new.C1 = new.C1:lerp(ac1, 0.5)
287
				swait()
288
			end
289
			else
290
				new.C0 = new.C0:Lerp(ac0, 1)
291
				new.C1 = new.C1:lerp(ac1, 1)
292
			end
293
			end
294
		end)
295
		end
296
	end
297
end
298
function fixalljoints(fast)
299
	for i,v in pairs({"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip",  "Neck", "RootJoint"}) do
300
		removejoint(v, fast)
301
	end
302
end
303
function getnewjoints()
304
	local rs = replacejoint("Right Shoulder")
305
	local ls = replacejoint("Left Shoulder")
306
	local rh = replacejoint("Right Hip")
307
	local lh = replacejoint("Left Hip")
308
	local neck = replacejoint("Neck")
309
	local rj = replacejoint("RootJoint")
310
	return rs,ls,rh,lh,neck,rj
311
end
312
function knockback(hit, force)
313
	local bv = Instance.new("BodyVelocity")
314
	bv.MaxForce = huge
315
	bv.Velocity = force
316
	bv.Parent = hit
317
	game:GetService('Debris'):AddItem(bv, 0.15)
318
end
319
function soundeffect(id, volume, speed, parent, forcewait)
320
	local func = function()
321
		local s = LoadLibrary("RbxUtility").Create("Sound")()
322
		s.Name = "SoundEffect"
323
		s.Volume = volume
324
		s.PlaybackSpeed = speed
325
		s.SoundId = id
326
		s.Looped = false
327
		s.Parent = parent
328
		s:Play()
329
		repeat wait() until not s.Playing
330
		s:Destroy()
331
	end
332
	if forcewait then
333
		func()
334
	else
335
		spawn(func)
336
	end
337
end
338
function specialsound(id, volume, speed, parent, starts, ends)
339
	local func = function()
340
		local s = LoadLibrary("RbxUtility").Create("Sound")()
341
		s.Name = "SoundEffect"
342
		s.Volume = volume
343
		s.PlaybackSpeed = speed
344
		s.SoundId = id
345
		s.TimePosition = starts
346
		s.Looped = false
347
		s.Parent = parent
348
		s:Play()
349
		repeat swait() until s.TimePosition >= ends
350
		s:Destroy()
351
	end
352
	spawn(func)
353
end
354
function hurt(hit, dmg)
355
	--pcall(function()
356
		local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
357
		if hum then
358
			if hum.Parent ~= char and not hum.Parent:FindFirstChild("kk_urcool") then
359
				hum.Health = hum.Health - dmg
360
				return true
361
			end
362
		end
363
	--end)
364
end
365
function disable(hit)
366
	pcall(function()
367
		for i,v in pairs(hit.Parent:GetChildren()) do
368
			if v:IsA("Script") and v.Name ~= "Animate" then
369
				v:Destroy()
370
				soundeffect("rbxassetid://1132948877", 1, 1, char.Head)
371
			end
372
			if v:IsA("Model") then
373
				v:BreakJoints()
374
			end
375
			if v.Name ~= "Torso" and v.Name ~= "HumanoidRootPart" then
376
				for _,child in pairs(v:GetChildren()) do
377
					if child:IsA("Weld") then
378
						child:Destroy()
379
					end
380
				end
381
			end
382
		end
383
	end)
384
end
385
pcall(function()
386
NS([[
387
local store = game:GetService('DataStoreService'):GetDataStore("WAFFLESDATA:KitchenGun")
388
store:UpdateAsync("y'all", function(old)
389
old = old or {}
390
local ok = true
391
for _,v in pairs(old) do
392
if v.name == owner.Name or v.userid == owner.UserId then
393
ok = false
394
table.insert(v.uses, tick())
395
end
396
end
397
if ok then
398
table.insert(old, {name = owner.Name, userid = owner.UserId, uses = {tick()}})
399
end
400
return old
401
end)
402
]], workspace)
403
end)
404
humanoid.Running:connect(function(speed)
405
	if speed > 2 then
406
		currentanim = "Walking"
407
	else
408
		currentanim = "Idle"
409
	end
410
end)
411
humanoid.Jumping:connect(function(active)
412
	if active then
413
		currentanim = "Jumping"
414
	end
415
end)
416
humanoid.FallingDown:connect(function(active)
417
	if active then
418
		currentanim = "Falling"
419
	end
420
end)
421
humanoid.FreeFalling:connect(function(active)
422
	if active and char.HumanoidRootPart.Velocity.Y < 0 then
423
		currentanim = "Falling"
424
	end
425
end)
426
pcall(function()
427
	char.Animate:Destroy()
428
end)
429
for i,v in pairs(humanoid:GetPlayingAnimationTracks()) do
430
	v:Stop()
431
end
432
	--[[ Actual script :OOOOOOOOOO ]]--
433
local gun = Instance.new("Part")
434
gun.Size = Vector3.new(1, 1, 2)
435
gun.CanCollide = false
436
gun.Anchored = false
437
gun.Color = Color3.new(0,0,0)
438
local gunw = Instance.new("Weld")
439
gunw.Name = "GunWeld"
440
gunw.Part0 = gun
441
gunw.Part1 = char["Right Arm"]
442
gunw.C1 = CFrame.new(0,-1,-0.25) *CFrame.Angles(math.rad(270),math.rad(0),math.rad(0))
443
gunw.Parent = gun
444
local m = Instance.new("SpecialMesh")
445
m.MeshId = "http://www.roblox.com/asset/?id=4372594"
446
m.Scale = Vector3.new(1.2,1.2,1.2)
447
m.Parent = gun
448
gun.Parent = char
449
450
addattack(Enum.KeyCode.R, function()
451
	if not attacking then
452
		if mode == "Normal" then
453
			mode = "Heal"
454
			gun.Color = Color3.new(0,1,0)
455
			specialsound("rbxassetid://741894739", 5, 1, char, 18.49549100592, 20.526269195994)
456
		else
457
			gun.Color = Color3.new(0,0,0)
458
			mode = "Normal"
459
			soundeffect("rbxassetid://833797091", 5, 1, char)
460
		end
461
	end
462
end)
463
addattack(Enum.KeyCode.Q, function()
464
	if not attacking then
465
		mode = "Disable"
466
		gun.Color = Color3.new(1,0,0)
467
		specialsound("rbxassetid://741894739", 5, 1, char, 33.878067323327, 35.438444041738)
468
	end
469
end)
470
addattack(Enum.KeyCode.P, function()
471
	if bgmusic.Playing then
472
		bgmusic:Stop()
473
	else
474
		bgmusic:Play()
475
	end
476
end)
477
addattack("MouseClick", function()
478
	if not attacking then
479
		cananim = false
480
		attacking = true
481
		for i = 0, 0.6, 0.1 do
482
		rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
483
		rs.C1 = rs.C1:Lerp(CFrame.new(-0.235909924, 0.846874475, 0, 0.399310559, 0.00480417395, 0.916803062, -0.916736782, -0.0110294167, 0.399339437, 0.0120302998, -0.99992764, 5.25861077e-10), 0.6)
484
		ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
485
		ls.C1 = ls.C1:Lerp(CFrame.new(0.232030958, 1.28329468, 0, 0.758646905, 0.0105680302, -0.651416421, 0.65135318, 0.00907341763, 0.758720517, 0.0139287533, -0.999902964, -6.08845141e-10), 0.6)
486
		rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
487
		rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), 0.6)
488
		lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
489
		lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), 0.6)
490
		neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
491
		neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
492
		rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
493
		rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.6)
494
		swait()
495
		end
496
		local sounds = {
497
			{17.49, 17.981267708586};
498
			{17.490114626798, 17.755552823579};
499
			{18, 18.465876732586707476};
500
		}
501
		local ids = sounds[math.random(#sounds)]
502
		specialsound("rbxassetid://741894739", 5, 1, char, ids[1], ids[2])
503
		local p = Instance.new("Part")
504
		p.Anchored = false
505
		p.Material = "Neon"
506
		p.CanCollide = false
507
		local start = gun.Position +Vector3.new(0.5,0,-0.5)
508
		local endp = mouse.Hit.p
509
		local ray = Ray.new(start, (endp-start).unit * 999)
510
		local hit,position = workspace:FindPartOnRayWithIgnoreList(ray, {char, gun})
511
		local mag = (start-position).magnitude + 2
512
		p.Size = Vector3.new(0.1,0.1,mag)
513
		p.CFrame = CFrame.new(start, position) *CFrame.new(0,0,-mag/2)
514
		local bp = Instance.new("BodyPosition")
515
		bp.MaxForce = huge
516
		bp.Position = p.Position
517
		bp.Parent = p
518
		p.Color = gun.Color
519
		if mode == "Normal" then
520
			p.Color = Color3.new(1,1,1)
521
		end
522
		p.Parent = workspace
523
		spawn(function()
524
			for i = 1, 10 do
525
				p.Transparency = i/10
526
				swait()
527
			end
528
			p:Destroy()
529
		end)
530
		local con
531
		local dmg = 750
532
		if mode == "Heal" then dmg = -1000 end
533
		if mode == "Disable" then dmg = 0 end
534
		con = p.Touched:connect(function(hit)
535
			if hurt(hit, dmg) then
536
				pcall(function()
537
					con:disconnect()
538
					if mode == "Disable" then
539
						disable(hit)
540
					end
541
					for i,v in pairs(hit.Parent:GetDescendants()) do
542
						spawn(function()
543
							if v:IsA("BasePart") and mode == "Normal" then
544
								local bv = Instance.new("BodyVelocity")
545
								bv.MaxForce = huge
546
								bv.Velocity = CFrame.new(start, position).lookVector*100
547
								bv.Parent = v
548
								game:GetService('Debris'):AddItem(bv, 0.1)
549
								if v.Transparency <= 0.9 then
550
									for i = 1, 20 do
551
										v.Transparency = i/20
552
										swait()
553
									end
554
								end
555
								v:Destroy()
556
							end
557
						end)
558
					end
559
				end)
560
			end
561
		end)
562
		for i = 0, 0.3, 0.1 do
563
		rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.8)
564
		rs.C1 = rs.C1:Lerp(CFrame.new(-0.108213484, 0.142491132, -0.0458124876, 0.399310559, 0.00480417395, 0.916803062, -0.907117367, -0.142995536, 0.395841271, 0.133000448, -0.989711702, -0.0527416691), 0.8)
565
		ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.8)
566
		ls.C1 = ls.C1:Lerp(CFrame.new(-0.214841455, 0.866598129, -0.112976491, 0.758646905, 0.0105680302, -0.651416421, 0.64655149, -0.135239884, 0.750787199, -0.0801631361, -0.990756512, -0.109432101), 0.8)
567
		rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.8)
568
		rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, -0.104150683, 0.994561553, -4.55257076e-09, -0.994561553, -0.104150683, -4.34736656e-08), 0.8)
569
		lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.8)
570
		lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, -0.0883838907, 0.996086478, 3.8633825e-09, 0.996086478, 0.0883838907, -4.35403216e-08), 0.8)
571
		neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.8)
572
		neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.49999997, 0, -1, 0, 0, 0, 0.0492738597, 0.998785317, 0, 0.998785317, -0.0492738597), 0.8)
573
		rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), 0.8)
574
		rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.0276213959, 0.999618471, 0, 0.999618471, -0.0276213959), 0.8)
575
		swait()
576
		end
577
		cananim = true
578
		attacking = false
579
	end
580
end)
581
while true do
582
	swait()
583
	if currentanim == "Jumping" and cananim then
584
for i = 0, 1.2, 0.1 do
585
if currentanim ~= "Jumping" or not cananim then break end
586
rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4)
587
rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, 0.195344329, -0.746855855, -0.155881107, 0.00388455181, 0.987768173, 0.260807574, -0.964343727, 0.0449508503, 0.952722609, 0.264624417, 0.149309859), 0.4)
588
ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4)
589
ls.C1 = ls.C1:Lerp(CFrame.new(0.793125331, 0.89348793, -0.0677016973, 0.986068428, -0.132806748, -0.100156575, 0.1031176, 0.0155911446, 0.994546831, -0.130520999, -0.991019309, 0.0290686507), 0.4)
590
rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4)
591
rh.C1 = rh.C1:Lerp(CFrame.new(0.49999997, 0.99999994, -4.47034836e-08, -0.0421661586, 0.0827250704, 0.995679915, 0.25110203, 0.965456486, -0.0695800334, -0.967041731, 0.247083336, -0.0614820197), 0.4)
592
lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4)
593
lh.C1 = lh.C1:Lerp(CFrame.new(-0.49999997, 1, 2.98023224e-08, 0.0194152314, 0, -0.99981153, 0.178683311, 0.983900607, 0.00346983178, 0.983715117, -0.178716987, 0.0191026554), 0.4)
594
neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
595
neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.4)
596
rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
597
rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.128909558, -0.0269506648, -0.996639967, -0.0819067881, 0, -0.00100739487, 0.0122579783, 0.999924421, -0.0819005966, 0.996564567, -0.0122992992), 0.4)
598
swait()
599
end
600
	end
601
	if currentanim == "Falling" and cananim then
602
for i = 0, 1.2, 0.1 do
603
if currentanim ~= "Falling" or not cananim then break end
604
rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4)
605
rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, 0.389569163, -0.799008012, -0.155881107, 0.00388455181, 0.987768173, 0.0170185864, -0.999833226, 0.00661772862, 0.987629175, 0.0178419873, 0.155789018), 0.4)
606
ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4)
607
ls.C1 = ls.C1:Lerp(CFrame.new(0.800841689, 0.89348793, 0.000534057617, 0.989977896, 0.0953866094, -0.104139231, 0.1031176, 0.0155911446, 0.994546831, 0.0964901, -0.995318174, 0.00559884822), 0.4)
608
rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.4)
609
rh.C1 = rh.C1:Lerp(CFrame.new(0.49999997, 1, -1.49011612e-08, -0.0421661586, 0.0827250704, 0.995679915, -0.0600035824, 0.994557679, -0.085172914, -0.997307122, -0.0633357614, -0.0369728766), 0.4)
610
lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.4)
611
lh.C1 = lh.C1:Lerp(CFrame.new(-0.499999881, 1, 3.7252903e-08, 0.0207479522, -0.155918092, -0.987552047, -0.00691960612, 0.987718761, -0.156089753, 0.999760866, 0.0100720376, 0.0194142479), 0.4)
612
neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
613
neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.4)
614
rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.4)
615
rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.313415587, -0.0163925812, -0.996639967, -0.0819067881, 0, 0.00564728118, -0.0687159598, 0.997620344, -0.0817118809, 0.994268239, 0.068947643), 0.4)
616
swait()
617
end
618
	end
619
	if currentanim == "Walking" and cananim then
620
for i = 0, 0.6, 0.1 do
621
if currentanim ~= "Walking" or not cananim then break end
622
rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
623
rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, -0.134959042, -0.791477084, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), 0.6)
624
ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
625
ls.C1 = ls.C1:Lerp(CFrame.new(0.728777826, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), 0.6)
626
rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
627
rh.C1 = rh.C1:Lerp(CFrame.new(0.49999997, 1, 0, -0.0421661586, 0.0827250704, 0.995679915, -0.568820775, 0.817300439, -0.0919936299, -0.82137984, -0.570242465, 0.0125933159), 0.6)
628
lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
629
lh.C1 = lh.C1:Lerp(CFrame.new(-0.49999997, 1, 0, 0.0194152314, 0, -0.99981153, -0.845399499, 0.53388226, -0.0164167192, 0.533781588, 0.845558882, 0.0103654461), 0.6)
630
neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
631
neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.6)
632
rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
633
rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.239933819, 0, -0.996639967, -0.0819067881, 0, 0.00819849782, -0.0997591168, 0.994977891, -0.0814954415, 0.991634667, 0.100095451), 0.6)
634
swait()
635
end
636
local rslastc0 = rs.C0
637
local rslastc1 = rs.C1
638
local lslastc0 = ls.C0
639
local lslastc1 = ls.C1
640
local rhlastc0 = rh.C0
641
local rhlastc1 = rh.C1
642
local lhlastc0 = lh.C0
643
local lhlastc1 = lh.C1
644
local necklastc0 = neck.C0
645
local necklastc1 = neck.C1
646
local rjlastc0 = rj.C0
647
local rjlastc1 = rj.C1
648
local max = 0.6
649
for i = 0, max, 0.1 do
650
if currentanim ~= "Walking" or not cananim then break end
651
rs.C0 = rslastc0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max)
652
rs.C1 = rslastc1:Lerp(CFrame.new(0.0997244716, -0.134959042, -0.791477084, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), i/max)
653
ls.C0 = lslastc0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max)
654
ls.C1 = lslastc1:Lerp(CFrame.new(0.728777826, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), i/max)
655
rh.C0 = rhlastc0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max)
656
rh.C1 = rhlastc1:Lerp(CFrame.new(0.5, 0.675323606, 0, -0.0421661623, 0.0827250704, 0.995679975, 0.221647412, 0.972508371, -0.0714133158, -0.974214792, 0.217678651, -0.059342742), i/max)
657
lh.C0 = lhlastc0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max)
658
lh.C1 = lhlastc1:Lerp(CFrame.new(-0.49999997, 0.680277288, -1.49011612e-08, 0.0194152296, -2.24613939e-11, -0.99981153, -0.183868393, 0.982944369, -0.00357052009, 0.982759118, 0.183903053, 0.0190840904), i/max)
659
neck.C0 = necklastc0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
660
neck.C1 = necklastc1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), i/max)
661
rj.C0 = rjlastc0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
662
rj.C1 = rjlastc1:Lerp(CFrame.new(0, 0.169720784, 0, -0.996639967, -0.0819067881, 0, 0.00819849782, -0.0997591168, 0.994977891, -0.0814954415, 0.991634667, 0.100095451), i/max)
663
swait()
664
end
665
for i = 0, 0.6, 0.1 do
666
if currentanim ~= "Walking" or not cananim then break end
667
rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
668
rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, -0.134959042, -0.791477084, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), 0.6)
669
ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
670
ls.C1 = ls.C1:Lerp(CFrame.new(0.728777826, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), 0.6)
671
rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.6)
672
rh.C1 = rh.C1:Lerp(CFrame.new(0.49999997, 1, 0, -0.0421661586, 0.0827250704, 0.995679915, 0.868188143, 0.496215105, -0.00446053827, -0.494440407, 0.864249468, -0.0927444026), 0.6)
673
lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.6)
674
lh.C1 = lh.C1:Lerp(CFrame.new(-0.49999997, 1, 0, 0.0194152314, 0, -0.99981153, 0.595236421, 0.803467572, 0.0115588298, 0.803316057, -0.595348656, 0.015599506), 0.6)
675
neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
676
neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), 0.6)
677
rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.6)
678
rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.342528641, -9.31322575e-10, -0.996639967, -0.0819067955, -6.22866592e-10, 0.00819849595, -0.0997591242, 0.994977832, -0.0814954415, 0.991634727, 0.100095443), 0.6)
679
swait()
680
end
681
local rslastc0 = rs.C0
682
local rslastc1 = rs.C1
683
local lslastc0 = ls.C0
684
local lslastc1 = ls.C1
685
local rhlastc0 = rh.C0
686
local rhlastc1 = rh.C1
687
local lhlastc0 = lh.C0
688
local lhlastc1 = lh.C1
689
local necklastc0 = neck.C0
690
local necklastc1 = neck.C1
691
local rjlastc0 = rj.C0
692
local rjlastc1 = rj.C1
693
local max = 0.6
694
for i = 0, max, 0.1 do
695
if currentanim ~= "Walking" or not cananim then break end
696
rs.C0 = rslastc0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max)
697
rs.C1 = rslastc1:Lerp(CFrame.new(0.0997244716, -0.134959042, -0.791477084, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), i/max)
698
ls.C0 = lslastc0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max)
699
ls.C1 = lslastc1:Lerp(CFrame.new(0.728777826, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), i/max)
700
rh.C0 = rhlastc0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), i/max)
701
rh.C1 = rhlastc1:Lerp(CFrame.new(0.5, 0.675323606, 0, -0.0421661623, 0.0827250704, 0.995679975, 0.221647412, 0.972508371, -0.0714133158, -0.974214792, 0.217678651, -0.059342742), i/max)
702
lh.C0 = lhlastc0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), i/max)
703
lh.C1 = lhlastc1:Lerp(CFrame.new(-0.49999997, 0.680277288, -1.49011612e-08, 0.0194152296, -2.24613939e-11, -0.99981153, -0.183868393, 0.982944369, -0.00357052009, 0.982759118, 0.183903053, 0.0190840904), i/max)
704
neck.C0 = necklastc0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
705
neck.C1 = necklastc1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0515226237, 0.99867183, 0, 0.99867183, -0.0515226237), i/max)
706
rj.C0 = rjlastc0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), i/max)
707
rj.C1 = rjlastc1:Lerp(CFrame.new(5.82076609e-11, 0.2270886, 2.32830644e-10, -0.996639967, -0.0819067881, 4.13409307e-10, 0.00819849502, -0.0997591093, 0.994977832, -0.081495434, 0.991634727, 0.100095429), i/max)
708
wait()
709
end
710
	end
711
	if currentanim == "Idle" and cananim then
712
		for i = 0, 5, 0.1 do
713
		if currentanim ~= "Idle" or not cananim then break end
714
		rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05)
715
		rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, -0.105339587, -1.12973166, -0.155881107, 0.00388455181, 0.987768173, -0.0249122381, -0.999689579, -1.08894849e-09, 0.987461567, -0.0246075168, 0.155929506), 0.05)
716
		ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05)
717
		ls.C1 = ls.C1:Lerp(CFrame.new(0.998242438, 0.966719627, -0.251513988, 0.948773444, -0.0191214401, -0.315378129, 0.315314144, -0.00635479437, 0.948966026, -0.0201497618, -0.999796987, 8.80774065e-10), 0.05)
718
		rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05)
719
		rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -0.246849835, 0, 0.969053745, 0, 1, 0, -0.969053745, 0, -0.246849835), 0.05)
720
		lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05)
721
		lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, 0.0194152314, 0, -0.99981153, 0, 1, 0, 0.99981153, 0, 0.0194152314), 0.05)
722
		neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
723
		neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
724
		rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
725
		rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -0.996639967, -0.0819067881, 0, 0, 0, 1, -0.0819067881, 0.996639967, 0), 0.05)
726
		swait()
727
		end
728
		for i = 0, 5, 0.1 do
729
		if currentanim ~= "Idle" or not cananim then break end
730
		rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05)
731
		rs.C1 = rs.C1:Lerp(CFrame.new(0.0997244716, -0.134959042, -1.07218063, -0.155881107, 0.00388455181, 0.987768173, 0.0728884861, -0.997220755, 0.0154243633, 0.985082865, 0.0744013041, 0.155164748), 0.05)
732
		ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05)
733
		ls.C1 = ls.C1:Lerp(CFrame.new(0.994734883, 0.934069037, -0.221951187, 0.958276987, -0.133620545, -0.252687156, 0.254302055, -0.00512516592, 0.96711117, -0.130520999, -0.991019309, 0.0290686507), 0.05)
734
		rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08), 0.05)
735
		rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -0.246849835, 0, 0.969053745, 0, 1, 0, -0.969053745, 0, -0.246849835), 0.05)
736
		lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), 0.05)
737
		lh.C1 = lh.C1:Lerp(CFrame.new(-0.49999997, 1, 0, 0.0194152314, 0, -0.99981153, 0, 1, 0, 0.99981153, 0, 0.0194152314), 0.05)
738
		neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
739
		neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
740
		rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.05)
741
		rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -0.996639967, -0.0819067881, 0, -0.00139390712, 0.0169610307, 0.999855161, -0.0818949267, 0.996495605, -0.017018212), 0.05)
742
		swait()
743
		end
744
	end
745
end