function Key(O)if O then O=string.lower(O)if O=="\120"then if on==1 then Tool.Parent.Humanoid.WalkSpeed=CurrentWalkSpeed Tool.Accuracy.Value=Tool.Accuracy.Value+4 Tool.Pose.Value=1 on=0 elseif on==0 then Tool.Parent.Humanoid.WalkSpeed=WalkSpeedWhileCrouching Tool.Accuracy.Value=Tool.Accuracy.Value-4 Tool.Pose.Value=3 on=1 end Crouch(on)end end end function Equip(O)O.KeyDown:connect(Key)end script.Parent.Equipped:connect(Equip)
------------------------

function Key(key)
	if key then
		key = string.lower(key)
		if key == "x" then
			if on == 1 then
				Tool.Parent.Humanoid.WalkSpeed = CurrentWalkSpeed
				Tool.Accuracy.Value = Tool.Accuracy.Value + 4
				Tool.Pose.Value = 1
				on = 0
			elseif on == 0 then
				Tool.Parent.Humanoid.WalkSpeed = WalkSpeedWhileCrouching
				Tool.Accuracy.Value = Tool.Accuracy.Value - 4
				Tool.Pose.Value = 3
				on = 1
			end
			Crouch(on)
		end
	end
end
function Equip(mouse)
	mouse.KeyDown:connect(Key)
end
script.Parent.Equipped:connect(Equip)
